rc(8) script -- waiting for the network to become usable

jhell jhell at DataIX.net
Sat May 8 08:06:07 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Mon, 26 Apr 2010 04:08, Jeremy Chadwick wrote:
In Message-Id: <20100426080815.GA41938 at 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-----


More information about the freebsd-rc mailing list