base-files: diag does not need to insmod any drivers, procd already did it for us
authorJohn Crispin <john@openwrt.org>
Fri, 21 Jun 2013 16:53:43 +0000 (16:53 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 21 Jun 2013 16:53:43 +0000 (16:53 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36999

target/linux/adm5120/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/diag.sh
target/linux/avr32/base-files/etc/diag.sh
target/linux/brcm63xx/base-files/etc/diag.sh
target/linux/cns21xx/base-files/etc/diag.sh
target/linux/mpc85xx/base-files/etc/diag.sh
target/linux/ramips/base-files/etc/diag.sh

index dede589ce3b0c5dc2e2618d831157c21fcb56911..f1317c5574d70a34bdb994a0ba94f239671200f5 100755 (executable)
@@ -7,7 +7,6 @@
 set_state() {
        case "$1" in
        preinit)
-               insmod leds-gpio
                status_led_blink_preinit
                ;;
        failsafe)
index 7b6421b1dfa337d3b3d18e6b8282dee7a6900f7e..72390c0f0c7889e694fee7b1324efe292c9536a0 100755 (executable)
@@ -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)
index ea20f98ccb8f5f0d0f18c3ea4abef0eac8377d31..f7604ae7158d6298fcb67cfdb1c4e282eff6ddfb 100755 (executable)
@@ -8,7 +8,6 @@ set_state() {
 
        case "$1" in
        preinit)
-               insmod leds-gpio
                status_led_blink_preinit
                ;;
 
index a03f89dc31c55bf4f50d727a1c4c0f1729c55653..bbf5c0b2e8ecda07899664d0db4abfe454c26460 100755 (executable)
@@ -7,7 +7,6 @@
 set_state() {
        case "$1" in
        preinit)
-               insmod leds-gpio
                status_led_set_timer 200 200
                ;;
        failsafe)
index e5b7ad5e3d435bba462beb8582826d4a46998e1d..292ddb757ad13de0c00d193ae1fd8c8666065ee3 100755 (executable)
@@ -17,7 +17,6 @@ set_state() {
 
        case "$1" in
        preinit)
-               insmod leds-gpio
                status_led_blink_preinit
                ;;
        failsafe)
index bb7f668c08bb9a093566f5d048ea9ee1851013b9..123a90dbaec274e93978d08e0770836e3fc49bb2 100755 (executable)
@@ -17,10 +17,6 @@ set_state() {
 
        case "$1" in
        preinit)
-               insmod leds-gpio
-               insmod ledtrig-default-on
-               insmod ledtrig-timer
-
                status_led_blink_preinit
                ;;
 
index 894be0f5e662b03676ab9cd52a6dd7fd714c655a..cc426b74c606c56fa706a24bff1a0598fc4fcb3a 100755 (executable)
@@ -143,7 +143,6 @@ set_state() {
 
        case "$1" in
        preinit)
-               insmod leds-gpio 2> /dev/null
                status_led_blink_preinit
                ;;
        failsafe)