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:
suyuan 2021-04-04 10:50:33 +08:00
parent 9821422eed
commit b61837caff
2 changed files with 3 additions and 2 deletions

View file

@ -14,6 +14,7 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
if [ "$(uci -q show dhcp | grep 127.0.0.1#5353)" = "" ]; then
uci -q batch <<-EOF >/dev/null
add_list dhcp.@dnsmasq[-1].server="127.0.0.1#5353"
add_list dhcp.@dnsmasq[-1].server='8.8.8.8'
add_list dhcp.@dnsmasq[-1].server="/lan/"
set dhcp.@dnsmasq[-1].dnssec='1'
commit dhcp