Made the listing better

This commit is contained in:
Benjamyn Love 2018-07-09 22:19:37 +10:00
parent ed6881f8b6
commit e74b7aac9d

2
vpnctl
View File

@ -54,7 +54,7 @@ case $1 in
"list") "list")
if [[ $root -eq 1 ]] if [[ $root -eq 1 ]]
then then
ls /etc/openvpn/client ls -alh $vpnconfpath | grep conf | awk '{print $9}' | cut -d '.' -f 1
else else
sudo vpnctl $1 sudo vpnctl $1
fi fi