diff --git a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/suspend b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/suspend index 4eedd53a0..2f0df579a 100755 --- a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/suspend +++ b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/suspend @@ -25,18 +25,6 @@ usage() { \n" } -suspend_system_time() { - if [ "$(echo /sys/class/rtc/rtc*)" != "/sys/class/rtc/rtc*" ]; then - hwclock -w - fi -} - -resume_system_time() { - if [ "$(echo /sys/class/rtc/rtc*)" != "/sys/class/rtc/rtc*" ]; then - hwclock -s - fi -} - while getopts "h" c; do case "${c}" in h) usage; exit;; @@ -45,14 +33,12 @@ done if [ -f "${syspower}" ]; then # Pre-suspend actions - suspend_system_time # Suspend the device printf "mem" > ${syspower} sleep .5 # Post-resume actions - resume_system_time else printf "\n[ERROR] File ${syspower} not found\n\n" fi