diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-30 16:50:41 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-30 16:51:09 -0400 |
commit | 202e53791422008954d706fc6f58a446e4eba952 (patch) | |
tree | ec1dcddcbb76113b3590dd1a748921ba5915f4bf | |
parent | d02a500dff36827d64654a5f9b6fd18ac8714766 (diff) | |
download | pfsense-202e53791422008954d706fc6f58a446e4eba952.zip pfsense-202e53791422008954d706fc6f58a446e4eba952.tar.gz |
Ensure /var/db/racoon exists
-rw-r--r-- | etc/inc/vpn.inc | 2 |
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"); |