aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-wireless
diff options
context:
space:
mode:
authorPreston Brown <pbrown@redhat.com>2001-09-25 18:48:06 +0000
committerPreston Brown <pbrown@redhat.com>2001-09-25 18:48:06 +0000
commit8bcc6dbeb644ff182706ec341bda4771e7166672 (patch)
treef586ed3c6f25e303bf473f3424a1afb65b6b3edc /sysconfig/network-scripts/ifup-wireless
parent779670cae04691237a793e7a19f19fd3c2b797d3 (diff)
downloadinitscripts-8bcc6dbeb644ff182706ec341bda4771e7166672.tar
initscripts-8bcc6dbeb644ff182706ec341bda4771e7166672.tar.gz
initscripts-8bcc6dbeb644ff182706ec341bda4771e7166672.tar.bz2
initscripts-8bcc6dbeb644ff182706ec341bda4771e7166672.tar.xz
initscripts-8bcc6dbeb644ff182706ec341bda4771e7166672.zip
need_hostname now returns true or false, doesn't set NEEDHOSTNAME. Some reformatting fixes.
Diffstat (limited to 'sysconfig/network-scripts/ifup-wireless')
-rwxr-xr-xsysconfig/network-scripts/ifup-wireless5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless
index 87676ca7..ace878f4 100755
--- a/sysconfig/network-scripts/ifup-wireless
+++ b/sysconfig/network-scripts/ifup-wireless
@@ -62,18 +62,21 @@ fi
if [ -n "$FRAG" ] ; then
iwconfig $DEVICE frag $FRAG
fi
+
# More specific parameters passed directly to IWCONFIG
if [ -n "$IWCONFIG" ] ; then
iwconfig $DEVICE $IWCONFIG
fi
+
if [ -n "$SPYIPS" ] ; then
for IP in $SPYIPS; do
- iwspy $DEVICE $IP
+ iwspy $DEVICE + $IP
done
fi
if [ -n "$IWPRIV" ] ; then
iwpriv $DEVICE $IWPRIV
fi
+
# ESSID need to be last : most device re-perform the scanning/discovery
# when this is set, and things like encryption keys are better be
# defined if we want to discover the right set of APs/nodes.