From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HEkKI-0008Rv-JM for garchives@archives.gentoo.org; Wed, 07 Feb 2007 10:46:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l17AjmOT027228; Wed, 7 Feb 2007 10:45:48 GMT Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l17AdnWN018509 for ; Wed, 7 Feb 2007 10:39:50 GMT Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id E84E81A93ED for ; Wed, 7 Feb 2007 05:39:48 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Wed, 07 Feb 2007 05:39:48 -0500 X-Sasl-enc: bBQYOo8F25CJ6aty2hWU0QLz/YCav+2/IjBJ90xyneek 1170844788 Received: from [10.0.0.105] (80-195-196-69.cable.ubr01.harb.blueyonder.co.uk [80.195.196.69]) by mail.messagingengine.com (Postfix) with ESMTP id 78E11327C5 for ; Wed, 7 Feb 2007 05:39:48 -0500 (EST) From: Peter Lewis To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Network start delay? Date: Wed, 7 Feb 2007 10:37:24 +0000 User-Agent: KMail/1.9.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702071037.24409.prlewis@letterboxes.org> X-Archives-Salt: 8d8771be-2c3a-4a02-b21d-a44ac15d8a2f X-Archives-Hash: 26247c86c85919d56a4c725a5efa0e82 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