summaryrefslogtreecommitdiff
path: root/meta-raspberrypi/recipes-bsp/gpio-shutdown/files/bind_gpio_shutdown.tab
diff options
context:
space:
mode:
Diffstat (limited to 'meta-raspberrypi/recipes-bsp/gpio-shutdown/files/bind_gpio_shutdown.tab')
-rw-r--r--meta-raspberrypi/recipes-bsp/gpio-shutdown/files/bind_gpio_shutdown.tab2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-raspberrypi/recipes-bsp/gpio-shutdown/files/bind_gpio_shutdown.tab b/meta-raspberrypi/recipes-bsp/gpio-shutdown/files/bind_gpio_shutdown.tab
new file mode 100644
index 0000000000..00cc4857d8
--- /dev/null
+++ b/meta-raspberrypi/recipes-bsp/gpio-shutdown/files/bind_gpio_shutdown.tab
@@ -0,0 +1,2 @@
+# Action on special keypress (Key Power)
+kb::kbrequest:/sbin/shutdown -t1 -a -h -P now