mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-03 17:50:49 +00:00
brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21628
This commit is contained in:
parent
cc8fba8441
commit
82edb6eafa
@ -0,0 +1,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
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user