aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-28 19:28:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-28 19:28:02 +0000
commit0e84ed29ea6e824e01f24b9f0918e9f28ad583cd (patch)
treebb7234f6f7ef8e541716057597be3d5ca1552ee4 /target/linux/adm5120
parent7417cfdda3528afb5bad75be32bc0df6969e1f6c (diff)
downloadupstream-0e84ed29ea6e824e01f24b9f0918e9f28ad583cd.tar.gz
upstream-0e84ed29ea6e824e01f24b9f0918e9f28ad583cd.tar.bz2
upstream-0e84ed29ea6e824e01f24b9f0918e9f28ad583cd.zip
preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)
SVN-Revision: 19370
Diffstat (limited to 'target/linux/adm5120')
-rw-r--r--target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120 (renamed from target/linux/adm5120/base-files/lib/preinit/05_enable_leds_adm5120)4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120/base-files/lib/preinit/05_enable_leds_adm5120 b/target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120
index 01b2f7ea12..44f164adb6 100644
--- a/target/linux/adm5120/base-files/lib/preinit/05_enable_leds_adm5120
+++ b/target/linux/adm5120/base-files/lib/preinit/05_reset_button_adm5120
@@ -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