aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPreston Brown <pbrown@redhat.com>2002-06-27 17:04:48 +0000
committerPreston Brown <pbrown@redhat.com>2002-06-27 17:04:48 +0000
commitf5c2f35a493a14169c170e11b93853e49dde227e (patch)
treee062c11b41ee2cd849886031def8ce0dc03cdcb0
parent5d01fe26891b5325af93f3482dd74e796c2fdfab (diff)
downloadinitscripts-f5c2f35a493a14169c170e11b93853e49dde227e.tar
initscripts-f5c2f35a493a14169c170e11b93853e49dde227e.tar.gz
initscripts-f5c2f35a493a14169c170e11b93853e49dde227e.tar.bz2
initscripts-f5c2f35a493a14169c170e11b93853e49dde227e.tar.xz
initscripts-f5c2f35a493a14169c170e11b93853e49dde227e.zip
essid setup fix
-rwxr-xr-xsysconfig/network-scripts/ifup-wireless4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless
index 7b9fb962..345a7afb 100755
--- a/sysconfig/network-scripts/ifup-wireless
+++ b/sysconfig/network-scripts/ifup-wireless
@@ -36,7 +36,7 @@ fi
# This is a bit hackish, but should do the job right...
if [ -n "$ESSID" -o -n "$MODE" ] ; then
NICKNAME=`/bin/hostname`
- iwconfig $DEVICE nick \"$NICKNAME\" >/dev/null 2>&1
+ iwconfig $DEVICE nick "$NICKNAME" >/dev/null 2>&1
fi
# Regular stuff...
if [ -n "$NWID" ] ; then
@@ -83,7 +83,7 @@ fi
# when this is set, and things like encryption keys are better be
# defined if we want to discover the right set of APs/nodes.
if [ -n "$ESSID" ] ; then
- iwconfig $DEVICE essid \"$ESSID\"
+ iwconfig $DEVICE essid "$ESSID"
else
# use any essid
iwconfig $DEVICE essid any