1
# hwclock - adjust system clock and timezone
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
8
description "adjust system clock and timezone"
10
start on starting mountall
16
[ "$UTC" = "yes" ] && tz="--utc" || tz="--localtime"
17
[ "$BADYEAR" = "yes" ] && badyear="--badyear"
18
exec hwclock --systz $tz --noadjfile $badyear