aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 03:41:52 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 03:41:52 +0000
commit295acba8ba54a8de8ae90eb2ea5fbb11119d9538 (patch)
tree717861a084fa8fba39534e98545eb9f2533f4d9d
parentd9f612f5abb2acc41f3de76e6e94734e221ac1f4 (diff)
downloadsrc-295acba8ba54a8de8ae90eb2ea5fbb11119d9538.tar.gz
src-295acba8ba54a8de8ae90eb2ea5fbb11119d9538.zip
Fixup:
1. Don't use kernel name for headers - I'm running 2.0.1-Development, not ALPHA, and this messes things up. 2. The last dialog was too big, make it a little smaller. Just cosmetic, while I'm in here.
Notes
Notes: svn path=/head/; revision=4255
-rw-r--r--sbin/sysinstall/stage5.c4
-rw-r--r--sbin/sysinstall/sysinstall.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sbin/sysinstall/stage5.c b/sbin/sysinstall/stage5.c
index ac3e5a0ed104..e3fdab6d206a 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.11 1994/11/07 09:49:06 jkh Exp $
+ * $Id: stage5.c,v 1.12 1994/11/07 13:48:53 jkh Exp $
*
*/
@@ -36,7 +36,7 @@ stage5()
{
int exec_sh = 1;
- if (!dialog_yesno("End of initial installation", msg, 15, 76))
+ if (!dialog_yesno("End of initial installation", msg, 10, 76))
exec_sh = 0;
end_dialog();
dialog_active=0;
diff --git a/sbin/sysinstall/sysinstall.c b/sbin/sysinstall/sysinstall.c
index 8e5d8e822cb7..9753fa956064 100644
--- a/sbin/sysinstall/sysinstall.c
+++ b/sbin/sysinstall/sysinstall.c
@@ -787,10 +787,14 @@ main(int argc, char **argv)
if (alloc_memory() == -1)
fatal("Couldn't allocate memory\n");
+#if 0 /* Later. Our kernels don't say the right thing at present anyway */
if (uname(&utsname) == -1) {
/* Fake uname entry */
bcopy("FreeBSD", utsname.sysname, strlen("FreeBSD"));
}
+#else
+ bcopy("FreeBSD-2.0.ALPHA", utsname.sysname, strlen("FreeBSD-2.0.ALPHA"));
+#endif
/* XXX - libdialog has particularly bad return value checking */
init_dialog();