mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
bf2d2eae4e
- Feature is enabled with ENABLE_GPIO_SHUTDOWN variable - Include the gpio-shutdown overlay - If using SysV init include the additional keymap and inittab entries to bind the KEY_POWER event - Systemd init does not require any additional bindings Signed-off-by: Otto Esko <otto.esko@gmail.com>
3 lines
87 B
SQL
3 lines
87 B
SQL
# Action on special keypress (Key Power)
|
|
kb::kbrequest:/sbin/shutdown -t1 -a -h -P now
|