[Asterisk-Users] ztcfg doesn't do anything from /etc/rc.d/rc.local
Remco Barende
asterisk at barendse.to
Sat Apr 23 10:55:00 MST 2005
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!
More information about the asterisk-users
mailing list