how to have commands run on suspend/resume?

Joined
Aug 19, 2008
Messages
55
Reaction score
0
Does anyone have any info on how to run commands on suspend/resume on Linpus? I've not been able to make much sense of what I've been able to find out via Google. Basically it seems I need to stop autofs and maybe dismount my sshfs mounts before that before suspending, and then of course on resume I'll need to start autofs up again.
 
I'd also like to run nm-applet on resume, so that I can connect back to my wifi without having to manually re-run it.

I've seen talk on the interweb of an /etc/acpi/resume.d folder with lots of lovely scripts, but alas this doesn't seem to be present in my Linpus. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477917

Anyone?

TIA,
Hamza
 

Latest threads

Back
Top