how to have commands run on suspend/resume?

Discussion in 'Acer Aspire One' started by rebuilder, Aug 25, 2008.

  1. rebuilder

    rebuilder

    Joined:
    Aug 20, 2008
    Messages:
    55
    Likes Received:
    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.
     
    rebuilder, Aug 25, 2008
    #1
  2. rebuilder

    Hamza

    Joined:
    Aug 24, 2008
    Messages:
    11
    Likes Received:
    0
    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
     
    Hamza, Aug 28, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.