diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-06-25 16:24:45 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-06-25 16:24:45 +0000 |
commit | 17598972ed7d0d8be1487e2eea895e8a650703dd (patch) | |
tree | bef5888c9c4f40ba7803b6cf5ea4ca33dc7355fa /package/base-files/default/sbin/wifi | |
parent | 029146716c30b3aaa9a4e4254caef085fd8acc7e (diff) | |
download | upstream-17598972ed7d0d8be1487e2eea895e8a650703dd.tar.gz upstream-17598972ed7d0d8be1487e2eea895e8a650703dd.tar.bz2 upstream-17598972ed7d0d8be1487e2eea895e8a650703dd.zip |
work around a busybox bug
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4075 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/sbin/wifi')
-rwxr-xr-x | package/base-files/default/sbin/wifi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/sbin/wifi b/package/base-files/default/sbin/wifi index c983fe0dfa..b8b995bab2 100755 --- a/package/base-files/default/sbin/wifi +++ b/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 |