aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-03-12 13:52:33 +0000
committerJohn Crispin <john@openwrt.org>2013-03-12 13:52:33 +0000
commitfad5f5700eb7de90d4461b471f67eda54d6cf1c3 (patch)
tree47c65aecc86ad52967d7c6bd83dd89989596e773 /target/linux/ar71xx/base-files
parentd0ddec11bb0d0a40691456615c64fa61d9cb5465 (diff)
downloadupstream-fad5f5700eb7de90d4461b471f67eda54d6cf1c3.tar.gz
upstream-fad5f5700eb7de90d4461b471f67eda54d6cf1c3.tar.bz2
upstream-fad5f5700eb7de90d4461b471f67eda54d6cf1c3.zip
make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 35987
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index c44d61e35e..7fd92f5f81 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -186,9 +186,9 @@ set_state() {
case "$1" in
preinit)
- insmod leds-gpio
- insmod ledtrig-default-on
- insmod ledtrig-timer
+ insmod leds-gpio 2> /dev/null
+ insmod ledtrig-default-on 2> /dev/null
+ insmod ledtrig-timer 2> /dev/null
status_led_blink_preinit
;;
failsafe)