mirror of
				https://github.com/vdsm/virtual-dsm.git
				synced 2025-11-04 08:54:51 +08:00 
			
		
		
		
	Also close socat in NAT mode
This commit is contained in:
		
							parent
							
								
									96271d1e60
								
							
						
					
					
						commit
						9b13bc46d8
					
				@ -172,6 +172,8 @@ configureDNS () {
 | 
			
		||||
#  Configure Network
 | 
			
		||||
# ######################################
 | 
			
		||||
 | 
			
		||||
{ pkill -f server.sh || true; } 2>/dev/null
 | 
			
		||||
 | 
			
		||||
# Create the necessary file structure for /dev/net/tun
 | 
			
		||||
if [ ! -c /dev/net/tun ]; then
 | 
			
		||||
  [ ! -d /dev/net ] && mkdir -m 755 /dev/net
 | 
			
		||||
@ -210,7 +212,6 @@ if [[ "${DHCP}" == [Yy1]* ]]; then
 | 
			
		||||
  configureDHCP
 | 
			
		||||
 | 
			
		||||
  # Display IP on port 80 and 5000
 | 
			
		||||
  { pkill -f server.sh || true; } 2>/dev/null
 | 
			
		||||
  /run/server.sh 5000 /run/ip.sh &
 | 
			
		||||
 | 
			
		||||
else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user