summaryrefslogtreecommitdiff
path: root/init.d/hwclock.in
Commit message (Collapse)AuthorAge
* Fix shebangs in services to point to the correct location of runscriptAndrew Gregory2013-02-23
| | | | | | | | SBINDIR and BINDIR can be set independently of PREFIX. This fixes broken shebangs in service files when SBINDIR is set to something other than PREFIX/sbin Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* Bring Back prefix supportWilliam Hubbs2012-07-26
| | | | | We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* hwclock: set the hardware clock on shutdownWilliam Hubbs2012-02-18
| | | | | | Previously, the default on linux systems was to not set the hardware clock to match the system clock during shutdown. This changes that default to be consistent with *bsd and swclock.
* hwclock: Clarify documentationWilliam Hubbs2012-02-17
| | | | | | | | | | 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
* make shell math operations style more succulentMike Frysinger2011-11-19
| | | | | | | | | | | Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* hwclock: fix typo from an earlier style commitMike Frysinger2011-02-14
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* set timezone if RC_HCTOSYS is not setWilliam Hubbs2011-02-09
| | | | | | | | We need to set the timezone for the system clock even when we allow the kernel to set the time. X-Gentoo-Bug: 248131 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=248131
* add option to disable setting the system clock on boot for linux systemsWilliam Hubbs2011-01-24
| | | | | | | | | | | This commit adds the clock_hctosys option which is used to skip setting the system clock on boot and can be used with a modern linux kernel which has the CONFIG_RTC_HCTOSYS option set to y. I would like to thank Dimitris Mandalidis for the report and for the patch to baselayout-1 on which my changes to openrc are based. X-Gentoo-Bug: 248131 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=248131
* more whitespace cleanupMike Frysinger2011-01-17
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add support for Linux Containers, fixes #202.Roy Marples2009-11-04
| | | | Patch by bug reporter.
* We should use -feature instead of nofeature.Roy Marples2009-07-01
| | | | | | This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
* hwclock now sends help to stderr.Natanael Copa2009-06-12
|
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Style.Roy Marples2009-04-27
|
* hwclock: skip rtc checks if kernel lacks module supportMike Frysinger2008-10-26
| | | | | | | | | Since we only use the result of the device scan to load modules, there is no point in doing the scan if the kernel doesn't support modules in the first place. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Load rtc-cmos if needed, Gentoo #235647 thanks to Robin Johnson.Roy Marples2008-09-27
|
* Rework our folder structure so that we don't have OS specific dirs, making ↵Roy Marples2008-03-25
it easier to share init and conf files per OS.