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

Fix to allow many IPs on VPS

This commit is contained in:
Ycarus (Yannick Chabanois) 2021-03-09 10:15:15 +01:00
parent 70e48f93a0
commit bbf41d33ae
4 changed files with 62 additions and 58 deletions

View file

@ -291,6 +291,10 @@ if [ "$(uci -q show network.wan1 | grep multipath)" = "" ] && [ -z "$(uci -q get
#set network.@route6[-1].target='::/0'
#EOF
fi
# Replace omrip to oip in config for old config
sed -i 's/omrip/oip/g' /etc/config/*
uci -q commit macvlan
uci -q commit network
rm -f /tmp/luci-indexcache