diff options
author | Mike Frysinger | 2008-06-02 20:37:45 +0000 |
---|---|---|
committer | Mike Frysinger | 2008-06-02 20:37:45 +0000 |
commit | 85571d8d01a091c36bbbf13f72c0f8733663f923 (patch) | |
tree | b0075486a8264ea483048e5bb54d967d672a8e87 | |
parent | 6075b2aee08f0ed6e4380c28e8f5152a52fad773 (diff) | |
download | busybox-85571d8d01a091c36bbbf13f72c0f8733663f923.zip busybox-85571d8d01a091c36bbbf13f72c0f8733663f923.tar.gz |
make the help for rtcwake reflect the actual default behavior
-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 2e53213..7e72ad0 100644 --- a/include/usage.h +++ b/include/usage.h @@ -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: standby)" \ + "\n -m,--mode=MODE Set the sleep state (default: suspend)" \ "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" \ "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" \ ) \ diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c index 2b2634f..515f812 100644 --- a/util-linux/rtcwake.c +++ b/util-linux/rtcwake.c @@ -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 "standby" +#define DEFAULT_MODE "suspend" static time_t rtc_time; |