[Asterisk-Users] ztcfg doesn't do anything from /etc/rc.d/rc.local
Chris
listmail at odisok.net
Sat Apr 23 11:12:41 MST 2005
You need this before wcfxs
/sbin/modprobe zaptel
Regards,
Chris
----- Original Message -----
From: "Remco Barende" <asterisk at barendse.to>
To: "Asterisk Users List" <asterisk-users at lists.digium.com>
Sent: Saturday, April 23, 2005 12:55 PM
Subject: [Asterisk-Users] ztcfg doesn't do anything from /etc/rc.d/rc.local
> I'm setting up asterisk and want everything to load on startup. The distro
> I'm using is a RHEL4 rebuild (CentOS4).
>
> Because the zaptel init script doesn't work I'm trying to set everything
> up from rc.local. However asterisk fails to start with an error that the
> zap device isn't loaded.
>
> This is what I do in rc.local:
> /sbin/modprobe wcfxs
> sleep 2
> /sbin/ztcfg -vvvvvvvv
> sleep 5
> /etc/rc.d/init.d/asterisk start
>
> Zaptel does display that it has configured the 2 channels but in fact, it
> didn't. When I re-run ztcfg then asterisk does start.
>
> Why does it do this?
>
> Thanks!
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list