Date: Sun, 16 Aug 2009 20:37:19 -0700 From: Doug Barton <dougb@FreeBSD.org> To: David Wolfskill <david@catwhisker.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: rc(8) regression. What's the story? Message-ID: <4A88D06F.2000408@FreeBSD.org> In-Reply-To: <20090817025829.GH74242@bunrab.catwhisker.org> References: <F61821DF-7187-4C00-A691-0E4D88E83D4F@mac.com> <E04E14BF-8749-47CF-9D47-B5D5AD6A0B6E@lassitu.de> <90E06EA7-4D27-411C-962F-BBCB6D6A13C6@mac.com> <4A88C31C.70204@haruhiism.net> <20090817025829.GH74242@bunrab.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
David Wolfskill wrote: > * Create a new rc.d script that sleeps until an IP address is assigned. > > I think the latter would be most flexible, as the appropriate keywords > could be specified for precisely those rc.d/* scripts that actually need > an IP address in order to function, though implementing it might > engender rather more churn in /etc/rc.d/* than folks might prefer. This is definitely the preferred solution, and has been discussed in the past on the rc.d list. One way to implement this would be to specify a default address to ping, and make it overridable, similar to how I did the named_wait feature. Bonus points if the user has ntpd enabled and we can pick one of the server lines from ntp.conf at random. Doug -- This .signature sanitized for your protection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A88D06F.2000408>