Ensure /var/db/racoon exists

This commit is contained in:
Scott Ullrich 2009-05-30 16:51:56 -04:00
parent d5b116bb93
commit 08d591b585

View File

@ -642,6 +642,8 @@ EOD;
fclose($fd);
chmod("{$g['varetc_path']}/psk.txt", 0600);
exec("/sbin/mkdir -p /var/db/racoon");
if(is_process_running("racoon")) {
log_error("IPSEC: Send a reload signal to the IPsec process");
sleep("0.1");