Re: [gpm] Custom scripts location
- From: Richard Hughes <hughsient gmail com>
- To: Lupine <lupine thelupine com>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] Custom scripts location
- Date: Thu, 05 Apr 2007 14:43:14 +0100
On Thu, 2007-04-05 at 13:20 +0000, Lupine wrote:
> I was wondering where the location is for the custom scripts to run
> before/after a successful suspend to RAM (like restart the rc.d
> network
> for example). I looked over the archives and found this thread:
> http://mail.gnome.org/archives/gnome-power-manager-list/2006-December/msg00002.html
> ...which talks about running as a regular user, but that is not what
> I'm
> looking for. I would like root to run these needed scripts.
Check out hal-system-power-hibernate and hal-system-power-suspend, which
for me are located in /usr/lib/hal/scripts/linux/
These get run by HAL. The best way to add a hook is to use a new
pm-utils, but we're still waiting for a release for that.
Hope that helps.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]