summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/sbin
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-25 16:24:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-25 16:24:45 +0000
commit75e490000274dcc5ffe3ed9ea8763be69fb1c1e8 (patch)
tree311f03d1b3337254beca45c9ceee0c142dc91e97 /openwrt/package/base-files/default/sbin
parentbf2ce6070e5e011d3afa910a85a99b26fdf6d851 (diff)
downloadmtk-20170518-75e490000274dcc5ffe3ed9ea8763be69fb1c1e8.zip
mtk-20170518-75e490000274dcc5ffe3ed9ea8763be69fb1c1e8.tar.gz
mtk-20170518-75e490000274dcc5ffe3ed9ea8763be69fb1c1e8.tar.bz2
work around a busybox bug
SVN-Revision: 4075
Diffstat (limited to 'openwrt/package/base-files/default/sbin')
-rwxr-xr-xopenwrt/package/base-files/default/sbin/wifi2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/sbin/wifi b/openwrt/package/base-files/default/sbin/wifi
index c983fe0..b8b995b 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