mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix network interface creation
This commit is contained in:
parent
7059c1b208
commit
b542314d36
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ if [ "$(uci -q show network | grep wan1)" = "" ]; then
|
||||||
add network route6
|
add network route6
|
||||||
set network.@route6[-1].interface='lan'
|
set network.@route6[-1].interface='lan'
|
||||||
set network.@route6[-1].target='::/0'
|
set network.@route6[-1].target='::/0'
|
||||||
commit network
|
|
||||||
EOF
|
EOF
|
||||||
rm -f /tmp/luci-indexcache
|
|
||||||
fi
|
fi
|
||||||
|
uci -q commit network
|
||||||
|
rm -f /tmp/luci-indexcache
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue