You are not logged in.
I'm editing the acpi handler.sh script to react to my power button, here is a relevant snippet from the code:
#!/bin/sh
set $*
logger "$1 $2"
case "$1" in
button/power)
logger "$1 $2"
case "$2" in
PWRF)
logger "$1 $2"
;;
*)
logger "ACPI action undefined: $2"
;;
esac
;;
button/lid)
[ ... ]
When i then press power, the log shows a single entry:
Aug 28 11:53:35 localhost logger: button/power PWRF
Which is from the first logger action above case "$1".
Does anyone have a clue why the following actions under button/power don't produce any output? The code below button/lid does work properly, so it seems to be just the power button action misbehaving.
ᶘ ᵒᴥᵒᶅ
Offline
I must've made a typo somewhere because it seems to work now. I'm not really sure where i went wrong though..
ᶘ ᵒᴥᵒᶅ
Offline