summaryrefslogtreecommitdiff
path: root/src/usr/bin/disable-powerbutton-daemon
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-05-05 13:30:48 -0400
committerB. Stack <bgstack15@gmail.com>2024-05-05 13:30:48 -0400
commitf75b9f883e4c65019c55d64c907cec98e3a03d4b (patch)
tree56142695c11e213f85512702e340fec9c32160d2 /src/usr/bin/disable-powerbutton-daemon
parentadd disable-powerbutton daemon and tools (diff)
downloadstackrpms-acer-chromebook-master.tar.gz
stackrpms-acer-chromebook-master.tar.bz2
stackrpms-acer-chromebook-master.zip
fix disable-powerbutton-daemon --whoHEADmaster
Diffstat (limited to 'src/usr/bin/disable-powerbutton-daemon')
-rwxr-xr-xsrc/usr/bin/disable-powerbutton-daemon2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/bin/disable-powerbutton-daemon b/src/usr/bin/disable-powerbutton-daemon
index cde67c7..7e47651 100755
--- a/src/usr/bin/disable-powerbutton-daemon
+++ b/src/usr/bin/disable-powerbutton-daemon
@@ -31,4 +31,4 @@ test -f "/etc/sysconfig/${DAEMON_NAME}" && . "/etc/sysconfig/${DAEMON_NAME}"
test -z "${DP_WHAT}" && DP_WHAT="shutdown:sleep:idle:handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch"
test -z "${DP_COMMAND}" && DP_COMMAND="/usr/libexec/stackrpms-acer-chromebook/disable-powerbutton-loop"
export DP_SAFETY_FILE
-elogind-inhibit --what "${DP_WHAT}"--who "disable-powerbutton-daemon" --why "Let power button call logout-manager" --mode=block "${DP_COMMAND}"
+elogind-inhibit --what "${DP_WHAT}" --who "disable-powerbutton-daemon" --why "Let power button call logout-manager" --mode=block "${DP_COMMAND}"
bgstack15