Re: ntpdate on boot problem

看板FB_questions作者時間14年前 (2011/11/06 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串13/17 (看更多)
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1238987321-1320536430=:28513 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: <alpine.BSF.2.00.1111051741332.28513@wonkity.com> On Sat, 5 Nov 2011, Robert Simmons wrote: > On Sat, Nov 5, 2011 at 6:55 PM, Warren Block <wblock@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. 啫reeBSD 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. ---902635197-1238987321-1320536430=:28513 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ---902635197-1238987321-1320536430=:28513--
文章代碼(AID): #1EjSu-Ve (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1EjSu-Ve (FB_questions)