Indent case and other improvements
This commit is contained in:
parent
fa7df5dca4
commit
3fc3fa42ab
1 changed files with 134 additions and 132 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue