allow the user to continue the install, even if sysinst thinks that the

network has not been configured (due to what ever local condition that
causes ping to fail, or whatever.)  requested by kre in private email
many many months ago.
This commit is contained in:
mrg 2002-02-04 14:35:10 +00:00
parent dedd8b8cb7
commit c0099774ec
3 changed files with 29 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.en,v 1.83 2001/06/06 23:12:49 scottr Exp $ */
/* $NetBSD: msg.mi.en,v 1.84 2002/02/04 14:35:10 mrg Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -672,7 +672,13 @@ Aborting upgrade.}
message netnotup
{There was a problem in setting up the network. Either your gateway
or your nameserver was not reachable by a ping. Do you want to
configure your network again? (No aborts the install process.)
configure your network again? (No allows you to continue anyway
or abort the install process.)
}
message netnotup_continueanyway
{Would you like to continue the install process anyway, and assume
that the network is working? (No aborts the install process.)
}
message makedev

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.fr,v 1.41 2001/06/06 23:12:50 scottr Exp $ */
/* $NetBSD: msg.mi.fr,v 1.42 2002/02/04 14:35:10 mrg Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -669,6 +669,11 @@ serveur de noms, ou bien votre gateway ne peuvent
Voulez vous configurer de nouveau votre réseau ? (Non arrêtera l'installation)
}
message netnotup_continueanyway
{Would you like to continue the install process anyway, and assume
that the network is working? (No aborts the install process.)
}
message makedev
{Création des fichiers de device ...
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: net.c,v 1.75 2001/06/07 12:34:55 mrg Exp $ */
/* $NetBSD: net.c,v 1.76 2002/02/04 14:35:10 mrg Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -679,8 +679,13 @@ get_via_ftp()
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");
@ -769,8 +774,13 @@ get_via_nfs()
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 */