summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-06-02 20:49:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-06-02 20:49:34 +0000
commitc9b0942dac9f9c67ea11b30e37e7747c5572412d (patch)
tree4418741d0df5cfabf7edc8ddefd52428f69c360e /etc
parentdab8fd991d1bfdff611945fe45726d8ca7ef50bb (diff)
downloadpfsense-c9b0942dac9f9c67ea11b30e37e7747c5572412d.zip
pfsense-c9b0942dac9f9c67ea11b30e37e7747c5572412d.tar.gz
Correct ps location
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 697ed7a..7cd235d 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("/usr/bin/ps auxw | grep \"/usr/local/sbin/[r]acoon\" | awk '{print $2}'", $racoonpid);
+ exec("/bin/ps auxw | grep \"/usr/local/sbin/[r]acoon\" | awk '{print $2}'", $racoonpid);
if(! empty($racoonpid)) {
mwexec("/usr/bin/kill -HUP $racoonpid[0]");
}
OpenPOWER on IntegriCloud