mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 11:03:48 +01:00
Removing custom wifi country #28
This commit is contained in:
parent
067689d64b
commit
2ff4080ea4
@ -79,7 +79,6 @@ $IPKG_INSTROOT/etc/init.d/dhcpcheck enable
|
|||||||
if [ -z "$IPKG_INSTROOT" ]; then
|
if [ -z "$IPKG_INSTROOT" ]; then
|
||||||
echo "Enabling and configuring wifi device..."
|
echo "Enabling and configuring wifi device..."
|
||||||
uci set wireless.@wifi-device[0].disabled=0
|
uci set wireless.@wifi-device[0].disabled=0
|
||||||
uci set wireless.radio0.country='NL'
|
|
||||||
uci commit wireless; wifi
|
uci commit wireless; wifi
|
||||||
|
|
||||||
echo "Disabling default route and DNS server for lan network interface..."
|
echo "Disabling default route and DNS server for lan network interface..."
|
||||||
@ -104,7 +103,6 @@ else
|
|||||||
uci set uhttpd.main.lua_prefix='/d3dapi'
|
uci set uhttpd.main.lua_prefix='/d3dapi'
|
||||||
|
|
||||||
uci set wireless.@wifi-device[0].disabled=0
|
uci set wireless.@wifi-device[0].disabled=0
|
||||||
uci set wireless.radio0.country='NL'
|
|
||||||
# TODO: add firewall net
|
# TODO: add firewall net
|
||||||
uci set network.wlan=interface
|
uci set network.wlan=interface
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user