From: Arne Fitzenreiter Date: Thu, 1 Jun 2017 08:15:18 +0000 (+0200) Subject: dhcpcd: fix delay after dhcp down. X-Git-Tag: v2.19-core111 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=3b1c776259eba53514c6fa4c120d919b7f3f365e dhcpcd: fix delay after dhcp down. this also cause a delay with some nic's that cannot set the mtu in up state. (eg. e1000e) Signed-off-by: Arne Fitzenreiter --- diff --git a/src/initscripts/networking/dhcpcd.exe b/src/initscripts/networking/dhcpcd.exe index 6c1391d71f..a2cdc66d25 100644 --- a/src/initscripts/networking/dhcpcd.exe +++ b/src/initscripts/networking/dhcpcd.exe @@ -79,6 +79,7 @@ dhcpcd_down() # Only if RED_TYPE=DHCP update /var/ipfire/red if [ "$RED_TYPE" == "DHCP" ]; then logger -p local0.info -t dhcpcd.exe[$$] "${interface} has been brought down" + rm -f /var/ipfire/red/active run_subdir ${rc_base}/init.d/networking/red.down/ fi }