1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-25 20:19:41 +02:00

milkymist-TLWR703: fix typo

This commit is contained in:
Xiangfu 2012-07-04 20:44:38 +08:00
parent 5c7b9840ba
commit 6df26d4afd

View File

@ -2,15 +2,10 @@
if [ "$1" == "set" ] && [ "$#" == "4" ]; then if [ "$1" == "set" ] && [ "$#" == "4" ]; then
uci delete network.wwan uci delete network.wwan
uci commit wireless
uci set network.wwan=interface uci set network.wwan=interface
uci set network.wwan.proto=dhcp uci set network.wwan.proto=dhcp
uci commit wireless
uci delete wireless.@wifi-iface[0] uci delete wireless.@wifi-iface[0]
uci commit wireless
uci set wireless.@wifi-device[0].disabled=0 uci set wireless.@wifi-device[0].disabled=0
uci add wireless wifi-iface > /dev/null 2>&1 uci add wireless wifi-iface > /dev/null 2>&1
uci set wireless.@wifi-iface[0].device='radio0' uci set wireless.@wifi-iface[0].device='radio0'
@ -26,6 +21,7 @@ if [ "$1" == "set" ] && [ "$#" == "4" ]; then
uci set wireless.@wifi-iface[0].key=$3 uci set wireless.@wifi-iface[0].key=$3
uci set wireless.@wifi-iface[0].encryption=$4 uci set wireless.@wifi-iface[0].encryption=$4
uci commit network
uci commit wireless uci commit wireless
ifup wwan ifup wwan