Here is a small tip. For configuring the power button to start shut down sequence when pressed, install "acpid" daemon via apt. This will install the necessary event (/etc/acpi/events/powerbtn) and associated action (/etc/acpi/powerbtn.sh) to be performed upon pressing the power button.
Add new comment