I have Debian testing installed on a machine with two network cards.
On boot these cards take some time to become operational. Because of this some daemons fail to start (most notably dhcpd) since the network interface they need is not available yet.
To remedy this problem I have created a simple script in /etc/init.d called delay which simply contains:
echo Delaying boot by 30 seconds so eth0 and eth1 can come up properly...
Then I have created a symlink in /etc/rcS.d to this script. I call the symlink S41delay since the network should be available after S40 according to documentation.
This actually works. But the question is: Is there a better / more correct way of doing this?