summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-30 16:50:41 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-05-30 16:51:09 -0400
commit202e53791422008954d706fc6f58a446e4eba952 (patch)
treeec1dcddcbb76113b3590dd1a748921ba5915f4bf
parentd02a500dff36827d64654a5f9b6fd18ac8714766 (diff)
downloadpfsense-202e53791422008954d706fc6f58a446e4eba952.zip
pfsense-202e53791422008954d706fc6f58a446e4eba952.tar.gz
Ensure /var/db/racoon exists
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 365d376..0d38c10 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -820,6 +820,8 @@ EOD;
if (!file_exists("/var/db/racoon"))
mkdir("/var/db/racoon/");
+ exec("/bin/mkdir -p /var/db/racoon");
+
/* mange racoon process */
if (is_process_running("racoon")) {
sleep("0.1");
OpenPOWER on IntegriCloud