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

Remove limit even for previous config

This commit is contained in:
Ycarus 2018-06-28 12:04:41 +02:00
parent 3b2ea336e9
commit 848bb74e16

View file

@ -15,12 +15,11 @@ if [ "$(uci -q show dhcp | grep 127.0.0.1#5353)" = "" ]; then
commit dhcp
EOF
fi
#if [ "$(uci -q get dhcp.@dnsmasq[-1].interface)" = "" ]; then
# uci -q batch <<-EOF >/dev/null
# add_list dhcp.@dnsmasq[-1].interface="lan"
# commit dhcp
# EOF
#fi
uci -q batch <<-EOF >/dev/null
del dhcp.@dnsmasq[-1].interface
commit dhcp
EOF
fi
rm -f /tmp/luci-indexcache
exit 0