Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst wait a couple of seconds for the inter...
details: https://anonhg.NetBSD.org/src/rev/22c7451dd661
branches: trunk
changeset: 510840:22c7451dd661
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jun 07 12:34:55 2001 +0000
description:
wait a couple of seconds for the interface to go live, before calling ping.
fixes problem noted by gkm%petting-zoo.net@localhost where the interface was still
negotiating before ping failed, causing the network config to wrongly failed.
diffstat:
distrib/utils/sysinst/net.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r e0a4d15f3ca3 -r 22c7451dd661 distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c Thu Jun 07 12:20:42 2001 +0000
+++ b/distrib/utils/sysinst/net.c Thu Jun 07 12:34:55 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: net.c,v 1.74 2001/05/07 11:49:52 itojun Exp $ */
+/* $NetBSD: net.c,v 1.75 2001/06/07 12:34:55 mrg Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -630,6 +630,11 @@
}
/*
+ * wait a couple of seconds for the interface to go live.
+ */
+ sleep(5);
+
+ /*
* ping should be verbose, so users can see the cause
* of a network failure.
*/
Home |
Main Index |
Thread Index |
Old Index