1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Workaround for some DHCP issues

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-01-30 10:00:09 +01:00
parent 6493daeff8
commit 2c5ac1fcbe

View file

@ -25,6 +25,13 @@ if [ "$(uci -q get dhcp.@dnsmasq[0].rebind_domain)" = "" ]; then
commit dhcp
EOF
fi
if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then
uci -q batch <<-EOF >/dev/null
uci add_list dhcp.lan.dhcp_option='252,"\n"'
commit dhcp
EOF
fi
#uci -q batch <<-EOF >/dev/null
# set unbound.@unbound[-1].add_local_fqdn=0
# set unbound.@unbound[-1].localservice=1