mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
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:
parent
42d8cbd77c
commit
def1992ae3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user