From 5b1b35c961aec588acebb6154ca4a1cc63f23965 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 25 May 2016 11:35:14 +0200 Subject: [PATCH] Removing custom uhttpd max_connections config --- post-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/post-install.sh b/post-install.sh index b89d71d..48402ee 100644 --- a/post-install.sh +++ b/post-install.sh @@ -99,7 +99,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 @@ -121,11 +121,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 uhttpd.main.max_connections='15' - uci set wireless.@wifi-device[0].disabled=0 uci delete wireless.radio0.channel