diff options
author | William Hubbs <williamh@gentoo.org> | 2012-02-17 14:23:54 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-02-17 14:53:37 -0600 |
commit | a21a2c3e32656cf2a153b3cd9f19eb7fae1f3c7a (patch) | |
tree | 6ab7b32ca7ac82ae0eb25f98502afcae4ca82b44 /init.d/hwclock.in | |
parent | a5509d681997321e966e776b6a0e4630aa827595 (diff) |
hwclock: Clarify documentation
The clock_hctosys and clock_systohc settings really do not have anything
to do with running an ntp daemon, so remove that reference from the
documentation.
Reported-by: Milos Ivanovic <milosivanovic@orcon.net.nz>
X-Gentoo-Bug: 401433
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401433
Diffstat (limited to 'init.d/hwclock.in')
-rw-r--r-- | init.d/hwclock.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/hwclock.in b/init.d/hwclock.in index cfb25ae1..7f2323ae 100644 --- a/init.d/hwclock.in +++ b/init.d/hwclock.in @@ -94,7 +94,7 @@ start() "$utc_cmd" != --utc -o \ -n "$clock_args" ]; then - if yesno $clock_hctosys; then + if yesno ${clock_hctosys:-YES}; then _hwclock --hctosys $utc_cmd $clock_args else _hwclock --systz $utc_cmd $clock_args @@ -111,7 +111,7 @@ stop() { # Don't tweak the hardware clock on LiveCD halt. [ -n "$CDBOOT" ] && return 0 - yesno $clock_systohc || return 0 + yesno ${clock_systohc:-NO} || return 0 local retval=0 errstr="" setupopts |