From f5c2f35a493a14169c170e11b93853e49dde227e Mon Sep 17 00:00:00 2001 From: Preston Brown Date: Thu, 27 Jun 2002 17:04:48 +0000 Subject: essid setup fix --- sysconfig/network-scripts/ifup-wireless | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysconfig') 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 -- cgit v1.2.1