diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-08 00:56:28 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-08 00:56:28 +0000 |
commit | be72875c5f0b709e23a63a45346e11e16b2eed7f (patch) | |
tree | 40acf5a99a85bbc29e331bd2b8d004b00e6585b0 /usr.sbin/sysinstall/disks.c | |
parent | 7633746449bc56aa87613f2394c760cda88f01ba (diff) | |
download | FreeBSD-src-be72875c5f0b709e23a63a45346e11e16b2eed7f.zip FreeBSD-src-be72875c5f0b709e23a63a45346e11e16b2eed7f.tar.gz |
Add a wizard button for Poul.
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 23648fb..749e6c5 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/sysinstall/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.7 1995/05/07 22:07:51 jkh Exp $ + * $Id: disks.c,v 1.9 1995/05/08 00:38:02 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -550,6 +550,25 @@ partition_disks(struct disk **disks) msg = MSG_NOT_APPLICABLE; break; + case 'W': + if (!msgYesNo("Are you sure you want to go into Wizard mode?\nThis is an entirely documented feature which you are not\nexpected to understand!")) { + int i; + + clear(); + dialog_clear(); + end_dialog(); + DialogActive = FALSE; + for (i = 0; disks[i]; i++) + slice_wizard(disks[i]); + clear(); + dialog_clear(); + DialogActive = TRUE; + record_fbsd_chunks(disks); + } + else + msg = "A most prudent choice!"; + break; + case 27: /* ESC */ partitioning = FALSE; break; |