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:
parent
3b2ea336e9
commit
848bb74e16
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue