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

Re: Sleep patch - Executing Scripts after wake up



A Dilluns 29 Novembre 2004 08:10, Michael Clemens va escriure:
> Hi!
>
> I tested the Sleep patch #4 and it works perfectly for me.
> But after wake up, my wlan-stick is unconfigured so I have to run a script
> to bring it up again.
> Is it possible to execute scripts automatically after wake up?

Yes, using pbbuttons you can execute any thing by putting the script in the 
file /etc/power/pmcs-pbbuttonsd.

For example (before the *):

  resume)
    /etc/init.d/laptop-net start
    ;;


bye!



Reply to: