Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst ping generates output, don't wait for ...
details: https://anonhg.NetBSD.org/src/rev/a485ed6072b3
branches: trunk
changeset: 555493:a485ed6072b3
user: dsl <dsl%NetBSD.org@localhost>
date: Wed Nov 19 00:16:49 2003 +0000
description:
ping generates output, don't wait for user to acknowledge it.
diffstat:
distrib/utils/sysinst/net.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 978459bb7229 -r a485ed6072b3 distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c Wed Nov 19 00:11:55 2003 +0000
+++ b/distrib/utils/sysinst/net.c Wed Nov 19 00:16:49 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: net.c,v 1.98 2003/11/15 12:53:34 sekiya Exp $ */
+/* $NetBSD: net.c,v 1.99 2003/11/19 00:16:49 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -731,21 +731,21 @@
#ifdef INET6
if (v6config && network_up) {
- network_up = !run_prog(0, NULL,
+ network_up = !run_prog(RUN_DISPLAY | RUN_PROGRESS, NULL,
"/sbin/ping6 -v -c 3 -n -I %s ff02::2", net_dev);
if (net_namesvr6[0] != '\0')
- network_up = !run_prog(RUN_DISPLAY, NULL,
+ network_up = !run_prog(RUN_DISPLAY | RUN_PROGRESS, NULL,
"/sbin/ping6 -v -c 3 -n %s", net_namesvr6);
}
#endif
if (net_namesvr[0] != '\0' && network_up)
- network_up = !run_prog(0, NULL,
+ network_up = !run_prog(RUN_DISPLAY | RUN_PROGRESS, NULL,
"/sbin/ping -v -c 5 -w 5 -o -n %s", net_namesvr);
if (net_defroute[0] != '\0' && network_up)
- network_up = !run_prog(0, NULL,
+ network_up = !run_prog(RUN_DISPLAY | RUN_PROGRESS, NULL,
"/sbin/ping -v -c 5 -w 5 -o -n %s", net_defroute);
fflush(NULL);
Home |
Main Index |
Thread Index |
Old Index