diff options
author | Paulius Zaleckas | 2008-06-09 11:35:59 +0200 |
---|---|---|
committer | Karel Zak | 2008-06-09 12:49:00 +0200 |
commit | 47bf8ef7f1d084befe2efcdd37a5f7c7c9d9da70 (patch) | |
tree | c22321bd4e2bfbc056d2bb407e69f99745fb1395 /sys-utils | |
parent | mount: fix a small typo in mount.8 (diff) | |
download | kernel-qcow2-util-linux-47bf8ef7f1d084befe2efcdd37a5f7c7c9d9da70.tar.gz kernel-qcow2-util-linux-47bf8ef7f1d084befe2efcdd37a5f7c7c9d9da70.tar.xz kernel-qcow2-util-linux-47bf8ef7f1d084befe2efcdd37a5f7c7c9d9da70.zip |
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 <paulius.zaleckas@teltonika.lt>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils')
-rw-r--r-- | sys-utils/rtcwake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c index 16e21a04f..d1e78f60f 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, |