diff options
author | Darren 'Tadgy' Austin <darren@afterdark.org.uk> | 2018-07-31 22:11:48 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2018-11-25 19:48:54 -0600 |
commit | 287fda1e7803e757047e49d4deef423bb05faa41 (patch) | |
tree | 39c47f055ab49c0c0edc850cfc086f6195487056 | |
parent | 93c7cc7b5949d00a944d3e7cd6cbc9fa2cfabbb1 (diff) | |
download | slacknetsetup-287fda1e7803e757047e49d4deef423bb05faa41.tar.xz |
Increase sleep time after dhcpcd is killed
Signed-off-by: Robby Workman <rworkman@slackware.com>
-rw-r--r-- | rc.inet1 | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |