05_reset_button_brcm63xx 252 B

12345678910111213141516
  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. fi
  10. }
  11. boot_hook_add preinit_main enable_reset_button