diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-05-10 12:51:33 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-05-10 12:51:33 +0000 |
commit | 9eafb7e2bb0049bbcd97bcf665af556f250d5470 (patch) | |
tree | 4d51bc964520c1d1e6b95f07bc206f9bc82a2c8b /etc/inc | |
parent | 9d15846737a498e3ed01c735b2f5b54a68cbf960 (diff) | |
download | pfsense-9eafb7e2bb0049bbcd97bcf665af556f250d5470.zip pfsense-9eafb7e2bb0049bbcd97bcf665af556f250d5470.tar.gz |
Properly kill the dhcp6 client
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index f7cd1c8..9ae3787 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2544,7 +2544,8 @@ function find_dhclient_process($interface) { function find_dhcp6c_process($interface) { if ($interface) - $pid = `/bin/pgrep -axf "dhcp6c" |grep "{$interface}"`; + $pid = `/bin/ps auxw|grep "dhcp6c" |grep +"{$interface}"|awk '{print $2}'`; else $pid = 0; |