On Tuesday 03 June 2008, Mike Frysinger wrote: > On Tuesday 03 June 2008, Paulius Zaleckas wrote: > > rtcwake-standby.patch > > Writing "suspend" to /sys/power/state does nothing. > > Even "man rtcwake" says that default should be "standby" :) Ack. I'm quite sure the original code didn't have this bug. ;) > > Signed-off-by: Paulius Zaleckas <paulius.zaleckas@xxxxxxxxxxxx> > > > > diff --git a/sys-utils/rtcwake.c b/sys-utils/rtcwake.c > > index 16e21a0..d1e78f6 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, > > i'm not sure if David is on this list ... in case he isnt, let's cc him ... > -mike > -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html