This fixes systemd hanging on boot if no LAN cable is plugged
in (and thus time not set from NTP) with one core spinning at
100% CPU load.
Signed-off-by: Matthias Reichl <hias@horus.com>
Use systemd-hwdb instead of deprecated udevadm hwdb command
and fix ordering - it should be pulled in by sysinit.target,
not basic.target.
Signed-off-by: Matthias Reichl <hias@horus.com>
libreelec-target-generator replaces the logic previously used
in the initramfs init script and dynamically redirects default.target
if needed.
Signed-off-by: Matthias Reichl <hias@horus.com>
usleep is used by init's functions to create quarter and half second
progress reports. Not worth diving into for what was a 1.2kb savings.
This reverts commit 9e055544be.
Restoring system settings expects a filename of 14 characters followed
by .tar ($DATESTAMP.tar from the backup file the addon creates).
Change to glob onto whatever *.tar file gets put into /storage/.restore/
at the busybox init and system restore level. The addon still creates
and expects the $DATESTAMP.tar file, so users will need to use this
feature by ssh or other method.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>