diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-04-17 01:40:48 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-04-17 01:40:48 +0000 |
commit | def1992ae3fce74940e869017821eabee5273631 (patch) | |
tree | fc830900e19068058969c1fceac054558dcda08b /chapter07/setclock.xml | |
parent | 42d8cbd77c04689adbe26320e2122569cb17cc77 (diff) |
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
Diffstat (limited to 'chapter07/setclock.xml')
-rw-r--r-- | chapter07/setclock.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml index 994626de6..b68fc317f 100644 --- a/chapter07/setclock.xml +++ b/chapter07/setclock.xml @@ -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 |