mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Fix OpenVPN control status
This commit is contained in:
		
							parent
							
								
									ad18d0e8b3
								
							
						
					
					
						commit
						06b2e42c01
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -591,7 +591,7 @@ if [ "$(pgrep glorytun)" = "" ] && [ "$(uci -q get glorytun.vpn.enabled)" = "1"
 | 
			
		|||
	/etc/init.d/glorytun-udp restart
 | 
			
		||||
	sleep 5
 | 
			
		||||
fi
 | 
			
		||||
if [ "$(pgrep openvpn)" = "" ] && [ "$(uci -q get openvpn.omr.enabled)" != "0" ] && [ -f /etc/init.d/openvpn ]; then
 | 
			
		||||
if [ "$(pgrep openvpn)" = "" ] && [ "$(uci -q get openvpn.omr.enabled)" = "1" ] && [ -f /etc/init.d/openvpn ]; then
 | 
			
		||||
	_log "Can't find OpenVPN, restart it..."
 | 
			
		||||
	/etc/init.d/openvpn restart
 | 
			
		||||
	sleep 5
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue