work around a busybox bug
authorFelix Fietkau <nbd@openwrt.org>
Sun, 25 Jun 2006 16:24:45 +0000 (16:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 25 Jun 2006 16:24:45 +0000 (16:24 +0000)
SVN-Revision: 4075

openwrt/package/base-files/default/sbin/wifi

index c983fe0dfaa342121633e5a94594b38c3f2392a2..b8b995bab2d48ec3cab52e878f6d5cc1990108bd 100755 (executable)
@@ -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