#!/bin/sh
# /etc/acpi/powerbtn.sh
# Initiates a shutdown when the power putton has been
# pressed.

[ -r /usr/share/acpi-support/power-funcs ] && . /usr/share/acpi-support/power-funcs

# HMD: Force to power off when notified by host.

# If all else failed, just initiate a plain shutdown.
/sbin/shutdown -h now "Power button pressed"
