summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-28 22:04:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-28 22:04:12 +0000
commit9aa9d624c85e9ab16f35b0c2fd12c038149454b9 (patch)
tree97ec52b25c374e845217f7c7a5be05984ef66905 /etc/inc/interfaces.inc
parent2305d4c590a2645e2a294c20adb323b3dc25307d (diff)
downloadpfsense-9aa9d624c85e9ab16f35b0c2fd12c038149454b9.zip
pfsense-9aa9d624c85e9ab16f35b0c2fd12c038149454b9.tar.gz
Revert back to base dhclient
Diffstat (limited to 'etc/inc/interfaces.inc')
-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 cf8b7c9..08b80db 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 = `/usr/bin/pgrep -f "dhclient: {$realinterface}(\$| .*)"`;
+ $pid = `ps awwwux | grep dhclient | grep -v grep | grep {$realinterface} | awk '{ print \$2 }'`;
return $pid;
}
OpenPOWER on IntegriCloud