work around a busybox bug
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Jun 2006 16:24:45 +0000 (16:24 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 Jun 2006 16:24:45 +0000 (16:24 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4075 3c298f89-4303-0410-b956-a3cf2f4a3e73

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