Skip to content

Commit

Permalink
Use previous device if current device is unknown in 002-error post-tr…
Browse files Browse the repository at this point in the history
…acking script of omr-tracker
  • Loading branch information
Ysurac committed Dec 13, 2024
1 parent be703c6 commit b531347
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions omr-tracker/files/usr/share/omr/post-tracking.d/002-error
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ] || { [ "$OMR_TRACKER_INTERFACE" != "omrvp
fi
. /lib/functions/network.sh

[ -z "$OMR_TRACKER_DEVICE" ] && OMR_TRACKER_DEVICE="$OMR_TRACKER_PREV_DEVICE"

# Get the current multipath status
multipath_status="off"
# [ "$OMR_TRACKER_INTERFACE" = "omrvpn" ] && multipath $OMR_TRACKER_DEVICE off >/dev/null 2>&1
Expand Down

0 comments on commit b531347

Please sign in to comment.