mirror of
				https://github.com/gtxaspec/wz_mini_hacks.git
				synced 2025-11-04 06:31:54 +00:00 
			
		
		
		
	add ipv6 config flag
This commit is contained in:
		@@ -18,6 +18,8 @@ REMOTE_SPOTLIGHT_HOST="0.0.0.0"
 | 
			
		||||
RTSP_ENABLED="false"
 | 
			
		||||
RTSP_ENABLE_AUDIO="false"
 | 
			
		||||
 | 
			
		||||
ENABLE_IPV6="false"
 | 
			
		||||
 | 
			
		||||
DEBUG_ENABLED="false"
 | 
			
		||||
 | 
			
		||||
#####################################
 | 
			
		||||
@@ -35,6 +37,13 @@ swap_enable() {
 | 
			
		||||
        fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
if [[ "$ENABLE_IPV6" == "true" ]]; then
 | 
			
		||||
echo "ipv6 enabled"
 | 
			
		||||
else
 | 
			
		||||
echo "ipv6 disabled"
 | 
			
		||||
sysctl -w net.ipv6.conf.all.disable_ipv6=1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [[ "$ENABLE_USB_ETH" == "true" ]]; then
 | 
			
		||||
 | 
			
		||||
	swap_enable
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user