mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix disable gw and server ping in interface
This commit is contained in:
parent
9b72cd9b46
commit
163ab6a022
1 changed files with 4 additions and 4 deletions
|
@ -157,7 +157,7 @@
|
|||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:Disable TCP Fast Open%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="checkbox" name="disablefastopen" class="cbi-input-checkbox" value="0" <% if luci.model.uci.cursor():get("openmptcprouter","settings","disable_fastopen") == "1" then %>checked<% end %>>
|
||||
<input type="checkbox" name="disablefastopen" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter","settings","disable_fastopen") == "1" then %>checked<% end %>>
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:Disable TCP Fast Open on Linux and Shadowsocks configuration%>
|
||||
|
@ -167,7 +167,7 @@
|
|||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:Save vnstats stats%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="checkbox" name="savevnstat" class="cbi-input-checkbox" value="0" <% if luci.sys.exec("uci -q get vnstat.@vnstat[0].backup") == "1" then %>checked<% end %>>
|
||||
<input type="checkbox" name="savevnstat" class="cbi-input-checkbox" value="1" <% if luci.sys.exec("uci -q get vnstat.@vnstat[0].backup") == "1" then %>checked<% end %>>
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:Save vnstats statistics on disk%>
|
||||
|
@ -177,7 +177,7 @@
|
|||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:Disable gateway ping%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="checkbox" name="disablegwping" class="cbi-input-checkbox" value="0" <% if luci.model.uci.cursor():get("openmptcprouter","settings","disablegwping") == "1" then %>checked<% end %>>
|
||||
<input type="checkbox" name="disablegwping" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter","settings","disablegwping") == "1" then %>checked<% end %>>
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:Disable gateway ping status check%>
|
||||
|
@ -187,7 +187,7 @@
|
|||
<div class="cbi-value">
|
||||
<label class="cbi-value-title"><%:Disable server ping%></label>
|
||||
<div class="cbi-value-field">
|
||||
<input type="checkbox" name="disableserverping" class="cbi-input-checkbox" value="0" <% if luci.model.uci.cursor():get("openmptcprouter","settings","disableserverping") == "1" then %>checked<% end %>>
|
||||
<input type="checkbox" name="disableserverping" class="cbi-input-checkbox" value="1" <% if luci.model.uci.cursor():get("openmptcprouter","settings","disableserverping") == "1" then %>checked<% end %>>
|
||||
<br />
|
||||
<div class="cbi-value-description">
|
||||
<%:Disable server ping status check%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue