Update openvpn-install.sh

Co-authored-by: randomshell <randshell@protonmail.com>
This commit is contained in:
psgoundar 2020-07-04 21:09:24 -07:00 committed by GitHub
parent 78041b86c6
commit fba92491a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1296,7 +1296,9 @@ if [ ! -f "${INDEX}" ]; then
exit 1
fi
printf "\\e[1m::: Certificate Status List :::\\e[0m\\n"
printf "\\e[4mStatus\\e[0m :: \\e[4mName\\e[0m\\e[0m :: \\e[4mExpiration \\e[0m\\n"
printf "\\n%6s\\t%14s\\t%22s\\n" "Status" "Name" "Expiration"
printf '=%.0s' {1..50}
printf '\n'
while read -r line || [ -n "$line" ]; do
STATUS=$(echo "$line" | awk '{print $1}')
NAME=$(echo "$line" | awk '{print $5}' | awk -FCN= '{print $2}')