First of all, sorry for my bad English.
The power button of my server is located on the top of my machine and my cat always accidently (in purpose?) short press the power button, resulting my unraid to shutdown.
In 6.9.2, I commented a line in /etc/acpi/acpi_handler.sh to disable the power button action, worked fine.
After upgrading to 6.10-RC3 today and I discover that this method is not working anymore. (my cat had shutdown my server twice today)
Below is my acpi_handler.sh
========
#!/bin/sh
# Default acpi script that takes an entry for all actions
IFS=${IFS}/
set $@
case "$1" in
button)
case "$2" in
# power) /sbin/init 0
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
# logger "ACPI group $1 / action $2 is not defined"
;;
esac
========
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.