projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bcm63xx: fix entering failsafe through button
[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
insmod gpio_keys_polled
12
fi
13
}
14
15
boot_hook_add preinit_main enable_reset_button
16
17