summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/globals.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-24 22:37:44 +0000
committerjkh <jkh@FreeBSD.org>1995-05-24 22:37:44 +0000
commitf12325f10506a028f4908783cd3ee6224ed86bbf (patch)
tree2126dd375a22d9a5509cad1e3f4982b216d40218 /usr.sbin/sade/globals.c
parent2f34e0b4e61258aab1d6085f83a3a74ceff943d5 (diff)
downloadFreeBSD-src-f12325f10506a028f4908783cd3ee6224ed86bbf.zip
FreeBSD-src-f12325f10506a028f4908783cd3ee6224ed86bbf.tar.gz
1. Spawn a shell on VTY4 and leave it lying around.
2. Bring in Gary's prompt stuff in extractGeneric. 3. Add another global for telling when we're running as init.
Diffstat (limited to 'usr.sbin/sade/globals.c')
-rw-r--r--usr.sbin/sade/globals.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sade/globals.c b/usr.sbin/sade/globals.c
index 15a346e..daac658 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.5 1995/05/16 11:37:12 jkh Exp $
+ * $Id: globals.c,v 1.6 1995/05/20 00:13:09 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -52,6 +52,7 @@ int CpioFD; /* The file descriptor for our CPIO 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;
@@ -74,4 +75,5 @@ globalsInit(void)
DialogActive = FALSE;
VarHead = NULL;
mediaDevice = NULL;
+ RunningAsInit = FALSE;
}
OpenPOWER on IntegriCloud