Remove deprecated options
This commit is contained in:
parent
4553dd9c21
commit
7318a2040a
1 changed files with 2 additions and 2 deletions
|
|
@ -742,11 +742,11 @@ function installOpenVPN() {
|
|||
case $TLS_SIG in
|
||||
1)
|
||||
# Generate tls-crypt key
|
||||
openvpn --genkey --secret /etc/openvpn/tls-crypt.key
|
||||
openvpn --genkey secret /etc/openvpn/tls-crypt.key
|
||||
;;
|
||||
2)
|
||||
# Generate tls-auth key
|
||||
openvpn --genkey --secret /etc/openvpn/tls-auth.key
|
||||
openvpn --genkey secret /etc/openvpn/tls-auth.key
|
||||
;;
|
||||
esac
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue