diff --git a/post-install.sh b/post-install.sh index b273471..cb44799 100644 --- a/post-install.sh +++ b/post-install.sh @@ -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