summaryrefslogtreecommitdiff
path: root/src/etc/sysconfig/disable-powerbutton
blob: 34c1fc3da3fc46aa1260a508cfbe911956ea47c7 (plain)
1
2
3
4
5
6
7
8
# Config file for disable-powerbutton-daemon
# Running that program is designed to suppress the default behavior of the power button which is to shut down immediately.
# DP_WHAT Which elogind-inhibit behaviors to control.
DP_WHAT="shutdown:sleep:idle:handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch"
# DP_COMMAND which program to run, and when this program ends, the inhibition ends.
DP_COMMAND="/usr/libexec/stackrpms-acer-chromebook/disable-powerbutton-loop"
# When this file exists at the end of a sleep loop, the loop ends and therefore the inhibition ends.
DP_SAFETY_FILE=/tmp/stop-disable-powerbutton
bgstack15