Re: [patch] rtcwake: fix default suspend value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" :)
>
> 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

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux