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

Fix for multipath master

This commit is contained in:
Ycarus 2018-02-15 17:24:13 +01:00
parent 1ebeaafb3d
commit 54d8d306a5

View file

@ -40,7 +40,7 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ]; then
fi
multipath_config=$(uci -q get "network.$OMR_TRACKER_INTERFACE.multipath" || echo "off")
#[ "$multipath_config" = "master" ] && multipath_config="on"
[ "$multipath_config" = "master" ] && [ "$multipath_status" = "on" ] && exit 0
[ "$multipath_status" = "$multipath_config" ] && exit 0
_log "$OMR_TRACKER_DEVICE switched to $multipath_config"
if [ "$multipath_config" = "master" ]; then