mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Remove path from racoon grep
This commit is contained in:
parent
c9b0942dac
commit
2eae7fc9fe
@ -562,7 +562,7 @@ EOD;
|
||||
/* We are already online, reload */
|
||||
mwexec("/usr/local/sbin/racoonctl reload-config");
|
||||
sleep(1);
|
||||
exec("/bin/ps auxw | grep \"/usr/local/sbin/[r]acoon\" | awk '{print $2}'", $racoonpid);
|
||||
exec("/bin/ps auxw | grep \"racoon\" | awk '{print $2}'", $racoonpid);
|
||||
if(! empty($racoonpid)) {
|
||||
mwexec("/usr/bin/kill -HUP $racoonpid[0]");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user