diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-28 20:54:11 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-28 20:54:11 +0000 |
commit | 590017a61ca58be6918c7060127977c51861c36b (patch) | |
tree | 4feb68ad24dca3ea106d8e7eaa8949c9e16a1f31 /release/sysinstall/globals.c | |
parent | c17cc2e1bedeb94384f0251f46ed703860b946d6 (diff) | |
download | FreeBSD-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 'release/sysinstall/globals.c')
-rw-r--r-- | release/sysinstall/globals.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/release/sysinstall/globals.c b/release/sysinstall/globals.c index c528b63..7e10877 100644 --- a/release/sysinstall/globals.c +++ b/release/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.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; |