From 848bb74e169191679ef99dba7a60e222503a440a Mon Sep 17 00:00:00 2001 From: Ycarus Date: Thu, 28 Jun 2018 12:04:41 +0200 Subject: [PATCH] Remove limit even for previous config --- openmptcprouter/files/etc/uci-defaults/1940-omr-dns | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/openmptcprouter/files/etc/uci-defaults/1940-omr-dns b/openmptcprouter/files/etc/uci-defaults/1940-omr-dns index 79e86f6fc..0c312909e 100755 --- a/openmptcprouter/files/etc/uci-defaults/1940-omr-dns +++ b/openmptcprouter/files/etc/uci-defaults/1940-omr-dns @@ -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