/init/hwclock.conf
http://github.com/brinkman83/bashrc · Config · 19 lines · 15 code · 4 blank · 0 comment · 0 complexity · 132aa3db7e5a8cf55168e4866052208a MD5 · raw file
- # hwclock - adjust system clock and timezone
- #
- # The hwclock task adjusts the system clock when the hardware clock is
- # set to localtime (e.g. when dual-booting with Windows), and also
- # ensures that the system timezone is set so that timestamps are written
- # to FAT devices.
- description "adjust system clock and timezone"
- start on starting mountall
- task
- script
- . /etc/default/rcS
- [ "$UTC" = "yes" ] && tz="--utc" || tz="--localtime"
- [ "$BADYEAR" = "yes" ] && badyear="--badyear"
- exec hwclock --systz $tz --noadjfile $badyear
- end script