Thanks, i got this part working. My only problem now is with the switch causing openvpn to start twice with two different pid’s. For now I’ve disabled the switch, working on a fix for the switchinit script now.