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

Force multipath off on 6in4 interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-11-03 21:35:16 +01:00
parent 1608feff4c
commit 762596f77a

View file

@ -85,7 +85,8 @@ start_service() {
ifdown omr6in4
return
}
ifup omr6in4
[ "$(ifstatus omr6in4 | jsonfilter -e '@.up' | tr -d '\n')" != "true" ] && ifup omr6in4
multipath 6in4-omr6in4 off 2>&1 >/dev/null
procd_open_instance
# shellcheck disable=SC2086
procd_set_param command /bin/omr-6in4