diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-06-02 20:51:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-06-02 20:51:48 +0000 |
commit | 153e730ba331995675cf568c53767ba8ff033ac0 (patch) | |
tree | d5dbb755170c867a41b09be374f3f2fe5262caa2 /etc | |
parent | 33b1881cbef21eb105220e0ff81d106feba0c4ae (diff) | |
download | pfsense-153e730ba331995675cf568c53767ba8ff033ac0.zip pfsense-153e730ba331995675cf568c53767ba8ff033ac0.tar.gz |
* Remove path from racoon grep
* Remove [r] from racoon and simply grep for racoon
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 4f09a62..81c88d6 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -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]"); } |