More defaults and fixing typos

This commit is contained in:
Quentin McGaw
2019-04-23 10:32:15 +02:00
parent b26cb508de
commit aad11510f5
4 changed files with 7 additions and 5 deletions

View File

@@ -59,6 +59,7 @@ exitIfNotIn ENCRYPTION "normal,strong"
exitIfNotIn PROTOCOL "tcp,udp"
exitIfNotIn BLOCK_MALICIOUS "on,off"
exitIfNotIn BLOCK_NSA "on,off"
exitIfNotIn NONROOT "yes,no"
cat "/openvpn/$PROTOCOL-$ENCRYPTION/$REGION.ovpn" &> /dev/null
exitOnError $? "/openvpn/$PROTOCOL-$ENCRYPTION/$REGION.ovpn is not accessible"
for SUBNET in ${EXTRA_SUBNETS//,/ }; do