Linux mint slow shut down

Linux Mint 17 Mate

To get rid of the slow shut down I changed

open

/etc/acpi/powerbtn.sh

By inserting “/sbin/shutdown -h now” before the first if-then part this is avoided.

Unfortunatey, this also caused the power button to only shutdown the computer, not ask what to do.