linux: move init script to busybox

This commit is contained in:
Stephan Raue 2009-09-22 06:56:45 +02:00
parent 789922ec12
commit ab50ef73d9

View File

@ -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