mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
commit
e8514b119e
3 changed files with 4 additions and 4 deletions
|
@ -682,7 +682,7 @@
|
||||||
<div class="cbi-value" id="cbi-network-<%=ifname%>-ipv6address" data-index="8">
|
<div class="cbi-value" id="cbi-network-<%=ifname%>-ipv6address" data-index="8">
|
||||||
<label class="cbi-value-title"><%:IPv6 address%></label>
|
<label class="cbi-value-title"><%:IPv6 address%></label>
|
||||||
<div class="cbi-value-field">
|
<div class="cbi-value-field">
|
||||||
<input type="text" id="cbid.network.<%=ifname%>.ip6addr" name="cbid.network.<%=ifname%>.ip6addr" class="cbi-input-text" value="<%=value%>" data-type="ip6addr">
|
<input type="text" id="cbid.network.<%=ifname%>.ip6addr" name="cbid.network.<%=ifname%>.ip6addr" class="cbi-input-text" value="<%=value%>" data-type="ip6addr" data-optional="true">
|
||||||
<br />
|
<br />
|
||||||
<div class="cbi-value-description">
|
<div class="cbi-value-description">
|
||||||
<%:Set an IP in the same network as the modem%>
|
<%:Set an IP in the same network as the modem%>
|
||||||
|
@ -696,7 +696,7 @@
|
||||||
<div class="cbi-value" id="cbi-network-<%=ifname%>-ip6gw" data-index="9">
|
<div class="cbi-value" id="cbi-network-<%=ifname%>-ip6gw" data-index="9">
|
||||||
<label class="cbi-value-title"><%:IPv6 gateway%></label>
|
<label class="cbi-value-title"><%:IPv6 gateway%></label>
|
||||||
<div class="cbi-value-field">
|
<div class="cbi-value-field">
|
||||||
<input type="text" id="cbid.network.<%=ifname%>.ip6gw" name="cbid.network.<%=ifname%>.ip6gw" class="cbi-input-text" value="<%=uci:get("network",ifname,"ip6gw")%>" data-type="ip6addr">
|
<input type="text" id="cbid.network.<%=ifname%>.ip6gw" name="cbid.network.<%=ifname%>.ip6gw" class="cbi-input-text" value="<%=uci:get("network",ifname,"ip6gw")%>" data-type="ip6addr" data-optional="true">
|
||||||
<br />
|
<br />
|
||||||
<div class="cbi-value-description">
|
<div class="cbi-value-description">
|
||||||
<%:Set here IP of the modem%>
|
<%:Set here IP of the modem%>
|
||||||
|
|
|
@ -23,7 +23,7 @@ config defaults 'defaults'
|
||||||
option interval_tries '1'
|
option interval_tries '1'
|
||||||
option type 'ping'
|
option type 'ping'
|
||||||
option wait_test '0'
|
option wait_test '0'
|
||||||
option server_http_test '1'
|
option server_http_test '0'
|
||||||
option restart_down '0'
|
option restart_down '0'
|
||||||
option mail_alert '0'
|
option mail_alert '0'
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ fi
|
||||||
|
|
||||||
if [ "$(uci -q get omr-tracker.defaults.server_http_test)" = "" ]; then
|
if [ "$(uci -q get omr-tracker.defaults.server_http_test)" = "" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
set omr-tracker.defaults.server_http_test=1
|
set omr-tracker.defaults.server_http_test=0
|
||||||
commit omr-tracker
|
commit omr-tracker
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue