Re: [gpm] how to do custom actions when my ups power is low ?
- From: Richard Hughes <hughsient gmail com>
- To: dapiced videotron ca
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] how to do custom actions when my ups power is low ?
- Date: Mon, 23 Jun 2008 11:06:47 +0100
On Fri, 2008-06-20 at 10:42 -0400, dapiced videotron ca wrote:
> can i tell gnome-power-manager via GUI or CLI to execute a custom
> script "when it remains 5 minutes of ups power" or just before the
> shutdown action, i would like to execute a script.....
5 minutes before is tricky, but when the shutdown call is executed is
easy.
> does this is possible ? if yes please describe command line...
Just edit /usr/lib/hal/scripts/hal-system-power-shutdown and add your
script there.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]