-------- Original Message -------- unfortunately this is not working this is what I have below... I would expect returning one to stop the suspend/hibernate and a normal shutdown will follow... on wakeup (i am doing WoL to one of the NICs) it should not think it is waking from a suspend... but it does and croaks trying to reconstitute the environment. restarting tasks ... done. any ideas why this is not working? thank you, G ----------------------- #!/bin/bash case $1 in hibernate | suspend) shutdown -P -t 15 now & return 1 ;; thaw | resume) echo "Waking up from shutdown" return 1 ;; *) echo "ERROR: used incorrectly." ;; esac ------------------------------ Message: 2 Date: Tue, 30 Mar 2010 08:28:29 +0800 From: Ng Oon-Ee <ngoo...@gmail.com> Subject: Re: [Pm-utils] Substituting "shutdown" for sleep/suspend/hibernate To: gmar...@marzot.net Cc: pm-utils@lists.freedesktop.org Message-ID: <1269908909.12790.0.ca...@localhost.localdomain> Content-Type: text/plain; charset="ISO-8859-9" Off the top of my head, couldn't you just write a script which calls 'shutdown -h now' on the suspend and hibernate events and put it in /etc/pm/sleep.d? On Mon, 2010-03-29 at 17:16 -0700, gmar...@marzot.net wrote: > I have a buggy(i think) motherboard (ga-ep45-ud3p) that does not > appear to support S3(STR) or hibernate... I can get a machine to come > back from true shutdown (shutdown -P now) so I was wondering how I > might make the action for sleep or hibernate be a shutdown (powerdown) > and no complicated resume/thaw... just power back on and boot. > > > thank you very any tips, Giovanni > > _______________________________________________ > Pm-utils mailing list > Pm-utils@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/pm-utils ------------------------------ _______________________________________________ Pm-utils mailing list Pm-utils@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pm-utils End of Pm-utils Digest, Vol 41, Issue 10 **************************************** _______________________________________________ Pm-utils mailing list Pm-utils@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pm-utils