From 30f68714415aca0511eaf9fb5b5d3b4fb58e7309 Mon Sep 17 00:00:00 2001 From: Rodolfo Salas Date: Tue, 5 Nov 2019 09:07:16 +0100 Subject: [PATCH] Add auth-user-pass [FIX] I forgot to add the line to read the credentials --- openvpn/updateFreeVPN.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/openvpn/updateFreeVPN.sh b/openvpn/updateFreeVPN.sh index a49384553..4f0fe5f73 100755 --- a/openvpn/updateFreeVPN.sh +++ b/openvpn/updateFreeVPN.sh @@ -27,6 +27,7 @@ IFS=$'\n' for i in $(find ${DIR} -name "*.ovpn") do sed -i 's/route 0.0.0.0 0.0.0.0/redirect-gateway/' $i + sed -i 's/auth-user-pass/auth-user-pass \/config\/openvpn-credentials.txt/' $i if [[ $i == *TCP* ]]; then sed -i 's/explicit-exit-notify//' $i