#!/bin/bash if test "$1" != "start" then exit 0 fi (openvpn /userdata/system/openvpn/.ovpn &) 2>&1 | tee -a /var/log/vpn.log