View Full Version : [ubuntu] What handles suspend in Jaunty, and where are it's resume scripts?
August 19th, 2009, 03:06 AM
It appears not to be /etc/acpi/resume.d as I've added a (working) script there that doesn't run at wake-up time. So what scripts do run when Jaunty wakes up?
August 19th, 2009, 06:11 PM
C'mon, this should be an easy one for the experts...
August 20th, 2009, 02:13 AM
August 20th, 2009, 02:43 AM
Depends on what you have installed. There is pm-tools under /etc/pm, unless you have installed uswsusp or tuxonice. Check for details in /etc/pm/config.d
August 20th, 2009, 02:50 AM
As a matter of fact it is pm-utils
For those looking (again, Jaunty users--I think they switched over from acpi a release or two ago), you can either add a function like I did to /etc/pm/sleep.d/99laptop-mode, or create a new script. Yes I know it's the "sleep.d" directory, but each script is executed on both cycles with either "suspend" or "resume" passed into it as the first (and only?) argument. Thus most scripts will have a "case" statement.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.