Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "shutdown -h" on Power-button...
Date: Fri, 15 Jul 2005 16:21:49
Message-Id: 42D7E1B5.702@gmail.com
In Reply to: [gentoo-user] "shutdown -h" on Power-button... by Jarry
1 Jarry wrote:
2 > Hi,
3 >
4 > I want to set up my computer so that it would do automatically
5 > "shutdown -h" after short pressing of "power" button.
6 >
7 > Is the only solution to emerge acpid (found on gentoo-forum)?
8 > Would not it be easier with apm?
9 >
10 > Because I remember once in the past having a comp with some other
11 > linux-distro, where I think I did not install acpid, only edited
12 > some file in /etc, and yet after pressing the "power" button it
13 > correctly shutdowned my computer.
14 >
15 > I just want to keep number of running daemons low. It is not
16 > a notebook, so I think it is not worth to have one more daemon
17 > running all the time just because of one possible event-trigger...
18 >
19 > Jarry
20
21 AFAIK your choices are acpid and apmd. Either will do the job as log as it can detect power button events. I wouldn't worry about running the daemon because resource usage is probably quite low.
22
23 Zac
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] "shutdown -h" on Power-button... Richard Fish <bigfish@××××××××××.org>