Hello,
I don't want to hijack your thread, but just as a reference here is my solution
with acpid to achieve nearly the same:
/etc/acpid/power:
event=button/power*
action=/sbin/acpishutdown.sh
/sbin/acpishutdown.sh:
#!/bin/sh
if [ -e /tmp/acpibutton ]; then
if [ `/bin/ls /tmp/acpibutton
YUP wrote:
OK, thanks, it's good to know such a thing before installing on Archlinux.
Did you mean set "PowerKeyIgnoreInhibited" to "yes" in
/etc/systemd/logind.conf ?
$ echo HandlePowerKey=ignore >> /etc/systemd/logind.conf
BTW, could you post a link to your bug report on
systemd?
http://l
Lucian Muresan wrote:
What about using this with non-systemd init, does it just work by
actually deactivating or rather replacing acpid?
Just execute the binary. It will work without any configuration.
The default behaviour is to fork to background (classic "Unix daemon").
If you want to run
On 28.03.2013 09:44, YUP wrote:
> OK, thanks, it's good to know such a thing before installing on
> Archlinux. Did you mean set "PowerKeyIgnoreInhibited" to "yes" in
> /etc/systemd/logind.conf ? BTW, could you post a link to your bug report
> on systemd?
What about using this with non-systemd init
OK, thanks, it's good to know such a thing before installing on Archlinux.
Did you mean set "PowerKeyIgnoreInhibited" to "yes" in
/etc/systemd/logind.conf ? BTW, could you post a link to your bug report on
systemd?
Yarema
2013/3/27 Manuel Reimer
> YUP wrote:
>
>> Very cool! Gonna try it. Integ
YUP wrote:
Very cool! Gonna try it. Integration with systemd is very useful.
Would be very useful, but at least the inhibitor thing, which was intented to
block systemd from shutting down the system if the button is pressed, seems to
be broken. So if you use it on systemd-based systems, you h
Very cool! Gonna try it. Integration with systemd is very useful.
Best,
Yarema
On Mar 27, 2013 6:45 PM, "Manuel Reimer" wrote:
> Hello List,
>
> I have written a small daemon, which can replace acpid on VDR systems and
> was written with dedicated VDR systems in mind.
>
> Core Features:
> - Faste
Hello List,
I have written a small daemon, which can replace acpid on VDR systems and was
written with dedicated VDR systems in mind.
Core Features:
- Faster than acpid with all the required external scripts.
- Emergency reboot feature. You don't loose the power button as safe emergency
exit