1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan168 2021-12-30 00:00:09 +08:00
parent 526e36f691
commit c484f5c98e
546 changed files with 13 additions and 14 deletions

0
luci-app-openmptcprouter/Makefile Executable file → Normal file
View file

View file

View file

View file

View file

View file

View file

0
luci-app-openmptcprouter/po/de/openmptcprouter.po Executable file → Normal file
View file

0
luci-app-openmptcprouter/po/fr/openmptcprouter.po Executable file → Normal file
View file

0
luci-app-openmptcprouter/po/it/openmptcprouter.po Executable file → Normal file
View file

0
luci-app-openmptcprouter/po/oc/openmptcprouter.po Executable file → Normal file
View file

View file

0
luci-app-openmptcprouter/po/zh_Hans/openmptcprouter.po Executable file → Normal file
View file

View file

View file

View file

@ -150,15 +150,15 @@ start_service() {
if [ "$(uci -q get openmptcprouter.settings.country)" = "china" ] && [ -n "$(uci -q get dhcp.@dnsmasq[0].server | grep '127.0.0.1#5353')" ]; then
uci -q batch <<-EOF > /dev/null
del_list dhcp.@dnsmasq[0].server='127.0.0.1#5353'
add_list dhcp.@dnsmasq[0].server='223.5.5.5'
add_list dhcp.@dnsmasq[0].server='114.114.114.114'
set dhcp.@dnsmasq[0].dnsseccheckunsigned='0'
delete dhcp.@dnsmasq[0].dnssec
commit dhcp
EOF
elif [ "$(uci -q get openmptcprouter.settings.country)" = "world" ] && [ -n "$(uci -q get dhcp.@dnsmasq[0].server | grep '223.5.5.5')" ]; then
elif [ "$(uci -q get openmptcprouter.settings.country)" = "world" ] && [ -n "$(uci -q get dhcp.@dnsmasq[0].server | grep '114.114.114.114')" ]; then
uci -q batch <<-EOF > /dev/null
add_list dhcp.@dnsmasq[0].server='127.0.0.1#5353'
del_list dhcp.@dnsmasq[0].server='223.5.5.5'
del_list dhcp.@dnsmasq[0].server='114.114.114.114'
commit dhcp
EOF
fi