From: Felix Fietkau Date: Sun, 25 Jun 2006 16:24:45 +0000 (+0000) Subject: work around a busybox bug X-Git-Tag: reboot~30718^2~464 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75e490000274dcc5ffe3ed9ea8763be69fb1c1e8;p=oweals%2Fopenwrt.git work around a busybox bug SVN-Revision: 4075 --- 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