Hi all,

I have a quick question about my init scripts.

I start my wireless network with the script

/etc/init.d/net.eth2

which is started by init in the "default" runlevel.

I also have

/etc/init.d/netmount

to mount some samba shares, and which is also started my init in the "default" 
runlevel, but depends on "net" from the line:

local myneed="net"

So, as I understand it, this makes sure that init starts net.eth* before 
starting netmount. That's good. However, eth2 is on a DHCP-enabled connection 
and takes a few seconds to come up after starting the script. By the time 
netmount is started, net.eth2 has not finished coming up, so netmount fails 
and the samba shares are never mounted automatically.

Is there a way to make the netmount script wait for a route to exist before 
attempting to connect?

Thanks!

Pete.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to