summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-22 23:17:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-22 23:17:33 +0000
commitf1d5b72c4130de3511c302e5e3fc34914a3003de (patch)
tree36a866ea6322c0b00bde66c34c67c2c7993438f1 /etc
parenta19daac5ab219ea8468bcee8eb31b2d5fad18c8d (diff)
downloadpfsense-f1d5b72c4130de3511c302e5e3fc34914a3003de.zip
pfsense-f1d5b72c4130de3511c302e5e3fc34914a3003de.tar.gz
Correct path to pgrep:
# which pgrep /bin/pgrep
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 08dab4d..75ccf12 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -744,7 +744,7 @@ function kill_wpasupplicant($interface) {
function find_dhclient_process($interface) {
if(filter_translate_type_to_real_interface($interface) <> "")
$realinterface = filter_translate_type_to_real_interface($interface);
- $pid = exec("/usr/bin/pgrep -f \"dhclient (.*){$realinterface}\"");
+ $pid = exec("/bin/pgrep -f \"dhclient (.*){$realinterface}\"");
return $pid;
}
OpenPOWER on IntegriCloud