[ntp:questions] Re: ntp client over satellite and no CMOS battery

John Pettitt jpp at cloudview.com
Wed Oct 5 01:25:30 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Bob Beers wrote:
> Hi John
> 
> 
>>It sounds like the startup script needs to wait until the net is up
>>before it starts ntpd and then the client app needs to wait until the
>>time is set before it starts. It should be possible with a simple
>>shell script that waits until ping works before it launches ntpd.
> 
> 
> 
> 
> Thanks, yes, that's the general idea. I wondered if anyone was willing
> to share more specific implementation details. What I have so far:
> psuedo-code:
> 
> 

snip

What I'd do is spawn a background job out of rc.local and have that
job just loop until the net is up.  All that messing around with cron
sounds way too complicated.

John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)

iD8DBQFDQyuKaVyA7PElsKkRA1dJAKD8Ka5tD5nd3IJATTfsAi+upxeEigCgixk9
N1uM3zOl58RfLObAKxl/H4Y=
=Joaa
-----END PGP SIGNATURE-----




More information about the questions mailing list