Code: Select all
ntpclient -c 1 -s -h pool.ntp.org &
if [ -x $DISTROOT/sbin/depmod ] ; then
$DISTROOT/sbin/depmod -v -b $SYSROOT
fi
for i in $SYSROOT/etc/init.d/*.init ; do
echo $i " |" `head -c 5 /proc/uptime` "|" >> /tmp/test
sh +x $i start
done
echo "--------- All init.d started after | " `head -c 5 /proc/uptime` "| --------" >> /tmp/test
cat /tmp/test >> /dtv/usb/sda1/test.txt