summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx
blob: 0dfca73c220509520cd4f45e86517f508e560a23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

enable_reset_button() {
	if [ "$brcm63xx_has_reset_button" = "true" ]; then
		insmod input-core
		insmod input-polldev
		insmod gpio_buttons
		insmod button-hotplug
		insmod gpio_keys_polled
	fi
}

boot_hook_add preinit_main enable_reset_button