Re: NTP bootscript

2005-09-13 Thread Simon Geard
On Mon, 2005-09-12 at 12:00 -0700, Brandin Creech wrote: Here is a generic method to implement a timeout in BASH. Suppose you have a script that potentially takes a long time to execute. Such a script looks like this: Looks good - I use something similar at work to scp a file to a bunch of

Re: NTP bootscript

2005-09-13 Thread Brandin Creech
--- Simon Geard [EMAIL PROTECTED] wrote: On Mon, 2005-09-12 at 12:00 -0700, Brandin Creech wrote: Here is a generic method to implement a timeout in BASH. Looks good - I use something similar at work to scp a file to a bunch of other machines from a cron job. pid=$! #pid of last

Re: NTP bootscript

2005-09-12 Thread HAUTZ Gilles
I think the timeout is the best solution, but how to implement that with the bootscript ? Andrew Benton a écrit : HAUTZ Gilles wrote: Hi all, I've discovered a bug in the ntp boot script. If there is no network connectivity or a DNS problem. The computer won't boot and stay at NTP

Re: NTP bootscript

2005-09-12 Thread Brandin Creech
--- HAUTZ Gilles [EMAIL PROTECTED] wrote: Andrew Benton a écrit : HAUTZ Gilles wrote: Hi all, I've discovered a bug in the ntp boot script. If there is no network connectivity or a DNS problem. The computer won't boot and stay at NTP starting. Maybe it would just be simpler

RE: NTP bootscript

2005-09-12 Thread David Fix
Here is a generic method to implement a timeout in BASH. SNIP NICE! *applause* Dave -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page

NTP bootscript

2005-09-09 Thread HAUTZ Gilles
Hi all, I've discovered a bug in the ntp boot script. If there is no network connectivity or a DNS problem. The computer won't boot and stay at NTP starting. I think we should first check that we can reach the ntp server before trying to start ntpd. I know that RH try first to ntpdate the