1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-03 10:53:17 +03: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
uci delete network.wwan
uci commit wireless
uci set network.wwan=interface
uci set network.wwan.proto=dhcp
uci commit wireless
uci delete wireless.@wifi-iface[0]
uci commit wireless
uci set wireless.@wifi-device[0].disabled=0
uci add wireless wifi-iface > /dev/null 2>&1
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].encryption=$4
uci commit network
uci commit wireless
ifup wwan