diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-28 22:04:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-28 22:04:12 +0000 |
commit | 9aa9d624c85e9ab16f35b0c2fd12c038149454b9 (patch) | |
tree | 97ec52b25c374e845217f7c7a5be05984ef66905 /etc/inc/interfaces.inc | |
parent | 2305d4c590a2645e2a294c20adb323b3dc25307d (diff) | |
download | pfsense-9aa9d624c85e9ab16f35b0c2fd12c038149454b9.zip pfsense-9aa9d624c85e9ab16f35b0c2fd12c038149454b9.tar.gz |
Revert back to base dhclient
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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; } |