Wrap dir creation for openvpn in a function to reduce duplication, and use the function before places that could potentially write in the dir.
Wrap dir creation for openvpn in a function to reduce duplication, and use the function before places that could potentially write in the dir.

ch1c4um/pfsense,NewEraCracker/pfsense,brunostein/pfsense,ch1c4um/pfsense,pfsense/pfsense,ptorsten/pfsense,dennypage/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,brunostein/pfsense,NewEraCracker/pfsense,brunostein/pfsense,dennypage/pfsense,dennypage/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,ch1c4um/pfsense,phil-davis/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,dennypage/pfsense,NOYB/pfsense,ptorsten/pfsense,NOYB/pfsense,pfsense/pfsense,jxmx/pfsense,pfsense/pfsense,ch1c4um/pfsense,phil-davis/pfsense,NOYB/pfsense,NewEraCracker/pfsense,jxmx/pfsense,ptorsten/pfsense,jxmx/pfsense