summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/globals.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-06-11 19:33:05 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-06-11 19:33:05 +0000
commit1b1ee5553889e207087539ddafa5dfd4e28bd585 (patch)
treeba998dfb4fcad03e00a5cbf58e2a0ad648bab6e6 /usr.sbin/sysinstall/globals.c
parentb1a97daa1e06ab0de3071f979965878fd056292b (diff)
downloadFreeBSD-src-1b1ee5553889e207087539ddafa5dfd4e28bd585.zip
FreeBSD-src-1b1ee5553889e207087539ddafa5dfd4e28bd585.tar.gz
Merge RELENG_2_0_5 into HEAD
Diffstat (limited to 'usr.sbin/sysinstall/globals.c')
-rw-r--r--usr.sbin/sysinstall/globals.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.sbin/sysinstall/globals.c b/usr.sbin/sysinstall/globals.c
index a2ccbce..2041024 100644
--- a/usr.sbin/sysinstall/globals.c
+++ b/usr.sbin/sysinstall/globals.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: globals.c,v 1.8 1995/05/25 18:48:25 jkh Exp $
+ * $Id: globals.c,v 1.9.2.2 1995/06/05 03:15:38 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -48,16 +48,16 @@
* whatever values we feel are appropriate.
*/
-int RootFD; /* The file descriptor for our ROOT floppy */
int DebugFD; /* Where diagnostic output goes */
-Boolean OnCDROM; /* Are we running off of a CDROM? */
-Boolean OnSerial; /* Are we on a serial console? */
Boolean RunningAsInit; /* Are we running as init? */
Boolean DialogActive;
Boolean ColorDisplay;
Boolean OnVTY;
Variable *VarHead; /* The head of the variable chain */
Device *mediaDevice; /* Where we're installing from */
+unsigned int OptFlags; /* Option flags */
+int BootMgr;
+char *InstallPrefix; /* Always install under here */
/*
* Yes, I know some of these are already automatically initialized as
@@ -66,14 +66,13 @@ Device *mediaDevice; /* Where we're installing from */
void
globalsInit(void)
{
- RootFD = -1;
DebugFD = -1;
- OnCDROM = FALSE;
- OnSerial = FALSE;
ColorDisplay = FALSE;
OnVTY = FALSE;
DialogActive = FALSE;
VarHead = NULL;
mediaDevice = NULL;
RunningAsInit = FALSE;
+ OptFlags = 0;
+ InstallPrefix = NULL;
}
OpenPOWER on IntegriCloud