0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00

Removing wifi channel setting #28

This commit is contained in:
peteruithoven 2015-06-12 16:02:35 +02:00
parent 2ff4080ea4
commit 6a546bcca5

View File

@ -79,6 +79,7 @@ $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 delete wireless.radio0.channel
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..."
@ -103,6 +104,7 @@ 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 delete wireless.radio0.channel
# TODO: add firewall net # TODO: add firewall net
uci set network.wlan=interface uci set network.wlan=interface