On Tuesday 01 November 2005 19:14, Philipp Thomas wrote:
> Norbert Müller <[EMAIL PROTECTED]> [Tue, 1 Nov 2005 16:01:49 +0100]:
> >- Create a new file /etc/init.d/dhcp with the following content
> >#! /bin/sh
> ># Copyright (c)
> >#
> ># Author: Norbert Mueller
> >#
> >#
> >### BEGIN INIT INFO
> ># Description:    My attempt on starting dhcpcd, needed because
> > initialization #       of wlan at startup did not work for me
> >### END INIT INFO
> >
> >- Make symbolic link
> >cd /etc/init.d/rc2.d
> >ln -s ../dhcp S12dhcp
> >cd /etc/init.d/rc3.d
> >ln -s ../dhcp S12dhcp
> >cd /etc/init.d/rc5.d
> >ln -s ../dhcp S12dhcp
>
> WRONG! The next time insserv is run these links will be reset.
>
> This is what the 'BEGIN INIT INFO' section is for. From the info given
> there, insserv will determine the right order to start and stop services
> and will set the symlinks accordingly.
>
> See /etc/init.d/skeleton and 'man insserv' for further help how to do it
> correctly.
>
> Philipp

Been there!
Done that!
Still working!

In fact insserv renames the links from S12dhcp to S13dhcp and inserts some 
links with name K09dhcp. So I guess I was lucky :-)

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to