mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Fix Variable Substitution for ENDPOINT (#397)
This commit is contained in:
		| @@ -572,7 +572,7 @@ function installOpenVPN () { | ||||
|  | ||||
| 		# Behind NAT, we'll default to the publicly reachable IPv4. | ||||
| 		PUBLIC_IPV4=$(curl ifconfig.co) | ||||
| 		ENDPOINT=${ENDPOINT:-PUBLIC_IPV4} | ||||
| 		ENDPOINT=${ENDPOINT:-$PUBLIC_IPV4} | ||||
| 	fi | ||||
|  | ||||
| 	# Run setup questions first, and set other variales if auto-install | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nathan Lopez
					Nathan Lopez