mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	Make v2ray init less verbose
This commit is contained in:
		
							parent
							
								
									b49945767a
								
							
						
					
					
						commit
						530449f6ab
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1794,12 +1794,12 @@ init_transparent_proxy() {
 | 
			
		|||
 | 
			
		||||
setup_transparent_proxy() {
 | 
			
		||||
	if [ -z "$TRANSPARENT_PROXY_PORT" ] ; then
 | 
			
		||||
		_info "Transparent proxy disabled."
 | 
			
		||||
		#_info "Transparent proxy disabled."
 | 
			
		||||
		return 0
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
	if [ "x$TRANSPARENT_PROXY_EXPECTED" != "x1" ] ; then
 | 
			
		||||
		_info "No v2ray instance enabled, skip transparent proxy."
 | 
			
		||||
		#_info "No v2ray instance enabled, skip transparent proxy."
 | 
			
		||||
		return 0
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1944,7 +1944,7 @@ start_instance() {
 | 
			
		|||
	fi
 | 
			
		||||
 | 
			
		||||
	if [ "x$enabled" != "x1" ] ; then
 | 
			
		||||
		_info "Service disabled: $section"
 | 
			
		||||
		#_info "Service disabled: $section"
 | 
			
		||||
		return 0
 | 
			
		||||
	fi
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue