Merge pull request #78 from gdb/gdb/master

Respect the -D flag
This commit is contained in:
Kyle Manna 2015-11-01 10:38:26 -08:00
commit 3edc12a6b7

View File

@ -211,7 +211,8 @@ EOF
[ -n "$OVPN_AUTH" ] && echo "auth $OVPN_AUTH" >> "$conf" [ -n "$OVPN_AUTH" ] && echo "auth $OVPN_AUTH" >> "$conf"
[ -n "$OVPN_CLIENT_TO_CLIENT" ] && echo "client-to-client" >> "$conf" [ -n "$OVPN_CLIENT_TO_CLIENT" ] && echo "client-to-client" >> "$conf"
for i in "${OVPN_DNS_SERVERS[@]}"; do
[ "$OVPN_DNS" == "1" ] && for i in "${OVPN_DNS_SERVERS[@]}"; do
echo "push dhcp-option DNS $i" >> "$conf" echo "push dhcp-option DNS $i" >> "$conf"
done done
# Append Routes # Append Routes