summaryrefslogtreecommitdiff
path: root/init.d/hwclock.in
Commit message (Collapse)AuthorAge
* 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.