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

Little fixes

This commit is contained in:
Ycarus 2018-06-12 19:23:15 +02:00
parent 4e858a0ff9
commit 64201d6d86
2 changed files with 8 additions and 1 deletions

View file

@ -35,4 +35,5 @@ uci -q batch <<-EOF
set ucitrack.@mptcp[-1].init=mptcp
add_list ucitrack.@network[-1].affects=mptcp
commit ucitrack
EOF
EOF
exit 0

View file

@ -15,6 +15,12 @@ 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
rm -f /tmp/luci-indexcache
exit 0