I have changed the power setting to "Do Nothing" when the power button is pressed. See picture.
http://postimage.org/image/ay5425svh/
But the system still shutdown. Then I commented out the power line in /etc/acpi/acpi_handler.sh
Now it is not shutting down the system but prompting me with a dialog to shutdown system or reboot or ...
Code: Select all
#!/bin/sh
# Default acpi script that takes an entry for all actions
IFS=${IFS}/
set $@
case "$1" in
button)
case "$2" in
power) echo "not possible to halt!!!" #/sbin/init 0
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined"
;;
esac