[clug] forcing ntpdate timeout with no network
bn at niasdigital.com
Sun Nov 1 22:26:14 MST 2009
On Mon, 2009-11-02 at 15:53 +1100, Alex Satrapa wrote:
> On 02/11/2009, at 15:35 , Ben Nizette wrote:
> > Not a bad plan, but it appears the "up" scripts get called when ifup
> > is
> > called, whether or not I've got a cable plugged in :-(
> Are you getting an IP address using DHCP? If so, there may be a script
> that the DHCP client invokes that you can hijack to spawn a thread
> which runs ntpdate and then quietly dies?
Ooh, that'd be nice, I'll look in to it. It isn't a complete solution
as the board theoretically may or may not be using DHCP, but in practise
I've never heard of them assigning statically.
More information about the linux