On 27 Feb 2014 08:06, "Lee" <ny6...@gmail.com> wrote:
>
> Hi, I always need to reconnect my laptop pcmcia wireless card to my WAP
when awaking from suspend. It would be nice if I could add two commands,
ifconfig and dhpcd, to the script which controls awaking from suspend.
Anyone know which file I can edit?

I don't exactly remember, but I think Hibernate-script allows to do this.
There are configuration files which state commands to be executed during
various events.

You can also tweak acpid script. Ask acpid to listen on power button event
and setup a script which calls your routine and then pm-suspend

Reply via email to