aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rwxr-xr-xnetwork2
1 files changed, 1 insertions, 1 deletions
diff --git a/network b/network
index 2510b58..c23c949 100755
--- a/network
+++ b/network
@@ -32,7 +32,7 @@ ifup()
return 1
fi
# don't bring up an interface that's already up
- [ "`/sbin/ifconfig ${1} 2>/dev/null | grep UP`" ] && return 1
+ [ "`/sbin/ifconfig ${1} 2>/dev/null | grep UP`" ] && return 0
eval iwcfg="\$wlan_${1}"
if [ "$iwcfg" != "" ]; then
/usr/sbin/iwconfig $iwcfg