luci-app-passwall: sync upstream
This commit is contained in:
parent
6e6310eb38
commit
089dfb9f22
@ -329,7 +329,7 @@ o:value("8.8.8.8", "8.8.8.8 (Google)")
|
||||
o:value("9.9.9.9", "9.9.9.9 (Quad9-Recommended)")
|
||||
o:value("208.67.220.220", "208.67.220.220 (OpenDNS)")
|
||||
o:value("208.67.222.222", "208.67.222.222 (OpenDNS)")
|
||||
if nixio.fs.access("/usr/share/mosdns/default.yaml") then
|
||||
if nixio.fs.access("/usr/share/mosdns/mosdns.sh") then
|
||||
local mosdns_port = string.gsub(luci.sys.exec("uci -q get mosdns.config.listen_port"), "\n", "")
|
||||
if mosdns_port ~= nil and result ~= "" then
|
||||
o:value("127.0.0.1:" .. mosdns_port, "127.0.0.1:" .. mosdns_port .. " (MosDNS)")
|
||||
|
Loading…
Reference in New Issue
Block a user