summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2003-08-12 22:44:48 +0000
committermbr <mbr@FreeBSD.org>2003-08-12 22:44:48 +0000
commit79a88102f9b3d58c3a01da970c115b0aafa54ee6 (patch)
tree63e5cc6fc21eda57bdc52ce958eacc84dc187e7b /etc/pccard_ether
parentf207ea1ade51480d7dec0175949e322c22c0a445 (diff)
downloadFreeBSD-src-79a88102f9b3d58c3a01da970c115b0aafa54ee6.zip
FreeBSD-src-79a88102f9b3d58c3a01da970c115b0aafa54ee6.tar.gz
Move the stop_dhcp in start_dhcp again before the
delay. It seems that dhclient really needs the time to get killed.
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether
index 096b28a..fcea104 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
OpenPOWER on IntegriCloud