1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh . /lib/brcm63xx.sh enable_reset_button() { if [ "$brcm63xx_has_reset_button" = "true" ]; then insmod input-core insmod input-polldev insmod gpio_buttons insmod button-hotplug fi } boot_hook_add preinit_main enable_reset_button