blob: 2cd73f5367346dee693da237b1d28679e3fa6e89 [file] [log] [blame]
opkg install /ipks/*
# The script below should be run after uci for wireless is available.
while ! (uci show wireless | grep wireless) ; do sleep 1; echo "wait for wlan" > /dev/kmsg; done
uci -q batch << EOI
set network.lan.proto='static'
set network.lan.ipaddr=''
set network.lan.netmask=''
set network.lan.ip6assign='30'
set network.lan.gateway=''
set network.lan.dns=''
set network.lan.broadcast=''
commit network
set wireless.radio0.disabled='0'
set wireless.default_radio0.ssid='VirtWifi'
commit wireless