mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:30:16 +02:00
[geos] remove remaining uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27291 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
eef4338513
commit
697cd0b667
@ -1,27 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -f /etc/config/wireless ] || echo "package wireless" > /etc/config/wireless
|
||||
|
||||
uci batch <<__EOF__
|
||||
|
||||
delete wireless.radio0
|
||||
delete wireless.@wifi-iface[0]
|
||||
|
||||
set wireless.wlan0=wifi-device
|
||||
set wireless.wlan0.type=mac80211
|
||||
set wireless.wlan0.phy=phy0
|
||||
set wireless.wlan0.channel=11
|
||||
set wireless.wlan0.hwmode=11g
|
||||
set wireless.wlan0.country=US
|
||||
|
||||
add wireless wifi-iface
|
||||
set wireless.@wifi-iface[-1].device=wlan0
|
||||
set wireless.@wifi-iface[-1].network=lan
|
||||
set wireless.@wifi-iface[-1].mode=ap
|
||||
set wireless.@wifi-iface[-1].ssid=typhoon
|
||||
set wireless.@wifi-iface[-1].encryption=psk2+aes
|
||||
set wireless.@wifi-iface[-1].key="passphrase"
|
||||
set wireless.@wifi-iface[-1].hidden=0
|
||||
|
||||
commit wireless
|
||||
__EOF__
|
Loading…
Reference in New Issue
Block a user