Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame^] | 1 | #!/bin/sh |
2 | ## | ||||
3 | # Bind the gpio-shutdown keycode as Keyboard signal and load it to the | ||||
4 | # keymap during startup. | ||||
5 | ## | ||||
6 | case "$1" in | ||||
7 | start) | ||||
8 | # Inject the gpio keycode to keymap | ||||
9 | echo "keycode 116 = KeyboardSignal" | loadkeys | ||||
10 | ;; | ||||
11 | *) | ||||
12 | ;; | ||||
13 | esac |