mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Force multipath off on VPN interface
This commit is contained in:
		
							parent
							
								
									cbe00ecacc
								
							
						
					
					
						commit
						c5d7211abf
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -276,6 +276,7 @@ dns_flush() {
 | 
			
		|||
 | 
			
		||||
# Get the current multipath status
 | 
			
		||||
multipath_status="off"
 | 
			
		||||
[ "$OMR_TRACKER_INTERFACE" = "omrvpn" ] && multipath $OMR_TRACKER_DEVICE off 2>&1 >/dev/null
 | 
			
		||||
if [ -d "/sys/class/net/$OMR_TRACKER_DEVICE" ]; then
 | 
			
		||||
	case "$(multipath "$OMR_TRACKER_DEVICE")" in
 | 
			
		||||
		*default*)      multipath_status="on"       ;;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue