On Sat, 5 Nov 2011, Robert Simmons wrote:
On Sat, Nov 5, 2011 at 6:55 PM, Warren Block <wbl...@wonkity.com> wrote:
On Sat, 5 Nov 2011, Robert Simmons wrote:
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?
Yes, it is. FreeBSD 8-STABLE and 9 have /etc/rc.d/netwait just for this.
Thanks, could you elaborate as to how I use netwait at boot to run ntpdate?
Untested:
netwait_enable="YES"
netwait_ip="192.168.1.1" # IP address to ping to verify network is up
netwait_if="em0" # interface to use
Also there's netwait_timeout, which defaults to 60 in
/etc/defaults/rc.conf._______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"