05_reset_button_brcm63xx 278 B

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