mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
1. Ask the user one final time before newfs'ing his disk into oblivion.
This means that even "proceed" can be chosen now without going irrevokably down that path. 2. Clean up the stage5 text.
This commit is contained in:
parent
f10ad5791f
commit
dcaed5228b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4357
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: stage2.c,v 1.12 1994/11/04 21:38:36 phk Exp $
|
||||
* $Id: stage2.c,v 1.13 1994/11/06 01:16:29 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -36,6 +36,8 @@ stage2()
|
||||
FILE *f1;
|
||||
int i, j;
|
||||
|
||||
if (dialog_yesno("Last Chance!", "Are you sure you want to proceed with the installation?\nLast chance before wiping your hard disk!", 8, 72))
|
||||
exit(0);
|
||||
/* Sort in mountpoint order */
|
||||
memset(Fsize, 0, sizeof Fsize);
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
|
||||
* ----------------------------------------------------------------------------
|
||||
*
|
||||
* $Id: stage5.c,v 1.13 1994/11/08 03:41:42 jkh Exp $
|
||||
* $Id: stage5.c,v 1.14 1994/11/08 14:04:19 jkh Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -27,16 +27,16 @@
|
||||
static unsigned char msg[] = "
|
||||
You are now done with the initial phase of the installation that
|
||||
gets FreeBSD onto your hard disk. At this point, we need to go on
|
||||
to ftp, SLIP, DOS floppy, parallel port or carrier pigeon a bindist
|
||||
over so that your system is actually usable. Select _Yes_ to proceed
|
||||
with this phase, or _No_ to simply drop into a shell.";
|
||||
to use FTP, NFS, Tape, CD or DOS floppies to get a bindist onto your
|
||||
system so that it's actually usable. Select Yes to proceed with this
|
||||
phase, or No to simply drop into a shell.";
|
||||
|
||||
void
|
||||
stage5()
|
||||
{
|
||||
int exec_sh = 1;
|
||||
|
||||
if (!dialog_yesno("End of initial installation", msg, 10, 76))
|
||||
if (!dialog_yesno("End of initial installation", msg, 11, 76))
|
||||
exec_sh = 0;
|
||||
end_dialog();
|
||||
dialog_active=0;
|
||||
|
Loading…
Reference in New Issue
Block a user