On Wed, 3 Feb 2010 18:31:49 +1100 Daniel Dalton <d.dal...@iinet.net.au> wrote:
> Hi, > > Can someone please advise me how to suspend from the command line? Look at the uswsusp and hibernate packages. > Also when my laptop lid is closed, the system suspends. I'm just on the > command line, no gui is running. I see this in syslog, but am unsure > what program is responsible...? > Feb 3 18:16:58 debian-eeepc kernel: [ 3493.605992] Suspending > console(s) (use no_console_suspend to debug) > > Anyway, on resuming from suspend, does anyone know how I can call a > script once the system is back up again? eg. I want to call > /usr/local/bin/post-suspend. How do I do this when the laptop resumes? I think that this is easy with the hibernate package, but I don't have it installed right now to check. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org