Revision ccc5f959
Added by Ermal LUÇI over 12 years ago
etc/inc/interfaces.inc | ||
---|---|---|
3631 | 3631 |
else |
3632 | 3632 |
log_error(printf(gettext("Could not bring up %s interface in interface_dhcp_configure()"), $wanif)); |
3633 | 3633 |
|
3634 |
$pid = find_dhclient_process($wanif); |
|
3635 |
if ($pid) |
|
3636 |
posix_kill($pid, SIGTERM); |
|
3637 | 3634 |
/* fire up dhclient */ |
3638 | 3635 |
mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_{$interface}.conf {$wanif} > {$g['tmp_path']}/{$wanif}_output 2> {$g['tmp_path']}/{$wanif}_error_output"); |
3639 | 3636 |
|
Also available in: Unified diff
Remove even this seems dhclient is smart enough to avoid this by itself