From a629f280e1fdde9b2b72e824d379076fa3e401db Mon Sep 17 00:00:00 2001 From: Angristan Date: Sun, 13 Dec 2015 02:20:44 +0100 Subject: [PATCH] rename client.conf to client.ovpn As the name of the file changed here : https://github.com/Chocobozzz/OpenVPN-Admin/pull/2 it should change also here, otherwise we get `sed: impossible de lire ./client-conf/windows/client.conf: Aucun fichier ou dossier de ce type` --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 4f98864..cfef1d4 100755 --- a/install.sh +++ b/install.sh @@ -209,7 +209,7 @@ sed -i "s/\$pass = '';/\$pass = '$mysql_pass';/" "./include/config.php" # Replace in the client configurations with the ip of the server sed -i "s/remote xxx\.xxx\.xxx\.xxx 443/remote $ip_server 443/" "./client-conf/gnu-linux/client.conf" -sed -i "s/remote xxx\.xxx\.xxx\.xxx 443/remote $ip_server 443/" "./client-conf/windows/client.conf" +sed -i "s/remote xxx\.xxx\.xxx\.xxx 443/remote $ip_server 443/" "./client-conf/windows/client.ovpn" # Copy ta.key inside the client-conf directory cp "/etc/openvpn/"{ca.crt,ta.key} "./client-conf/gnu-linux/"