diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-06-04 10:33:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-06-04 10:33:33 +0000 |
commit | 1e93f3c5859aeebcca7c0480de2bd038defe8b1c (patch) | |
tree | 9452c908f4a6a146f984a1bc158283b3bc278ff5 | |
parent | 3b162ecdf6955e9610ec051e21b91a3efe48a030 (diff) | |
download | busybox-w32-1e93f3c5859aeebcca7c0480de2bd038defe8b1c.tar.gz busybox-w32-1e93f3c5859aeebcca7c0480de2bd038defe8b1c.tar.bz2 busybox-w32-1e93f3c5859aeebcca7c0480de2bd038defe8b1c.zip |
change default rtcwake mode to match changed behavior in upstream util-linux
-rw-r--r-- | include/usage.h | 2 | ||||
-rw-r--r-- | util-linux/rtcwake.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index 7e72ad03a..2e5321306 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3308,7 +3308,7 @@ | |||
3308 | "\n -l,--local Clock is set to local time" \ | 3308 | "\n -l,--local Clock is set to local time" \ |
3309 | "\n -u,--utc Clock is set to UTC time" \ | 3309 | "\n -u,--utc Clock is set to UTC time" \ |
3310 | "\n -d,--device=DEV Specify the RTC device" \ | 3310 | "\n -d,--device=DEV Specify the RTC device" \ |
3311 | "\n -m,--mode=MODE Set the sleep state (default: suspend)" \ | 3311 | "\n -m,--mode=MODE Set the sleep state (default: standby)" \ |
3312 | "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ | 3312 | "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ |
3313 | "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ | 3313 | "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ |
3314 | ) \ | 3314 | ) \ |
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c index 515f812b3..2b2634f0b 100644 --- a/util-linux/rtcwake.c +++ b/util-linux/rtcwake.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup" | 27 | #define SYS_RTC_PATH "/sys/class/rtc/%s/device/power/wakeup" |
28 | #define SYS_POWER_PATH "/sys/power/state" | 28 | #define SYS_POWER_PATH "/sys/power/state" |
29 | #define DEFAULT_MODE "suspend" | 29 | #define DEFAULT_MODE "standby" |
30 | 30 | ||
31 | static time_t rtc_time; | 31 | static time_t rtc_time; |
32 | 32 | ||