[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changing HW clock to GMT?



In article <[🔎] Pine.LNX.3.96.980205183331.296D-100000@stalin.thomson.net>,
Tim Thomson <tim.thomson@usa.net> wrote:
>Hi,
>I want to set my hardware clock to GMT. I answered no in the question
>when setting up my system, so my HW clock would be local time. I now want
>to set it to GMT so I don't have to change it when daylight savings kicks
>in.

Set GMT="-u" in /etc/init.d/boot (for bo) or /etc/default/rcS (hamm).

>Also, what tool syncs the hardware clock to the system time? I set my
>system time using netdate, in my ip-up and would like to set my HW clock
>to that and keep it synced. Using clock -w works, but is a pain.

Why is that a pain? clock -u -w (the -u is for UTC) is the only way
to do that.

Or, ofcourse, hwclock --utc -w (hamm).

Mike.
-- 
 Miquel van Smoorenburg |  The dyslexic, agnostic, insomniac lay in his bed
    miquels@cistron.nl  |  awake all night wondering if there is a doG


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: