mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
The BusyBox hwclock is really bad at handling, or rather displaying, errors properly. When the kernel signals EINVAL, or ENOENT, it just shows that message on stderr. This patch implements proper RTC load/store at boot/halt with quite some improved error handling suitable for embedded systems. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>