svn commit: trunk/busybox: include util-linux

vapier at busybox.net vapier at busybox.net
Mon Jun 2 20:37:45 UTC 2008


Author: vapier
Date: 2008-06-02 13:37:45 -0700 (Mon, 02 Jun 2008)
New Revision: 22187

Log:
make the help for rtcwake reflect the actual default behavior

Modified:
   trunk/busybox/include/usage.h
   trunk/busybox/util-linux/rtcwake.c


Changeset:
Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h	2008-06-02 19:23:47 UTC (rev 22186)
+++ trunk/busybox/include/usage.h	2008-06-02 20:37:45 UTC (rev 22187)
@@ -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" \
 	) \

Modified: trunk/busybox/util-linux/rtcwake.c
===================================================================
--- trunk/busybox/util-linux/rtcwake.c	2008-06-02 19:23:47 UTC (rev 22186)
+++ trunk/busybox/util-linux/rtcwake.c	2008-06-02 20:37:45 UTC (rev 22187)
@@ -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;
 




More information about the busybox-cvs mailing list