#!/bin/sh # # Generate OpenVPN configs # set -ex cn=$1 if [ -z "$cn" ]; then echo "Common name not specified" exit 1 fi cat > "$OPENVPN/udp1194.conf" <