0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-11-14 17:57:57 +01:00

Merge pull request #61 from Doodle3D/feature/stresstest-config-improvements

Changed uhttpd config to match improvements
This commit is contained in:
Peter Uithoven 2016-05-25 11:36:41 +02:00
commit 3bdb9a4760

View File

@ -98,7 +98,7 @@ if [ -z "$IPKG_INSTROOT" ]; then
echo "Adding network interface 'wlan'..."
uci set network.wlan=interface
uci commit network; /etc/init.d/network reload
echo "Setting default wifibox log level..."
uci set wifibox.general.system_log_level='info'
uci -q delete wifibox.system.loglevel # remove key used in older versions (<=0.10.8a) if it exists
@ -120,8 +120,10 @@ else
uci set network.lan.ipaddr=192.168.5.1
echo -e "beta\nbeta" | passwd root
# uhttpd config: https://wiki.openwrt.org/doc/uci/uhttpd#server_settings
uci set uhttpd.main.lua_handler='/usr/share/lua/wifibox/main.lua'
uci set uhttpd.main.lua_prefix='/d3dapi'
uci set uhttpd.main.max_requests='10'
uci set wireless.@wifi-device[0].disabled=0
uci delete wireless.radio0.channel