diff --git a/providers/base/bin/suspend.sh b/providers/base/bin/suspend.sh index aa2517896e..52df0212a4 100755 --- a/providers/base/bin/suspend.sh +++ b/providers/base/bin/suspend.sh @@ -10,6 +10,6 @@ if [ "$architecture" = "x86_64" ] || [ "$architecture" = "i386" ]; then checkbox-support-fwts_test -f none -s s3 --s3-device-check --s3-device-check-delay="${STRESS_S3_WAIT_DELAY:-45}" --s3-sleep-delay="${STRESS_S3_SLEEP_DELAY:-30}" rm /tmp/fwts_results.log else - rtcwake -v -d "${RTC_DEVICE_FILE:-rtc0}" -m mem -s "${STRESS_S3_SLEEP_DELAY:-30}" + rtcwake -v -d "${RTC_DEVICE_FILE:-/dev/rtc0}" -m no -s "${STRESS_S3_SLEEP_DELAY:-30}" && systemctl suspend || exit 1 fi