← Commit list

1e93f3c58

Mike Frysinger
Mike Frysinger
2008-06-04
FAILED Duration: 24s

Subject

change default rtcwake mode to match changed behavior in upstream util-linux

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/usage.h+1 -1
@@ -3308,7 +3308,7 @@
"\n -l,--local Clock is set to local time" \
"\n -u,--utc Clock is set to UTC time" \
"\n -d,--device=DEV Specify the RTC device" \
- "\n -m,--mode=MODE Set the sleep state (default: suspend)" \
+ "\n -m,--mode=MODE Set the sleep state (default: standby)" \
"\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \
"\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \
) \
util-linux/rtcwake.c+1 -1
@@ -26,7 +26,7 @@
#define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup"
#define SYS_POWER_PATH "/sys/power/state"
-#define DEFAULT_MODE "suspend"
+#define DEFAULT_MODE "standby"
static time_t rtc_time;