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

. /lib/brcm63xx.sh

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

boot_hook_add preinit_main enable_reset_button