summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rc.inet11
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.inet1 b/rc.inet1
index 6c494d2..10f97d8 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -316,6 +316,7 @@ if_down() {
if ! /sbin/dhcpcd $DHCP_OPTIONS -k -d ${1} 2>/dev/null; then
echo "/etc/rc.d/rc.inet1: failed to stop dhcpcd for interface ${1}" | $LOGGER
fi
+ sleep 2
fi
if [ -n "${IPADDR[$i]}" ] || [ -n "${IPADDR6[$i]}" ]; then # flush any fixed IPs
echo "/etc/rc.d/rc.inet1: /sbin/ip address flush dev ${1}" | $LOGGER