From 75e490000274dcc5ffe3ed9ea8763be69fb1c1e8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 25 Jun 2006 16:24:45 +0000 Subject: [PATCH] work around a busybox bug SVN-Revision: 4075 --- openwrt/package/base-files/default/sbin/wifi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/package/base-files/default/sbin/wifi b/openwrt/package/base-files/default/sbin/wifi index c983fe0dfa..b8b995bab2 100755 --- a/openwrt/package/base-files/default/sbin/wifi +++ b/openwrt/package/base-files/default/sbin/wifi @@ -37,7 +37,7 @@ config_load wireless for device in $DEVICES; do ( config_get type "$device" type - eval "type setup_$type 2>&- >&-" && { + eval "type setup_$type" 2>/dev/null >/dev/null && { eval "scan_$type '$device'" eval "setup_$type '$device'" && { # TODO: set up network settings