Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
2edf0648b7c401072e7183c7f9e0e7c437e5f3f0
/
.
/
meta-raspberrypi
/
recipes-bsp
/
gpio-shutdown
/
files
/
gpio-shutdown-keymap.sh
blob: bae50daf14cdb3c95e486ef5e6a25f01e0c44ee1 [
file
] [
log
] [
blame
]
#!/bin/sh
##
# Bind the gpio-shutdown keycode as Keyboard signal and load it to the
# keymap during startup.
##
case
"$1"
in
start
)
# Inject the gpio keycode to keymap
echo
"keycode 116 = KeyboardSignal"
|
loadkeys
;;
*)
;;
esac