Revision 4edbcf6d
Added by Seth Mos about 14 years ago
etc/inc/interfaces.inc | ||
---|---|---|
2544 | 2544 |
|
2545 | 2545 |
function find_dhcp6c_process($interface) { |
2546 | 2546 |
if ($interface) |
2547 |
$pid = `/bin/ps auxw|grep "dhcp6c" |grep |
|
2548 |
"{$interface}"|awk '{print $2}'`; |
|
2547 |
$pid = `/bin/ps auxw|grep "dhcp6c" |grep "{$interface}"|awk '{print $2}'`; |
|
2549 | 2548 |
else |
2550 | 2549 |
$pid = 0; |
2551 | 2550 |
|
Also available in: Unified diff
fix accidental linebreak to cause the pid to always return 0