[asterisk-users] make config update-rc.d

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri Nov 16 11:20:32 CST 2007


On Thu, Nov 15, 2007 at 06:47:04PM +0100, Philipp Kempgen wrote:
> On Debian the Asterisk Makefile does
> 
> /usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .;
> 
> which results in a /etc/rc2.d/S10asterisk being written.
> 
> I think S10 is too early.

And it would also be simpler to use:

  update-rc.d asterisk defaults 10 91

Or, for better numbers:

  update-rc.d asterisk defaults 30 15

Note that on Debian the K scripts are in runlevels 0, 1 and 6.

-- 
               Tzafrir Cohen       
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list