Revert "aredn: Meshoween - Bug fixes (#158)"

This reverts commit 9cac3db003.
This commit is contained in:
dman776 2021-11-03 15:54:03 -05:00 committed by GitHub
parent 9cac3db003
commit a80c5f680a
1 changed files with 0 additions and 4 deletions

View File

@ -84,10 +84,6 @@ use perlfunc;
); );
# Limit displayed nodes and services to the most reachable routes if memory on the node is small # Limit displayed nodes and services to the most reachable routes if memory on the node is small
if ( `/sbin/uci -q get aredn.\@meshstatus[0]` eq "" )
{
system "(/sbin/uci -q add aredn meshstatus; /sbin/uci -q commit aredn) > /dev/null";
}
%lowMemoryLimits = ( %lowMemoryLimits = (
memory => `/sbin/uci -q get aredn.\@meshstatus[0].lowmem` || 10000, memory => `/sbin/uci -q get aredn.\@meshstatus[0].lowmem` || 10000,
routes => `/sbin/uci -q get aredn.\@meshstatus[0].lowroutes` || 1000, routes => `/sbin/uci -q get aredn.\@meshstatus[0].lowroutes` || 1000,