1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Fix network interface creation

This commit is contained in:
Ycarus 2018-08-28 23:00:26 +02:00
parent 7059c1b208
commit b542314d36

View file

@ -125,8 +125,8 @@ if [ "$(uci -q show network | grep wan1)" = "" ]; then
add network route6
set network.@route6[-1].interface='lan'
set network.@route6[-1].target='::/0'
commit network
EOF
rm -f /tmp/luci-indexcache
fi
uci -q commit network
rm -f /tmp/luci-indexcache
exit 0