| 
				
			 | 
			
			
				@@ -75,10 +75,14 @@ function install_interactive_vpn { 
			 | 
		
	
		
			
			| 
				75
			 | 
			
				75
			 | 
			
			
				     do 
			 | 
		
	
		
			
			| 
				76
			 | 
			
				76
			 | 
			
			
				         data=$(tempfile 2>/dev/null) 
			 | 
		
	
		
			
			| 
				77
			 | 
			
				77
			 | 
			
			
				         trap "rm -f $data" 0 1 2 5 15 
			 | 
		
	
		
			
			| 
				
			 | 
			
				78
			 | 
			
			
				+        currtlsport=$(grep 'VPN_TLS_PORT' temp.cfg | awk -F '=' '{print $2}') 
			 | 
		
	
		
			
			| 
				
			 | 
			
				79
			 | 
			
			
				+        if [ $currtlsport ]; then 
			 | 
		
	
		
			
			| 
				
			 | 
			
				80
			 | 
			
			
				+            VPN_TLS_PORT=$currtlsport 
			 | 
		
	
		
			
			| 
				
			 | 
			
				81
			 | 
			
			
				+        fi 
			 | 
		
	
		
			
			| 
				78
			 | 
			
				82
			 | 
			
			
				         dialog --backtitle $"Freedombone Configuration" \ 
			 | 
		
	
		
			
			| 
				79
			 | 
			
				83
			 | 
			
			
				                --title $"VPN Configuration" \ 
			 | 
		
	
		
			
			| 
				80
			 | 
			
				84
			 | 
			
			
				                --form $"\nPlease enter your VPN details. Changing the port to 443 will help defend against censorship but will prevent other web apps from running." 12 65 1 \ 
			 | 
		
	
		
			
			| 
				81
			 | 
			
				
			 | 
			
			
				-               $"TLS port:" 1 1 "$(grep 'VPN_TLS_PORT' temp.cfg | awk -F '=' '{print $2}')" 1 12 4 4 \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				85
			 | 
			
			
				+               $"TLS port:" 1 1 "$VPN_TLS_PORT" 1 12 4 4 \ 
			 | 
		
	
		
			
			| 
				82
			 | 
			
				86
			 | 
			
			
				                2> $data 
			 | 
		
	
		
			
			| 
				83
			 | 
			
				87
			 | 
			
			
				         sel=$? 
			 | 
		
	
		
			
			| 
				84
			 | 
			
				88
			 | 
			
			
				         case $sel in 
			 |