diff options
author | Petr Štetiar <ynezz@true.cz> | 2016-11-28 15:12:11 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2016-11-28 15:37:58 +0100 |
commit | b064c5c209e99d97c825ecfab42bc8b2e3bced54 (patch) | |
tree | d1885d0a5695ec8c0c66d9b27790b1331ba80bce /modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua | |
parent | ebb5a90f76a5c4f3876c94dc6215b4c54ceff216 (diff) |
luci-mod-admin-full: Store system time into RTC also
We're currently just setting system time, but we don't set battery
backed RTC. Time in the RTC is only set on the graceful shutdown, which
is quite hard to achieve on embedded devices.
In other words, on systems with battery backed RTC we currently don't
handle following use case properly:
1. Set system time from web UI (sets only system time, but not RTC)
2. Unplug the device from power
Then after the reboot, we've wrong system time again, because time set
in [1] is not saved to battery backed RTC.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua')
0 files changed, 0 insertions, 0 deletions