/init/hwclock.conf

http://github.com/brinkman83/bashrc · Config · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · 132aa3db7e5a8cf55168e4866052208a MD5 · raw file

  1. # hwclock - adjust system clock and timezone
  2. #
  3. # The hwclock task adjusts the system clock when the hardware clock is
  4. # set to localtime (e.g. when dual-booting with Windows), and also
  5. # ensures that the system timezone is set so that timestamps are written
  6. # to FAT devices.
  7. description "adjust system clock and timezone"
  8. start on starting mountall
  9. task
  10. script
  11. . /etc/default/rcS
  12. [ "$UTC" = "yes" ] && tz="--utc" || tz="--localtime"
  13. [ "$BADYEAR" = "yes" ] && badyear="--badyear"
  14. exec hwclock --systz $tz --noadjfile $badyear
  15. end script