Remove even this seems dhclient is smart enough to avoid this by itself

This commit is contained in:
Ermal 2013-03-19 20:27:30 +00:00
parent a9518178f9
commit ccc5f959ad

View File

@ -3631,9 +3631,6 @@ EOD;
else
log_error(printf(gettext("Could not bring up %s interface in interface_dhcp_configure()"), $wanif));
$pid = find_dhclient_process($wanif);
if ($pid)
posix_kill($pid, SIGTERM);
/* fire up dhclient */
mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_{$interface}.conf {$wanif} > {$g['tmp_path']}/{$wanif}_output 2> {$g['tmp_path']}/{$wanif}_error_output");