[LBo] Re: Re: Re: US Daylight Savings Time change
Jim Westbrook
jimw at austin.rr.com
Sat Mar 3 07:17:34 CET 2007
Some years ago a friend gave me this script. It was initially used to
overcome a flaky motherboard which gained or lost as much as five
minutes a day. By having my root crontab run this every morning, at
least the time was right once a day :)
#! /bin/bash
#####
# Set Date/Time from Net
#
# John Dierdorf
# Sun Apr 29 00:16:48 2001
#
# Note: Must be run as root.
#####
# Set the Linux clock (software) from the first time standard to respond.
netdate -l 0 ntp5.tamu.edu time.nist.gov
# If command successful, sync the hardware (BIOS) clock to Linux clock.
[ $? == 0 ] && hwclock -w
JimW
Anerobe wrote:
>Billy Pollifrone wrote:
>
>
>
>>You can use Synaptic to keep your system up to date.
>>
>>
>
>That's not an option as the repos are frozen pending the release of PCLOS
>2007... So I was seeking a manual means... After a few hours of poking
>around I managed to find an upgrade path :) So I believe I'm set... thanks!
>
>
>
More information about the QnA
mailing list