Norbert Müller <mulno@onlinehome.de> [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