summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-11-15 02:51:52 +0000
committerJudd Vinet <judd@archlinux.org>2005-11-15 02:51:52 +0000
commit2dc0038155b978eb70be482313cc8535dadc436d (patch)
tree211ff698f3b20d73013d70d3f2aad9a87556bf67 /network
parentabdeaf8051aaadb9f5270a14e45481a8d61e0b95 (diff)
added variables for autoloading modules, cleaned up rc.conf a bit
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