op_datetime.sh: Added hwclock -u -w to properly save hardware clock after syncing
authorMichael Mrozek <EvilDragon@openpandora.org>
Wed, 11 Dec 2013 00:45:58 +0000 (01:45 +0100)
committerMichael Mrozek <EvilDragon@openpandora.org>
Wed, 11 Dec 2013 00:45:58 +0000 (01:45 +0100)
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_datetime.sh

index d5c1a5c..8635bc8 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r154"
+PR = "r155"
 
 SRC_URI = " \
           file://op_paths.sh \
index b217706..8693dc7 100644 (file)
@@ -77,6 +77,7 @@ case $mainsel in
        --text="Syncing with time server...\nPlease wait a while..." \
        --pulsate
   test -e /etc/init.d/ntpd && sudo /etc/init.d/ntpd start
+  hwclock -u -w
   if $screensaver_enabled; then
     xset s on
   fi