Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory sc8-pr-cvs1:/tmp/cvs-serv29724/config/etc/init.d
Modified Files:
network
Log Message:
the quotes won't work this way
Index: network
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/network,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- network 31 Dec 2003 18:58:30 -0000 1.25
+++ network 31 Dec 2003 20:51:58 -0000 1.26
@@ -114,13 +114,13 @@
# the software options
local OPTIONS=""
- [ -n "$ESSID" ] && OPTIONS="$OPTIONS essid \"$ESSID\""
- [ -n "$NWID" ] && OPTIONS="$OPTIONS nwid \"$NWID\""
- [ -n "$CHANNEL" ] && OPTIONS="$OPTIONS channel \"$CHANNEL\""
- [ -n "$MODE" ] && OPTIONS="$OPTIONS mode \"$MODE\""
- [ -n "$AP" ] && OPTIONS="$OPTIONS ap \"$AP\""
- [ -n "$RATE" ] && OPTIONS="$OPTIONS rate \"$RATE\""
- [ -n "$KEY" ] && OPTIONS="$OPTIONS key \"$KEY\""
+ [ -n "$ESSID" ] && OPTIONS="$OPTIONS essid $ESSID"
+ [ -n "$NWID" ] && OPTIONS="$OPTIONS nwid $NWID"
+ [ -n "$CHANNEL" ] && OPTIONS="$OPTIONS channel $CHANNEL"
+ [ -n "$MODE" ] && OPTIONS="$OPTIONS mode $MODE"
+ [ -n "$AP" ] && OPTIONS="$OPTIONS ap $AP"
+ [ -n "$RATE" ] && OPTIONS="$OPTIONS rate $RATE"
+ [ -n "$KEY" ] && OPTIONS="$OPTIONS key $KEY"
echo -n "Setting wireless options for interface $DEVICE"
iwconfig $DEVICE $OPTIONS
|