luci-app-flowoffload: remove outdated settings

This commit is contained in:
CN_SZTL 2020-03-13 00:40:27 +08:00
parent f7a86b2cfe
commit 44e405b8d1
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
4 changed files with 1 additions and 21 deletions

View File

@ -31,11 +31,6 @@ bbr.default = 0
bbr.rmempty = false
bbr.description = translate("Bottleneck Bandwidth and Round-trip propagation time (BBR)")
aaaa = s:option(Flag, "filter_aaaa", translate("Filter AAAA"))
aaaa.default = 0
aaaa.rmempty = false
aaaa.description = translate("Dnsmasq rejects IPv6 parsing and optimizes domestic complex dual-stack network")
dns = s:option(Flag, "dns", translate("DNS Acceleration"))
dns.default = 0
dns.rmempty = false

View File

@ -26,7 +26,7 @@ msgid "Enable BBR"
msgstr "启用 BBR"
msgid "Bottleneck Bandwidth and Round-trip propagation time (BBR)"
msgstr "BBR拥塞控制算法可以加强TCP应用表现但会降低路由器本机上的WIFI吞吐性能"
msgstr "使用BBR拥塞控制算法可以加强TCP应用表现"
msgid "DNS Acceleration"
msgstr "DNS 加速"
@ -58,17 +58,6 @@ msgstr "支持多个上游DNS服务器用','分隔(注意用英文逗号).
msgid "Muitiple IPV6 DNS server can saperate with ','"
msgstr "支持dnsforwarder解析多个上游IPV6 DNS服务器用','分隔(注意用英文逗号).请填写您最快的DNS服务器"
msgid "Enable dnsmasq killqqad"
msgstr "启用dnsmasq去广告"
msgid "dnsmasq killqqad"
msgstr "dnsmasq去广告"
msgid "AdGuardHome's login username/passwd: AdGuardHome, web console addr: IP:3001"
msgstr "AdGuardHome 网页控制台地址IP:3001 登录账号/密码AdGuardHome"
msgid "Filter AAAA"
msgstr "忽略域名的IPv6地址"
msgid "Dnsmasq rejects IPv6 parsing and optimizes domestic complex dual-stack network"
msgstr "dnsmasq不返回ipv6解析结果优化国内复杂双栈网络"

View File

@ -3,7 +3,6 @@ config flow
option flow_offloading '0'
option flow_offloading_hw '0'
option bbr '0'
option filter_aaaa '1'
option dns '0'
option dnscache_enable '1'
option dns_server '114.114.114.114,114.114.115.115,223.5.5.5,223.6.6.6,180.76.76.76,119.29.29.29,119.28.28.28,1.2.4.8,210.2.4.8'

View File

@ -250,9 +250,6 @@ start_service(){
uci set firewall.@defaults[0].flow_offloading_hw=$(uci get flowoffload.@flow[0].flow_offloading_hw)
uci commit firewall
uci set dhcp.@dnsmasq[0].filter_aaaa=$(uci get flowoffload.@flow[0].filter_aaaa)
uci commit dhcp
if [ "$DNSMASQ_RESTART" = N ]; then
/etc/init.d/dnsmasq restart && echo "DNSMASQ change"
/etc/init.d/firewall restart