mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 09:13:44 +02:00
milkymist-TLWR703: using ifup instead of wifi command
This commit is contained in:
parent
ac6156fde2
commit
5c7b9840ba
@ -27,10 +27,7 @@ if [ "$1" == "set" ] && [ "$#" == "4" ]; then
|
||||
uci set wireless.@wifi-iface[0].encryption=$4
|
||||
|
||||
uci commit wireless
|
||||
wifi up > /dev/null 2>&1
|
||||
udhcpc -i wlan0 -b > /dev/null 2>&1
|
||||
|
||||
ifconfig wlan0 | grep "inet addr"
|
||||
ifup wwan
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user