1#!/bin/sh
2##
3# Bind the gpio-shutdown keycode as Keyboard signal and load it to the
4# keymap during startup.
5##
6case "$1" in
7    start)
8    # Inject the gpio keycode to keymap
9    echo "keycode 116 = KeyboardSignal" | loadkeys
10    ;;
11    *)
12    ;;
13esac
14