summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorPaulius Zaleckas2008-06-09 11:35:59 +0200
committerKarel Zak2008-06-09 12:49:00 +0200
commit47bf8ef7f1d084befe2efcdd37a5f7c7c9d9da70 (patch)
treec22321bd4e2bfbc056d2bb407e69f99745fb1395 /sys-utils
parentmount: fix a small typo in mount.8 (diff)
downloadkernel-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.c2
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,