Merge "Fix some dependencies for openbox build."
diff --git a/fs/skeleton/etc/init.d/S10time.platform_gfiberlt b/fs/skeleton/etc/init.d/S10time.platform_gfiberlt
index 269649a..09a2da6 100755
--- a/fs/skeleton/etc/init.d/S10time.platform_gfiberlt
+++ b/fs/skeleton/etc/init.d/S10time.platform_gfiberlt
@@ -11,7 +11,7 @@
fi
done
if [ "$lasttime" -gt 0 ]; then
- date +%s -s $lasttime
+ toolbox date +%s -s $lasttime
fi
#TODO(irinams): create the TIME_FILE only when we have a way to approximate
# how much time was spent during reboot to add it to to lasttime
diff --git a/fs/skeleton/etc/init.d/S10time.platform_gfibertv b/fs/skeleton/etc/init.d/S10time.platform_gfibertv
index b0a40ec..9977020 100755
--- a/fs/skeleton/etc/init.d/S10time.platform_gfibertv
+++ b/fs/skeleton/etc/init.d/S10time.platform_gfibertv
@@ -8,7 +8,7 @@
echo "UTC" > /tmp/TZ
if [ -s $ANTIROLLBACK ]; then
- date +%s -s "$(cat $ANTIROLLBACK)"
+ toolbox date +%s -s "$(cat $ANTIROLLBACK)"
fi
toolbox dmesg | grep ' T: ' | (
@@ -21,7 +21,7 @@
done
if [ "$lasttime" -gt 0 ]; then
echo "Approximate time carried from last boot: $lasttime"
- date +%s -s $lasttime
+ toolbox date +%s -s $lasttime
fi
#TODO(irinams): create the TIME_FILE only when we have a way to approximate
# how much time was spent during reboot to add it to to lasttime