Skip to content

Commit 1a984ba

Browse files
authored
Fix OVPN_ADDITIONAL_CLIENT_CONFIG
OVPN_ADDITIONAL_CLIENT_CONFIG isn't available in combined mode
1 parent aaf2c0f commit 1a984ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/ovpn_getclient

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ nobind
3737
dev $OVPN_DEVICE
3838
key-direction 1
3939
remote-cert-tls server
40-
4140
remote $OVPN_CN $OVPN_PORT $OVPN_PROTO
41+
$OVPN_ADDITIONAL_CLIENT_CONFIG
4242
"
4343
if [ "$mode" == "combined" ]; then
4444
echo "
@@ -62,7 +62,6 @@ key ${cn}.key
6262
ca ca.crt
6363
cert ${cn}.crt
6464
tls-auth ta.key 1
65-
$OVPN_ADDITIONAL_CLIENT_CONFIG
6665
"
6766
fi
6867

0 commit comments

Comments
 (0)