With the current Racoon we need to inform that we are reloading

our SPD entries with a SIGHUP
This commit is contained in:
Seth Mos 2008-02-05 09:11:59 +00:00
parent b096010e1c
commit 73a9865736

View File

@ -575,6 +575,8 @@ EOD;
mwexec("/sbin/setkey -F");
/* load SPD */
mwexec("/sbin/setkey -f {$g['varetc_path']}/spd.conf");
/* We are already online, reload */
mwexec("/usr/bin/killall -HUP racoon");
} else {
/* start racoon */
mwexec("/usr/local/sbin/racoon -f {$g['varetc_path']}/racoon.conf");
@ -583,6 +585,8 @@ EOD;
mwexec("/sbin/setkey -F");
/* load SPD */
mwexec("/sbin/setkey -f {$g['varetc_path']}/spd.conf");
/* We are already online, reload */
mwexec("/usr/bin/killall -HUP racoon");
}
}
}