Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
openvpn.sh derp
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed Jan 4, 2015
1 parent bd57acf commit 69224a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ elif [[ $# -ge 1 ]]; then
echo "ERROR: command not found: $1"
exit 13
else
[[ -e /vpn/vpn.conf ]] && { echo "ERROR: VPN not configured!"; sleep 120; }
[[ -e /vpn/vpn-ca.crt ]] && { echo "ERROR: VPN cert missing!"; sleep 120; }
[[ -e /vpn/vpn.conf ]] || { echo "ERROR: VPN not configured!"; sleep 120; }
[[ -e /vpn/vpn-ca.crt ]] || { echo "ERROR: VPN cert missing!"; sleep 120; }
exec openvpn --config /vpn/vpn.conf --log /dev/stdout
fi

0 comments on commit 69224a1

Please sign in to comment.