[asterisk-users] Solution init.d scripts for CentOS 4.3
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Jul 29 00:39:10 MST 2006
On Mon, Jul 24, 2006 at 05:09:52PM +1000, Devraj Mukherjee wrote:
> Hi Everyone,
>
> I was having a lot of trouble starting up Asterisk and zaptel using
> the init.d scripts. I have worked on the scripts and now the zaptel
> script so it reads preferences of /etc/sysconfig/zaptel file and
> starts the zap interfaces properly.
If you have a proper zaptel init.d script, the first thing you should do
is get rid of the ztcfg calls on modprobe.
(/me notes http://bugs.digium.com/view.php?id=7613 )
>
> The asterisk init.d script does not load or unload any modules.
>
> Hope this is useful for anyone using CentOS with the same problems.
Just a small OT note: none of those scripts contain proper init.d service
dependency information. Asterisk should depend on networking, /usr,
syslog(?) and , of course, zaptel. Did I miss anything?
zaptel is a tricier one: in some strange cases it needs to run before
starting the network start.
--
Tzafrir Cohen sip:tzafrir at local.xorcom.com
icq#16849755 iax:tzafrir at local.xorcom.com
+972-50-7952406 jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com http://www.xorcom.com
More information about the asterisk-users
mailing list