From: Paulius Zaleckas Date: Mon, 9 Jun 2008 09:35:59 +0000 (+0200) Subject: rtcwake: fix the default mode to "standby" X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47bf8ef7f1d084befe2efcdd37a5f7c7c9d9da70;p=util-linux rtcwake: fix the default mode to "standby" Writing "suspend" to /sys/power/state does nothing. Even "man rtcwake" says that default should be "standby" :) Signed-off-by: Paulius Zaleckas Signed-off-by: Karel Zak --- diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c index 16e21a04..d1e78f60 100644 --- a/sys-utils/rtcwake.c +++ b/sys-utils/rtcwake.c @@ -51,7 +51,7 @@ static char *progname; #define SYS_POWER_STATE_PATH "/sys/power/state" #define ADJTIME_PATH "/etc/adjtime" #define DEFAULT_DEVICE "/dev/rtc0" -#define DEFAULT_MODE "suspend" +#define DEFAULT_MODE "standby" enum ClockMode { CM_AUTO,