Now that the status page api has been rewritten in C CPU load and memory usage is much lower. Also, nodes with both ibss and 11s mesh and dual band wifi may require up to 9 connections for a single client, thus the previous limit of 12 seemed a little low.
16 lines
285 B
Bash
Executable File
16 lines
285 B
Bash
Executable File
#!/bin/sh
|
|
|
|
uci batch <<-EOF
|
|
delete uhttpd.main.listen_http
|
|
add_list uhttpd.main.listen_http=0.0.0.0:80
|
|
add_list uhttpd.main.listen_http=[::]:80
|
|
|
|
delete uhttpd.main.listen_https
|
|
|
|
set uhttpd.main.home=/lib/gluon/status-page/www
|
|
|
|
set uhttpd.main.max_requests=32
|
|
|
|
commit uhttpd
|
|
EOF
|