mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 15:50:09 +01:00
Update openvpn-install.sh
Co-authored-by: randomshell <randshell@protonmail.com>
This commit is contained in:
parent
78041b86c6
commit
fba92491a2
@ -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}')
|
||||
|
Loading…
Reference in New Issue
Block a user