From: Michael Mrozek Date: Wed, 11 Dec 2013 00:45:58 +0000 (+0100) Subject: op_datetime.sh: Added hwclock -u -w to properly save hardware clock after syncing X-Git-Tag: sz_160~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bbef723bac618099fa379a17e837b2e5e7fd932;p=openpandora.oe.git op_datetime.sh: Added hwclock -u -w to properly save hardware clock after syncing --- diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index d5c1a5c..8635bc8 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "bash sed gawk grep zenity" -PR = "r154" +PR = "r155" SRC_URI = " \ file://op_paths.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_datetime.sh b/recipes/pandora-system/pandora-scripts/op_datetime.sh index b217706..8693dc7 100644 --- a/recipes/pandora-system/pandora-scripts/op_datetime.sh +++ b/recipes/pandora-system/pandora-scripts/op_datetime.sh @@ -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