summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-11 07:58:09 +0000
committerjkh <jkh@FreeBSD.org>1994-11-11 07:58:09 +0000
commit59151de82190b81835f61b48bfda74557705adb3 (patch)
treefdd1a907f83de1c8803315bd6190bac9fbf861f1 /sbin
parent586fbcb8a78f49191b4aac54b7ed642b1afc7509 (diff)
downloadFreeBSD-src-59151de82190b81835f61b48bfda74557705adb3.zip
FreeBSD-src-59151de82190b81835f61b48bfda74557705adb3.tar.gz
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.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/sysinstall/stage2.c4
-rw-r--r--sbin/sysinstall/stage5.c10
2 files changed, 8 insertions, 6 deletions
diff --git a/sbin/sysinstall/stage2.c b/sbin/sysinstall/stage2.c
index dd82392..2f86cf7 100644
--- a/sbin/sysinstall/stage2.c
+++ b/sbin/sysinstall/stage2.c
@@ -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);
diff --git a/sbin/sysinstall/stage5.c b/sbin/sysinstall/stage5.c
index 4a814e4..f00cc51 100644
--- a/sbin/sysinstall/stage5.c
+++ b/sbin/sysinstall/stage5.c
@@ -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;
OpenPOWER on IntegriCloud