aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-10-11 14:30:45 +0000
committerBill Nottingham <notting@redhat.com>2004-10-11 14:30:45 +0000
commit5936ff2424df5881df53adb3f85d3a7335488967 (patch)
tree7bc096fd07ae6666e6931449743ed6a4bbbb941c /sysconfig/network-scripts
parent9360ec6239c0c8daf12ba08a5fb5166a2f41a527 (diff)
downloadinitscripts-5936ff2424df5881df53adb3f85d3a7335488967.tar
initscripts-5936ff2424df5881df53adb3f85d3a7335488967.tar.gz
initscripts-5936ff2424df5881df53adb3f85d3a7335488967.tar.bz2
initscripts-5936ff2424df5881df53adb3f85d3a7335488967.tar.xz
initscripts-5936ff2424df5881df53adb3f85d3a7335488967.zip
fix key for open vs. restricted (#135235, <dax@gurulabs.com>)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless
index 706b8aa2..748cea53 100755
--- a/sysconfig/network-scripts/ifup-wireless
+++ b/sysconfig/network-scripts/ifup-wireless
@@ -59,7 +59,7 @@ if [ -n "$KEY" -o -n "$KEY1" -o -n "$KEY2" -o -n "$KEY3" -o -n "$KEY4" ] ; then
[ -n "$KEY3" ] && iwconfig $DEVICE key [3] $KEY3
[ -n "$KEY4" ] && iwconfig $DEVICE key [4] $KEY4
[ -n "$DEFAULTKEY" ] && iwconfig $DEVICE key [${DEFAULTKEY}]
- [ -n "$KEY" ] && iwconfig $DEVICE key "$KEY"
+ [ -n "$KEY" ] && iwconfig $DEVICE key $KEY
else
iwconfig $DEVICE key off
fi