mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Use previous device if current device is unknown in 002-error post-tracking script of omr-tracker
This commit is contained in:
parent
be703c65ad
commit
b531347431
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue