From e6ef318802935389283e3614df31ca6d36a5f7bf Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 21 Jun 2013 16:53:43 +0000 Subject: [PATCH] base-files: diag does not need to insmod any drivers, procd already did it for us Signed-off-by: John Crispin SVN-Revision: 36999 --- target/linux/adm5120/base-files/etc/diag.sh | 1 - target/linux/ar71xx/base-files/etc/diag.sh | 3 --- target/linux/avr32/base-files/etc/diag.sh | 1 - target/linux/brcm63xx/base-files/etc/diag.sh | 1 - target/linux/cns21xx/base-files/etc/diag.sh | 1 - target/linux/mpc85xx/base-files/etc/diag.sh | 4 ---- target/linux/ramips/base-files/etc/diag.sh | 1 - 7 files changed, 12 deletions(-) diff --git a/target/linux/adm5120/base-files/etc/diag.sh b/target/linux/adm5120/base-files/etc/diag.sh index dede589ce3..f1317c5574 100755 --- a/target/linux/adm5120/base-files/etc/diag.sh +++ b/target/linux/adm5120/base-files/etc/diag.sh @@ -7,7 +7,6 @@ set_state() { case "$1" in preinit) - insmod leds-gpio status_led_blink_preinit ;; failsafe) diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 7b6421b1df..72390c0f0c 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -192,9 +192,6 @@ set_state() { case "$1" in preinit) - insmod leds-gpio 2> /dev/null - insmod ledtrig-default-on 2> /dev/null - insmod ledtrig-timer 2> /dev/null status_led_blink_preinit ;; failsafe) diff --git a/target/linux/avr32/base-files/etc/diag.sh b/target/linux/avr32/base-files/etc/diag.sh index ea20f98ccb..f7604ae715 100755 --- a/target/linux/avr32/base-files/etc/diag.sh +++ b/target/linux/avr32/base-files/etc/diag.sh @@ -8,7 +8,6 @@ set_state() { case "$1" in preinit) - insmod leds-gpio status_led_blink_preinit ;; diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh index a03f89dc31..bbf5c0b2e8 100755 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ b/target/linux/brcm63xx/base-files/etc/diag.sh @@ -7,7 +7,6 @@ set_state() { case "$1" in preinit) - insmod leds-gpio status_led_set_timer 200 200 ;; failsafe) diff --git a/target/linux/cns21xx/base-files/etc/diag.sh b/target/linux/cns21xx/base-files/etc/diag.sh index e5b7ad5e3d..292ddb757a 100755 --- a/target/linux/cns21xx/base-files/etc/diag.sh +++ b/target/linux/cns21xx/base-files/etc/diag.sh @@ -17,7 +17,6 @@ set_state() { case "$1" in preinit) - insmod leds-gpio status_led_blink_preinit ;; failsafe) diff --git a/target/linux/mpc85xx/base-files/etc/diag.sh b/target/linux/mpc85xx/base-files/etc/diag.sh index bb7f668c08..123a90dbae 100755 --- a/target/linux/mpc85xx/base-files/etc/diag.sh +++ b/target/linux/mpc85xx/base-files/etc/diag.sh @@ -17,10 +17,6 @@ set_state() { case "$1" in preinit) - insmod leds-gpio - insmod ledtrig-default-on - insmod ledtrig-timer - status_led_blink_preinit ;; diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 894be0f5e6..cc426b74c6 100755 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -143,7 +143,6 @@ set_state() { case "$1" in preinit) - insmod leds-gpio 2> /dev/null status_led_blink_preinit ;; failsafe) -- 2.25.1