diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-24 22:37:44 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-24 22:37:44 +0000 |
commit | f12325f10506a028f4908783cd3ee6224ed86bbf (patch) | |
tree | 2126dd375a22d9a5509cad1e3f4982b216d40218 /usr.sbin/sade/termcap.c | |
parent | 2f34e0b4e61258aab1d6085f83a3a74ceff943d5 (diff) | |
download | FreeBSD-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/termcap.c')
-rw-r--r-- | usr.sbin/sade/termcap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sade/termcap.c b/usr.sbin/sade/termcap.c index 2cd8158..69522c6 100644 --- a/usr.sbin/sade/termcap.c +++ b/usr.sbin/sade/termcap.c @@ -31,6 +31,8 @@ set_termcap(void) OnVTY = OnSerial = FALSE; if (getpid() != 1) DebugFD = open("sysinstall.debug", O_WRONLY|O_CREAT|O_TRUNC, 0644); + else + RunningAsInit = TRUE; term = getenv("TERM"); stat = ioctl(STDERR_FILENO, GIO_COLOR, &ColorDisplay); if (stat < 0) { |