public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Network start delay?
@ 2007-02-07 10:37 Peter Lewis
  2007-02-07 23:12 ` Iain Buchanan
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Lewis @ 2007-02-07 10:37 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-08 23:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-07 10:37 [gentoo-user] Network start delay? Peter Lewis
2007-02-07 23:12 ` Iain Buchanan
2007-02-08 13:23   ` Peter Lewis
2007-02-08 23:12     ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox