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:
parent
4e858a0ff9
commit
64201d6d86
2 changed files with 8 additions and 1 deletions
|
@ -35,4 +35,5 @@ uci -q batch <<-EOF
|
||||||
set ucitrack.@mptcp[-1].init=mptcp
|
set ucitrack.@mptcp[-1].init=mptcp
|
||||||
add_list ucitrack.@network[-1].affects=mptcp
|
add_list ucitrack.@network[-1].affects=mptcp
|
||||||
commit ucitrack
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
exit 0
|
|
@ -15,6 +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
|
||||||
|
uci -q batch <<-EOF >/dev/null
|
||||||
|
add_list dhcp.@dnsmasq[-1].interface="lan"
|
||||||
|
commit dhcp
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue