mirror of https://github.com/aredn/aredn.git
Revert "aredn: Meshoween - Bug fixes (#158)"
This reverts commit 9cac3db003
.
This commit is contained in:
parent
9cac3db003
commit
a80c5f680a
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue