summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-31 20:06:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-31 20:06:00 +0000
commit67df0c621a1c675769bd09640ebb2e111a5b1b68 (patch)
tree5f9029cf7f375a2e0d1d3bd4e1efb4935849903d /etc/rc
parent2372853db3801881a165fc6083ece00f2d66f989 (diff)
downloadpfsense-67df0c621a1c675769bd09640ebb2e111a5b1b68.zip
pfsense-67df0c621a1c675769bd09640ebb2e111a5b1b68.tar.gz
Ensure /var/etc/openvpn exists
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index bd9b3c0..1246f06 100755
--- a/etc/rc
+++ b/etc/rc
@@ -147,6 +147,8 @@ fi
[ ! -f /var/db/ez-ipupdate.cache ] || touch /var/db/ez-ipupdate.cache 2>/dev/null
+[ ! -d /var/etc/openvpn ] || mkdir -p /var/etc/openvpn 2>/dev/null
+
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
OpenPOWER on IntegriCloud