Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/distrib/utils/sysinst Pull up revision 1.76 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/c841e9d5b398
branches:  netbsd-1-5
changeset: 492873:c841e9d5b398
user:      he <he%NetBSD.org@localhost>
date:      Tue Feb 26 20:19:28 2002 +0000

description:
Pull up revision 1.76 (requested by he):
  Allow the user to continue the install even if sysinst thinks
  that the network configure failed (caused by e.g. failure of the
  default gateway to respond to ping).

diffstat:

 distrib/utils/sysinst/net.c |  20 +++++++++++++++-----
 1 files changed, 15 insertions(+), 5 deletions(-)

diffs (41 lines):

diff -r dabef10d5555 -r c841e9d5b398 distrib/utils/sysinst/net.c
--- a/distrib/utils/sysinst/net.c       Tue Feb 26 20:19:15 2002 +0000
+++ b/distrib/utils/sysinst/net.c       Tue Feb 26 20:19:28 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net.c,v 1.58.2.4 2000/10/18 17:51:15 tv Exp $  */
+/*     $NetBSD: net.c,v 1.58.2.5 2002/02/26 20:19:28 he Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -690,8 +690,13 @@
                        return (-1);
                msg_display(MSG_netnotup);
                process_menu(MENU_yesno);
-               if (!yesno)
-                       return 0;
+               if (!yesno) {
+                       msg_display(MSG_netnotup_continueanyway);
+                       process_menu(MENU_yesno);
+                       if (!yesno)
+                               return 0;
+                       network_up = 1;
+               }
        }
 
        cd_dist_dir("ftp");
@@ -778,8 +783,13 @@
                        return (-1);
                 msg_display(MSG_netnotup);
                 process_menu(MENU_yesno);
-                if (!yesno)
-                        return (0);
+                if (!yesno) {
+                       msg_display(MSG_netnotup_continueanyway);
+                       process_menu(MENU_yesno);
+                       if (!yesno)
+                               return 0;
+                       network_up = 1;
+               }
         }
 
        /* Get server and filepath */



Home | Main Index | Thread Index | Old Index