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:
parent
1ebeaafb3d
commit
54d8d306a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue