summaryrefslogtreecommitdiff
path: root/usr.sbin/acpid/samples/power-button
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/acpid/samples/power-button')
-rw-r--r--usr.sbin/acpid/samples/power-button3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/acpid/samples/power-button b/usr.sbin/acpid/samples/power-button
new file mode 100644
index 00000000000..38d6b6ab921
--- /dev/null
+++ b/usr.sbin/acpid/samples/power-button
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+shutdown -hp now