mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:51:07 +02:00
preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19370 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0e35aadb53
commit
059ade4a18
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
enable_leds() {
|
||||
enable_reset_button() {
|
||||
insmod input-core
|
||||
insmod input-polldev
|
||||
insmod gpio_buttons
|
||||
insmod button-hotplug
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main enable_leds
|
||||
boot_hook_add preinit_main enable_reset_button
|
||||
|
||||
|
@ -5,12 +5,12 @@
|
||||
. /lib/ar71xx.sh
|
||||
|
||||
|
||||
preinit_enable_leds() {
|
||||
preinit_enable_reset_button() {
|
||||
insmod input-core
|
||||
insmod input-polldev
|
||||
insmod gpio_buttons
|
||||
insmod button-hotplug
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main preinit_enable_leds
|
||||
boot_hook_add preinit_main preinit_enable_reset_button
|
||||
|
Loading…
x
Reference in New Issue
Block a user