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
|
case $TLS_SIG in
|
||||||
1)
|
1)
|
||||||
# Generate tls-crypt key
|
# Generate tls-crypt key
|
||||||
openvpn --genkey --secret /etc/openvpn/tls-crypt.key
|
openvpn --genkey secret /etc/openvpn/tls-crypt.key
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
# Generate tls-auth key
|
# Generate tls-auth key
|
||||||
openvpn --genkey --secret /etc/openvpn/tls-auth.key
|
openvpn --genkey secret /etc/openvpn/tls-auth.key
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue