mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
With the current Racoon we need to inform that we are reloading
our SPD entries with a SIGHUP
This commit is contained in:
parent
b096010e1c
commit
73a9865736
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user