Writing "suspend" to /sys/power/state does nothing.
Even --help says that default should be "standby" :)

Index: util-linux/rtcwake.c
===================================================================
--- util-linux/rtcwake.c	(revision 22112)
+++ util-linux/rtcwake.c	(working copy)
@@ -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   "suspend"
+#define DEFAULT_MODE   "standby"
 
 static time_t rtc_time;
 

_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to