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:
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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue