summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/globals.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-04-28 20:54:11 +0000
committerjkh <jkh@FreeBSD.org>1996-04-28 20:54:11 +0000
commit590017a61ca58be6918c7060127977c51861c36b (patch)
tree4feb68ad24dca3ea106d8e7eaa8949c9e16a1f31 /usr.sbin/sade/globals.c
parentc17cc2e1bedeb94384f0251f46ed703860b946d6 (diff)
downloadFreeBSD-src-590017a61ca58be6918c7060127977c51861c36b.zip
FreeBSD-src-590017a61ca58be6918c7060127977c51861c36b.tar.gz
Add a new -fake argument to make sysinstall not actually change things while
I'm testing it.
Diffstat (limited to 'usr.sbin/sade/globals.c')
-rw-r--r--usr.sbin/sade/globals.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.sbin/sade/globals.c b/usr.sbin/sade/globals.c
index c528b63..7e10877 100644
--- a/usr.sbin/sade/globals.c
+++ b/usr.sbin/sade/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.11 1995/12/07 10:33:50 peter Exp $
+ * $Id: globals.c,v 1.12 1996/04/13 13:31:38 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -41,14 +41,15 @@
* whatever values we feel are appropriate.
*/
-int DebugFD; /* Where diagnostic output goes */
+int DebugFD; /* Where diagnostic output goes */
+Boolean Fake; /* Only pretend to be useful */
Boolean RunningAsInit; /* Are we running as init? */
-Boolean DialogActive;
-Boolean ColorDisplay;
-Boolean OnVTY;
-Variable *VarHead; /* The head of the variable chain */
+Boolean DialogActive; /* Is libdialog initialized? */
+Boolean ColorDisplay; /* Are we on a color display? */
+Boolean OnVTY; /* Are we on a VTY? */
+Variable *VarHead; /* The head of the variable chain */
Device *mediaDevice; /* Where we're installing from */
-int BootMgr;
+int BootMgr; /* Which boot manager we're using */
/*
* Yes, I know some of these are already automatically initialized as
@@ -59,6 +60,7 @@ globalsInit(void)
{
DebugFD = -1;
ColorDisplay = FALSE;
+ Fake = FALSE;
OnVTY = FALSE;
DialogActive = FALSE;
VarHead = NULL;
OpenPOWER on IntegriCloud