mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-25 00:30:20 +00:00
Fixes #23, enhance 'pivpn add', minor bug fixes & other enhancements
This commit is contained in:
parent
6f9d151530
commit
dea112f50f
3 changed files with 33 additions and 2 deletions
|
@ -90,6 +90,11 @@ EOF
|
|||
printf "Enter a Name for the Client: "
|
||||
read NAME
|
||||
|
||||
if [[ -z "$NAME" ]]; then
|
||||
printf '%s\n' "::: You can not leave this blank!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd /etc/openvpn/easy-rsa
|
||||
source /etc/openvpn/easy-rsa/vars
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue