Project

General

Profile

« Previous | Next » 

Revision fae80dfc

Added by Scott Ullrich almost 20 years ago

Allow multi interface Renew/Release

View differences:

etc/inc/interfaces.inc
703 703
	$wanif = $wancfg['if'];
704 704
	mwexec("/sbin/ifconfig {$interface} delete");
705 705
	$pid_dhclient = `ps awux | grep dhclient | grep {$interface}`;
706
	mwexec("kill {$pid_dhclient}");
706
	if($pid_dhclient)
707
		mwexec("kill {$pid_dhclient}");
707 708
	sleep(1);
708 709
}
709 710

  

Also available in: Unified diff