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

static IPv6 for omr-6in4

This commit is contained in:
Ycarus 2018-07-03 15:11:54 +02:00
parent 3c34672ba1
commit e00cf0f4f0

View file

@ -11,6 +11,15 @@ if [ "$(uci -q show network | grep omr6in4)" = "" ]; then
set network.omr6in4.ipaddr=10.255.255.2
set network.omr6in4.peeraddr=10.255.255.1
set network.omr6in4.gateway=fe80::a00:1
set network.omr6in4.ip6addr=fe80::a00:2
commit network
EOF
rm -f /tmp/luci-indexcache
fi
if [ "$(uci -q get network.omr6in4.ip6addr)" = "" ]; then
uci -q batch <<-EOF
set network.omr6in4.ip6addr=fe80::a00:2
commit network
EOF
rm -f /tmp/luci-indexcache