base-files: diag does not need to insmod any drivers, procd already did it for us
[openwrt/staging/chunkeey.git] / target / linux / brcm63xx / base-files / lib / preinit / 05_reset_button_brcm63xx
1 #!/bin/sh
2
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
13 boot_hook_add preinit_main enable_reset_button
14
15