mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
linux: move init script to busybox
This commit is contained in:
parent
789922ec12
commit
ab50ef73d9
@ -10,10 +10,7 @@ progress "saving Starttime"
|
||||
|
||||
ADJTIME=/etc/adjtime
|
||||
|
||||
#. /etc/funcs
|
||||
|
||||
if [ -x /sbin/hwclock ]; then
|
||||
make_persistent file ${ADJTIME} /var/data/config/adjtime create
|
||||
[ -r ${ADJTIME} ] && ! ( grep -q "LOCAL" ${ADJTIME} || grep -q "UTC" ${ADJTIME} ) && echo "UTC" >>${ADJTIME}
|
||||
/sbin/hwclock --hctosys
|
||||
/sbin/hwclock --hctosys -f /dev/rtc
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user