mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Remove getting speed from SQM
This commit is contained in:
parent
92aba34441
commit
9c4b42a310
1 changed files with 9 additions and 9 deletions
|
@ -737,15 +737,15 @@
|
|||
local upload = "0"
|
||||
download = uci:get("network",ifname,"downloadspeed") or "0"
|
||||
upload = uci:get("network",ifname,"uploadspeed") or "0"
|
||||
if download == "0" or upload == "0" then
|
||||
if nixio.fs.access("/etc/init.d/sqm") then
|
||||
download = uci:get("sqm",ifname,"download")
|
||||
upload = uci:get("sqm",ifname,"upload")
|
||||
else
|
||||
download = uci:get("qos",ifname,"download")
|
||||
upload = uci:get("qos",ifname,"upload")
|
||||
end
|
||||
end
|
||||
--if download == "0" or upload == "0" then
|
||||
-- if nixio.fs.access("/etc/init.d/sqm") then
|
||||
-- download = uci:get("sqm",ifname,"download")
|
||||
-- upload = uci:get("sqm",ifname,"upload")
|
||||
-- else
|
||||
-- download = uci:get("qos",ifname,"download")
|
||||
-- upload = uci:get("qos",ifname,"upload")
|
||||
-- end
|
||||
--end
|
||||
%>
|
||||
<div class="cbi-value" data-index="14">
|
||||
<label class="cbi-value-title"><%:MPTCP over VPN%></label>
|
||||
|
|
Loading…
Reference in a new issue