summaryrefslogtreecommitdiff
path: root/package/base-files/default/sbin/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/sbin/wifi')
-rwxr-xr-xpackage/base-files/default/sbin/wifi2
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