1 |
I've reinstalled gentoo from the gentoo repository and now my power |
2 |
button doesn't do a shutdown anymore. What do I have to do to have it |
3 |
issue a shutdown? This is an openrc system. |
4 |
|
5 |
I have this, but it doesn't work: |
6 |
|
7 |
$ cat /etc/acpi/events/powerbtn |
8 |
event=button[ /]power.* |
9 |
action=/sbin/poweroff |
10 |
|
11 |
On a different gentoo system I have, I have just the one line, the |
12 |
action line, in that file and the power-button works fine (whether |
13 |
there's causation there or not, I have no idea :-) ) |
14 |
|
15 |
I generally do /not/ press the power button while in my window manager, |
16 |
but first when I've logged off. Since that wasn't working, I tried |
17 |
inside my window manager ... I got a just a couple of lines that looked |
18 |
like they came from shutdown(), but too few (couldn't read them). |
19 |
|
20 |
Then, on startup, the filesystems needed fscking!!! |