Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-09 | One more cleanup pass on hwclock factoring out common code. | Rob Landley | |
2015-02-09 | Inline rtc_open() and get_rtc_seconds(), perform resulting cleanups. | Rob Landley | |
2015-02-09 | Cleanup/refactoring pass on hwclock. | Rob Landley | |
Inline open_wall_clock_rtc() into rtc_open(), factor out xtzset(), inline set_sysclock_from_hwclock(), set_hwclock_from_sysclock(), and set_sysclock_timezone(). /etc/adjtime is short enough we don't need to bother with a break. The final "else" case in main() should always trigger because >0 in optstr says "at most zero arguments", so the || at the end is always true, so take the test off. | |||
2015-01-20 | fix hwclock's rtc selection | Elliott Hughes | |
For systems using /dev/rtcN, /dev/rtc0 isn't necessarily the RTC that's used to provide the system time at boot time. We need to search for the RTC whose /sys/class/rtc/rtcN/hctosys contains "1". | |||
2014-11-10 | First cleanup pass on hwclock. | Rob Landley | |
2014-11-10 | hwclock: get and set the hwclock | Ashwini Sharma | |