[OpenWrt-Devel] [PATCH] base-files: For sysfixtime use hwclock if RTC available

Bastian Bittorf bittorf at bluebottle.com
Thu Dec 17 04:42:01 EST 2015


* openwrt at daniel.thecshore.com <openwrt at daniel.thecshore.com> [17.12.2015 10:39]:
> From: Daniel Dickinson <openwrt at daniel.thecshore.com>
> 
> 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).

whats the difference between both mails?

also i suggest for the future:

if [ -e /dev/rtc ]; then
  ...
else
  ...
fi

instead of testing the opposite.

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list