From 1c212393d20ca744257644964943d1fd9b45b91e Mon Sep 17 00:00:00 2001 From: mbr Date: Tue, 12 Aug 2003 22:44:48 +0000 Subject: [PATCH] Move the stop_dhcp in start_dhcp again before the delay. It seems that dhclient really needs the time to get killed. --- etc/pccard_ether | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/pccard_ether b/etc/pccard_ether index 096b28a1f97b..fcea104dca0e 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -81,6 +81,7 @@ stop_dhcp() { } start_dhcp() { + stop_dhcp case ${pccard_ether_delay} in [Nn][Oo]) ;; @@ -88,7 +89,6 @@ start_dhcp() { sleep ${pccard_ether_delay} ;; esac - stop_dhcp [ -n "$dhcp_program" ] && dhclient_program="$dhcp_program" [ -n "$dhcp_flags" ] && dhclient_flags="$dhcp_flags" if [ -x "${dhclient_program}" ]; then