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

index 9a13e37..c28388d 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 # /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;)
 RDEPENDS = "shadow"
 
-PR = "r24"
+PR = "r25"
 
 SRC_URI = " \
   file://.xinitrc \     
index 2d5015d..3924d29 100644 (file)
@@ -12,6 +12,7 @@ case "$2" in
       if $screensaver_enabled; then
        xset s on
       fi
+      hwclock -u -w
      ;;
      *)
      ;;