brcm63xx: Added preinit reset button module loading for devices known to support...
[openwrt.git] / target / linux / brcm63xx / base-files / lib / preinit / 05_reset_button_brcm63xx
1 #!/bin/sh
2
3 . /lib/brcm63xx.sh
4
5 enable_reset_button() {
6         if [ "$brcm63xx_has_reset_button" = "true" ]; then
7                 insmod input-core
8                 insmod input-polldev
9                 insmod gpio_buttons
10                 insmod button-hotplug
11         fi
12 }
13
14 boot_hook_add preinit_main enable_reset_button
15
16