mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
20 lines
368 B
Bash
20 lines
368 B
Bash
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
OPENVPN_RUNDIR="%%OPENVPN_RUNDIR%%"
|
|
OPENVPN_LOGDIR="%%OPENVPN_LOGDIR%%"
|
|
OPENVPN_CONFDIR="%%OPENVPN_CONFDIR%%"
|
|
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
install -d -o root -g wheel -m 0750 ${OPENVPN_RUNDIR}
|
|
install -d -o root -g wheel -m 0750 ${OPENVPN_LOGDIR}
|
|
install -d -o root -g wheel -m 0750 ${OPENVPN_CONFDIR}
|
|
;;
|
|
POST-INSTALL)
|
|
;;
|
|
esac
|
|
exit 0
|
|
#EOF
|