openwrt-owl/package/base-files/files/etc/init.d
John Crispin e2fd1adaf5 base-files: For sysfixtime use hwclock if RTC available
On systems that have an RTC prefer it to the file-based time fixup (i.e.
use hwclock when there is a permanent clock instead of the faked up time
logic that is needed when there is not RTC).

We can't rely on hctosys kernel feature either as we're usually using
RTC as kernel modules which are usually being loaded after hctosys was
run, leading in the following error:

  hctosys: unable to open rtc device (rtc0)

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 48661
2016-02-08 08:25:53 +00:00
..
boot base-file: remove /tmp/.jail (now useless) 2015-12-11 15:06:31 +00:00
done fstools: update to the latest version, makes interrupted first boot more reliable 2015-03-22 15:11:27 +00:00
gpio_switch base-files: implemented basic GPIO control 2015-07-08 14:25:52 +00:00
led base-files: use max_brightness to set LED 2015-12-11 15:06:11 +00:00
sysctl sysctl: read settings from /etc/sysctl.d/*.conf 2015-07-07 13:47:23 +00:00
sysfixtime base-files: For sysfixtime use hwclock if RTC available 2016-02-08 08:25:53 +00:00
system base-files: allow timezone to be overriden by zonename (proper zoneinfo support) 2015-12-23 14:44:31 +00:00
umount base-files: fix mount-utils incompatibility 2013-12-27 21:15:09 +00:00