This is a discussion on summer time within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Chick Tower <c.tower@deadspam.com> wrote: > Not in the BIOS. When you installed Slackware, it asked you if your clock ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Chick Tower <c.tower@deadspam.com> wrote: > Not in the BIOS. When you installed Slackware, it asked you if your clock > was set to local time or UTC. According to /usr/doc/Linux-HOWTOs/Clock, > this is stored in /etc/adjtime. No, in /etc/hardwareclock. It contains a line "UTC" when the hardware clock is in UTC or only commentlines when it's in localtime: if grep -wq "^UTC" /etc/hardwareclock ; then echo "Setting system time from the hardware clock (UTC)." /sbin/hwclock $CLOCK_OPT --utc --hctosys else echo "Setting system time from the hardware clock (localtime)." /sbin/hwclock $CLOCK_OPT --localtime --hctosys fi (from /etc/rc.d/rc.S). From that moment on the hardware clock isn't used anymore, Linux keeps its own internal time. At shutdown the time is written back the same way TO the hardware clock, to store optional changes (like network time adjusts). -- ************************************************** ****************** ** Eef Hartman, Delft University of Technology, dept. EWI/TW ** ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ************************************************** ****************** |