diff options
author | B. Stack <bgstack15@gmail.com> | 2024-04-30 17:07:32 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2024-04-30 17:07:32 -0400 |
commit | da13d05a83432f2c0c453d19e6b602b9e6bad610 (patch) | |
tree | 83e435c8b92dc03e5573d7167d3ecacc702bbc0c /src/etc/sysconfig | |
parent | deb should be ready now (diff) | |
download | stackrpms-acer-chromebook-da13d05a83432f2c0c453d19e6b602b9e6bad610.tar.gz stackrpms-acer-chromebook-da13d05a83432f2c0c453d19e6b602b9e6bad610.tar.bz2 stackrpms-acer-chromebook-da13d05a83432f2c0c453d19e6b602b9e6bad610.zip |
add disable-powerbutton daemon and tools
Diffstat (limited to 'src/etc/sysconfig')
-rw-r--r-- | src/etc/sysconfig/disable-powerbutton | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/etc/sysconfig/disable-powerbutton b/src/etc/sysconfig/disable-powerbutton new file mode 100644 index 0000000..34c1fc3 --- /dev/null +++ b/src/etc/sysconfig/disable-powerbutton @@ -0,0 +1,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 |