Indent case and other improvements

This commit is contained in:
angristan 2018-09-17 15:07:18 +02:00
parent fa7df5dca4
commit 3fc3fa42ab

View file

@ -89,7 +89,7 @@ function installEasyRsa () {
rm -f ~/EasyRSA-${version}.tgz
}
function newclient () {
function newClient () {
echo ""
echo "Do you want to protect the configuration file with a password?"
echo "(e.g. encrypt the private key with a password)"
@ -363,7 +363,9 @@ if [[ -e /etc/openvpn/server.conf ]]; then
fi
exit
;;
4) exit;;
4)
exit
;;
esac
done
else
@ -882,4 +884,4 @@ verb 3" >> /etc/openvpn/client-template.txt
newclient
echo "If you want to add more clients, you simply need to run this script another time!"
fi
exit 0;
exit 0