mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Update openvpn-install.sh
This commit is contained in:
		| @@ -59,7 +59,7 @@ newclient () { | ||||
| 	# Where to write the custom client.ovpn? | ||||
| 	if [ -e /home/$1 ]; then  # if $1 is a user name | ||||
| 		homeDir="/home/$1" | ||||
| 	elif [ ${SUDO_USER} ]; then  # if not, use SUDO_USER | ||||
| 	elif [ ${SUDO_USER} ]; then   # if not, use SUDO_USER | ||||
| 		homeDir="/home/${SUDO_USER}" | ||||
| 	else  # if not SUDO_USER, use /root | ||||
| 		homeDir="/root" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 patlol
					patlol