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

Remove limit to listen only on lan interface

This commit is contained in:
Ycarus 2018-06-28 11:33:58 +02:00
parent 7d931c6e17
commit 3b2ea336e9

View file

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