Tobias Hunger tobias at
Wed Nov 16 13:52:26 CST 2005

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.

I used to start most of my network services via /etc/network/if-*.d. Shaves a 
few seconds of the boot time and the services do not use resources while 
nobody can connect to them anyway;-)


More information about the ubuntu-devel mailing list