From 3bbef723bac618099fa379a17e837b2e5e7fd932 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Wed, 11 Dec 2013 01:45:58 +0100 Subject: [PATCH] op_datetime.sh: Added hwclock -u -w to properly save hardware clock after syncing --- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_datetime.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5