- Timestamp:
- 09/12/09 21:07:52 (3 years ago)
- Location:
- trunk/nightwing
- Files:
-
- 2 modified
-
etc/CHANGELOG (modified) (1 diff)
-
usr/bin/nw_conf (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/nightwing/etc/CHANGELOG
r352 r378 8 8 * FIX: wireless config. hwmode replace mode for wireless mode (11b, 11bg, 11g) 9 9 * FIX: nw_conf. wireless mode 10 * FIX: nw_conf. Variables parsing 10 11 11 12 Versión 0.6-beta4 -
trunk/nightwing/usr/bin/nw_conf
r352 r378 62 62 echo "Enter new value: " 63 63 read NEWVALUE 64 uci set $1= $NEWVALUE64 uci set $1="$NEWVALUE" 65 65 if [ $2 ]; then 66 66 uci set $WIFIDOG_CHANGE=1 … … 234 234 if [[ "${#WPA2PASS}" -gt 7 && "${#WPA2PASS}" -lt 64 ]]; 235 235 then 236 uci set $W_PRIVATE_KEY= $WPA2PASS236 uci set $W_PRIVATE_KEY="$WPA2PASS" 237 237 uci commit wireless 238 238 else … … 265 265 case $MODE in 266 266 11b|11g|11bg) 267 uci set $WMODE= $MODE267 uci set $WMODE="$MODE" 268 268 uci commit wireless 269 269 ;; … … 299 299 if [[ ! -z "$1" && "$1" -gt "0" ]]; 300 300 then 301 uci set $2= ${1}301 uci set $2="${1}" 302 302 uci commit nwnode 303 303 else … … 305 305 sleep 2 306 306 echo $YESNO_MSG 307 case_public_ap_rate 307 case_public_ap_rate 308 308 fi 309 309 else … … 465 465 case $CH in 466 466 1|2|3|4|5|6|7|8|9|10|11) 467 uci set $CHANNEL= $CH467 uci set $CHANNEL="$CH" 468 468 uci commit wireless 469 469 ;; … … 500 500 if [ "${#NEWVALUE}" -lt "$LENGTH" ]; 501 501 then 502 uci set $1= ${NEWVALUE}-${NODE_ID}503 uci set $2= $NEWVALUE502 uci set $1="${NEWVALUE}"-"${NODE_ID}" 503 uci set $2="$NEWVALUE" 504 504 uci commit wireless 505 505 uci commit nwnode … … 690 690 if [[ ! -z "$NEWVALUE" && "$NEWVALUE" -gt "0" ]]; 691 691 then 692 uci set $GATEWAY_CLASS= ${NEWVALUE}692 uci set $GATEWAY_CLASS="${NEWVALUE}" 693 693 uci commit bmxd 694 694 else