mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Update makeOVPN.sh
This commit is contained in:
parent
44e1f48856
commit
371e65444b
1 changed files with 2 additions and 2 deletions
|
@ -272,8 +272,8 @@ echo "tls-auth Private Key found: $TA"
|
|||
INSTALL_HOME=$(cat /etc/passwd | grep "$INSTALL_USER" | cut -d: -f6)
|
||||
cp "/etc/openvpn/easy-rsa/pki/$NAME$FILEEXT" "$INSTALL_HOME/ovpns/$NAME$FILEEXT"
|
||||
chown "$INSTALL_USER" "$INSTALL_HOME/ovpns/$NAME$FILEEXT"
|
||||
chmod o-r "/etc/openvpn/easy-rsa/pki/$NAME$FILEEXT"
|
||||
chmod o-r "$INSTALL_HOME/ovpns/$NAME$FILEEXT"
|
||||
chmod 640 "/etc/openvpn/easy-rsa/pki/$NAME$FILEEXT"
|
||||
chmod 640 "$INSTALL_HOME/ovpns/$NAME$FILEEXT"
|
||||
printf "\n\n"
|
||||
printf "========================================================\n"
|
||||
printf "\e[1mDone! %s successfully created!\e[0m \n" "$NAME$FILEEXT"
|
||||
|
|
Loading…
Reference in a new issue