Re: rc(8) regression. What's the story?

[ Available lists | Index of freebsd-current | Month of Aug 2009 | Week of 17 Aug 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Doug Barton <dougb@FreeBSD.org>
Date
17 Aug 2009 03:37:32
Subject
Re: rc(8) regression. What's the story?
Message-ID
4A88D06F.2000408@FreeBSD.org

In reply to

[ Hide this part ]
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


Elapsed time: 0.155 seconds