On Sat, 05 Feb 2000, Paul Robinson generated:
>Hi guys,
> I'm runnin slackware 3.5. How do I turn of the "hardware set to gmt"
>option for the time/date ?
>I tried going through the setup again to no avail..... is there some conf
>file there which I can modify?
Check out the manpage for date(1), hwclock(8), and adjtimex(8).
You'll probably want to do something like:
# hwclock --set --utc --date="2000/02/05 18:00"
# hwclock --utc --hctosys
# rm /etc/adjtime
This sets the hardware clock to whatever GMT is when you give it the
local time, the next line says update the system with the hardware clock
time, and the last one makes sure you don't get strange clock skews on
each reboot -- that last one had me puzzled for a while.
Oh, you'll also want to make sure /etc/localtime is a symlink to
/usr/share/zoneinfo/Australia/Sydney or similar before you use hwclock
with the --utc option.
One more thing, hwclock is an i386 specific app, and I'm sure others
will be able to give an arch-independent method of doing the above (i
am guessing that it will involve date(1))
--
jamesw
"A 32 bit extension and graphical shell for a 16 bit patch to an 8 bit
operating system originally coded for a 4 bit microprocessor, written by a
2 bit company that can't stand 1 bit of competition."
"What is Windows 95?"
------------------------------
[EMAIL PROTECTED]
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text