mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
interfaces: remove this workaround now that we force when applicable
This commit is contained in:
parent
8caf1408c5
commit
bf97cdfc87
@ -894,7 +894,6 @@ function interface_bring_down($interface = 'wan', $ifacecfg = false)
|
||||
break;
|
||||
case 'dhcp':
|
||||
killbypid("/var/run/dhclient.{$realif}.pid", 'TERM', true);
|
||||
@unlink("/tmp/{$realif}_oldip"); /* XXX dhclient cannot signal a release */
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -3115,7 +3114,6 @@ function interface_dhcp_configure($interface = 'wan')
|
||||
}
|
||||
|
||||
killbypid("/var/run/dhclient.{$wanif}.pid", 'TERM', true);
|
||||
@unlink("/tmp/{$wanif}_oldip"); /* XXX dhclient cannot signal a release */
|
||||
|
||||
$fd = fopen("/var/etc/dhclient_{$interface}.conf", "w");
|
||||
if (!$fd) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user