Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 2010 04:05:18 -0400
From:      jhell <jhell@DataIX.net>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-net@freebsd.org, freebsd-rc@freebsd.org
Subject:   Re: rc(8) script -- waiting for the network to become usable
Message-ID:  <alpine.BSF.2.00.1005080401400.55320@pragry.qngnvk.ybpny>
In-Reply-To: <20100426080815.GA41938@icarus.home.lan>
References:  <20100426080815.GA41938@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Mon, 26 Apr 2010 04:08, Jeremy Chadwick wrote:
In Message-Id: <20100426080815.GA41938@icarus.home.lan>

> Foremost, sorry for the cross-post, but more eyes in this case means
> overall more discussion.  Secondly, please keep me CC'd as I'm not on
> either -rc or -net.
>
> I recently proposed addition of a new script to the rc framework which
> verifies (using ping) that layer 3 network connectivity is up/functional
> before continuing on with daemons which require network access:
>
> http://lists.freebsd.org/pipermail/freebsd-stable/2010-April/056400.html
>
> The overall response was positive, with full acknowledgement that this
> is indeed a hack -- yet necessary -- and that something more appropriate
> could probably be introduced into the base system to provide a much
> cleaner solution (launchd was mentioned).
>
> I'd like folks (particularly on -rc) to chime in here, and please see
> about adding this to the base system.
>
> Please note there's one typo in the script (a line which needs to be
> commented out) in my original post which I've since fixed in the version
> that's available via HTTP.
>
> Thank you!
>
>

Thanks for the script Jeremy, this will really come in handy on some 
machines that I want to test for this case. On another note and return 
thanks I have made some modifications so it can be used as just a drop-in 
until its either committed or denied. Also renamed it as to not cause 
confusion with your version and to better fit my schema.

Here it is:
http://code.google.com/p/jhell/source/browse/base/head/scripts/rc.d/netwait/netwait

Regards,

- -- 

  jhell

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iQEcBAEBAgAGBQJL5RtEAAoJEJBXh4mJ2FR+yBwH/11k0MOaPUnlxHSI+txdMg8D
c5UfJzvKe5f5/VHeRpfbANuyM1ve+s2MCOdDT7C5xZ6C12Bb2JseqllXsrS8RrO0
9UwPuNr3pgP5axRSoYa9fnHelPkCNXbsl1xKEHeGHl3XvkvEGxQ5dzRwfWYAvBqx
GxqTVaaQpVIcv8DlXyGCq1pFkyleQT1b9xRhrp3KZDVGUVBiJDjBoTXCeUrm7LZC
ESIkn/ff5JarZfQ3t2/ZyqBt1DrMnbm2v99ZQCuL3Wg2LsGdUtiEs+XBF2lE2/4x
fuW8np1L3Mn0JbWCz1LlVqjHx9Y8BrMRkBA0x/ncHjiVtodOn0NIveskswYCdww=
=dj5G
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1005080401400.55320>