On Thu, Oct 02, 2003 at 11:28:12PM +0100, Ben Edwards wrote: > > On my laptop, I've added the -g switch to ntpd's startup, so the first > > time it syncs, it forcibly resets to the NTP time if that's out of > > bounds. Doing this involved editing /etc/init.d/ntp-simple and adding > > '-- -g' to the end of the start-stop-daemon lines that start ntpd. > > This is definitely the way to go but the script I am using is ntp. Its > using start-stop-daemon, I have tried various things to pass the -g flag > across but with no avail. I include the script below, any ideas? Try making this line > start-stop-daemon --start --quiet --exec '/usr/sbin/ntpd' something like > start-stop-daemon --start --quiet --exec /usr/sbin/ntpd -- -g -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
Attachment:
pgpICKDjcTeFf.pgp
Description: PGP signature