From 2f93c08aa250e8a52378c41a2de014f262f5c8e8 Mon Sep 17 00:00:00 2001 From: TimmThaler Date: Mon, 6 Nov 2017 11:19:10 +0100 Subject: [PATCH] Changed output file name. --- scripts/convert.openvpnconnect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/convert.openvpnconnect.sh b/scripts/convert.openvpnconnect.sh index 3c432e0..b962d4b 100644 --- a/scripts/convert.openvpnconnect.sh +++ b/scripts/convert.openvpnconnect.sh @@ -53,7 +53,7 @@ openssl rsa -aes256 -in "$ovpnout/$client.tmp.$fileext" -out "$ovpnout/$client.t key=$(cat "$ovpnout/$client.tmp.key") # replace the rsa key with the new aes key and output to new opvn file -awk -v values="${key}" '//{p=1;print;printf values; printf "\n"}/<\/key>/{p=0}!p' "$ovpnout/$client.tmp.$fileext" > "$ovpnout/$client.ios.$fileext" +awk -v values="${key}" '//{p=1;print;printf values; printf "\n"}/<\/key>/{p=0}!p' "$ovpnout/$client.tmp.$fileext" > "$ovpnout/$client.openvpnconnect.$fileext" # delete tmp files rm -f "$ovpnout/$client.tmp.key"