PageRenderTime 93ms CodeModel.GetById 91ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/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
 8description	"adjust system clock and timezone"
 9
10start on starting mountall
11
12task
13
14script
15    . /etc/default/rcS
16    [ "$UTC" = "yes" ] && tz="--utc" || tz="--localtime"
17    [ "$BADYEAR" = "yes" ] && badyear="--badyear"
18    exec hwclock --systz $tz --noadjfile $badyear
19end script