From 0e84ed29ea6e824e01f24b9f0918e9f28ad583cd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 28 Jan 2010 19:28:02 +0000 Subject: [PATCH] preinit: fix mixup between led and reset button enable on some platforms (thx, cshore) SVN-Revision: 19370 --- .../{05_enable_leds_adm5120 => 05_reset_button_adm5120} | 4 ++-- .../{05_enable_leds_ar71xx => 05_enable_reset_button_ar71xx} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename target/linux/adm5120/base-files/lib/preinit/{05_enable_leds_adm5120 => 05_reset_button_adm5120} (58%) rename target/linux/ar71xx/base-files/lib/preinit/{05_enable_leds_ar71xx => 05_enable_reset_button_ar71xx} (62%) 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 similarity index 58% rename from target/linux/adm5120/base-files/lib/preinit/05_enable_leds_adm5120 rename to 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 diff --git a/target/linux/ar71xx/base-files/lib/preinit/05_enable_leds_ar71xx b/target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx similarity index 62% rename from target/linux/ar71xx/base-files/lib/preinit/05_enable_leds_ar71xx rename to target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx index 0b130fbf2c..2b4e4adb53 100644 --- a/target/linux/ar71xx/base-files/lib/preinit/05_enable_leds_ar71xx +++ b/target/linux/ar71xx/base-files/lib/preinit/05_enable_reset_button_ar71xx @@ -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 -- 2.30.2