Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282243 - [documentation] comments in /etc/conf.d/hwclock not clear enough
Summary: [documentation] comments in /etc/conf.d/hwclock not clear enough
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-21 20:58 UTC by Dennis Schridde
Modified: 2009-10-11 07:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2009-08-21 20:58:17 UTC
I think that the comments in /etc/conf.d/hwclock are not clear enough.
You refer to the "hardware clock" also with "system clock" and just plain "clock". Additionaly it is not made clear that the clock variable has nothing to do with the local time / timezone (/etc/localtime).

Proposal:
# Set this to "UTC" if your hardware clock is set to UTC (or GMT,
# Greenwich Mean Time). If that clock is set to the local time, then
# set CLOCK to "local".
# Note that if you dual boot with Windows, then you should set it to "local",
# because Windows always sets the hardware clock to local time.
clock="UTC"

# If you want to set the hardware clock to the current system time (software
# clock) during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon.
clock_systohc="NO"


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2009-10-11 02:07:13 UTC
openrc needs same fix.  ive added the proposed changes to baselayout-1.12.

http://sources.gentoo.org/baselayout/branches/baselayout-1_12/etc/conf.d/clock?r1=3146&r2=3147