summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-08-18 21:47:34 +0000
committerjkh <jkh@FreeBSD.org>1997-08-18 21:47:34 +0000
commit065b1532d986d18de3ceed4f509708776ea01e81 (patch)
tree4de634f11e327a8e41d5833326c6fb1b73e25071 /usr.sbin/sade
parent92a6877dd5d448cb9f1acefaa772e0349850111a (diff)
downloadFreeBSD-src-065b1532d986d18de3ceed4f509708776ea01e81.zip
FreeBSD-src-065b1532d986d18de3ceed4f509708776ea01e81.tar.gz
Fix fstab sequence number bug.
Add a few more strategic screen clears. Fix registration form bug.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/config.c6
-rw-r--r--usr.sbin/sade/install.c7
2 files changed, 9 insertions, 4 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index c2d945a..cb70bce 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: config.c,v 1.101 1997/06/21 15:45:07 jkh Exp $
+ * $Id: config.c,v 1.102 1997/08/17 10:08:25 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -167,8 +167,10 @@ seq_num(Chunk *c1)
if (c1->type == part && c1->subtype != FS_SWAP) {
if (rootdev_is_od == 0 && strncmp(c1->name, "od", 2) == 0)
return 0;
- else
+ else if (c1->flags & CHUNK_IS_ROOT)
return 1;
+ else
+ return 2;
}
return 0;
}
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 1d3554d..5b178d5 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.194 1997/07/16 15:21:57 jkh Exp $
+ * $Id: install.c,v 1.195 1997/07/23 15:13:18 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -604,14 +604,17 @@ installNovice(dialogMenuItem *self)
"This is where your registration can really help us, and you can also\n"
"sign up for the new FreeBSD newsletter (its free!) at the same time.\n"))
configRegister(NULL);
- else
+ else {
+ dialog_clear_norefresh();
msgConfirm("OK, but if you should change your mind then you always can register\n"
"later by typing ``/stand/sysinstall register'' or by simply visiting our\n"
"web site at http://www.freebsd.org/register.html");
+ }
/* XXX Put whatever other nice configuration questions you'd like to ask the user here XXX */
/* Give user the option of one last configuration spree */
+ dialog_clear_norefresh();
installConfigure();
return DITEM_LEAVE_MENU | DITEM_RESTORE;
OpenPOWER on IntegriCloud