mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 01:03:56 +08:00
update 2026-10-23 00:28:40
This commit is contained in:
1 parent
3f38c69f75
commit
d64c67f0ed
320 files changed
+109777
-2309
No files matched your search
@@ -39,6 +39,18 @@ case "$PLATFORM" in
|
||||
*) MENU_ARMCPU=yes ;;
|
||||
esac
|
||||
|
||||
# Raise uhttpd max_requests (default 3 is too low for this plugin's concurrent
|
||||
# polling and can crash some uhttpd builds), but never override a higher value.
|
||||
cur_max="$(uci -q get uhttpd.main.max_requests 2>/dev/null)"
|
||||
if [ -z "$cur_max" ] || [ "$cur_max" -lt 50 ] 2>/dev/null; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set uhttpd.main.max_requests='50'
|
||||
commit uhttpd
|
||||
EOF
|
||||
# Apply now (skip during image build).
|
||||
[ -z "${IPKG_INSTROOT}" ] && /etc/init.d/uhttpd reload >/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@amlogic[-1]
|
||||
add ucitrack amlogic
|
||||
|
||||
Reference in new issue
Block a user