when UTC=0 run hwclock with --localtime (if not, hwclock will default

to the last used value which may be UTC instead of the desired
localtime)


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@529 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-04-17 01:40:48 +00:00
parent 42d8cbd77c
commit def1992ae3

View File

@ -48,7 +48,10 @@ CLOCKPARAMS="--hctosys"
case "$UTC" in
yes|true|1)
CLOCKPARAMS="$CLOCKPARAMS -u"
CLOCKPARAMS="$CLOCKPARAMS --utc"
;;
no|false|0)
CLOCKPARAMS="$CLOCKPARAMS --localtime"
;;
esac