maihem at maihem.org
Thu Nov 17 16:08:05 CST 2005
Tobias Hunger wrote:
> On Wednesday 16 November 2005 08:06, John Nilsson wrote:
>>why not just "while ! ping -q -c1 $NTPSERVER; do sleep 3; done" if
>>waiting for network is the only problem?
> Or putting a script in /etc/network/if-up.d? That way ntp-date would get run
> as soon as a network goes up.
That would be better, the problem of the polling alternative above is
that of preventing deep sleep modes on machines without routes to $NTPSERVER
I'd love to see all daemons ignore the fact that an interface is down
when they start, and install if-up.d scripts to restart themselves
gracefully when an interface they will listen on comes up.
More information about the ubuntu-devel