Remove deprecated options

This commit is contained in:
RewardedIvan 2022-10-28 07:43:39 +00:00 committed by GitHub
parent 4553dd9c21
commit 7318a2040a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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