summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2001-03-12 21:26:06 +0000
committerjkh <jkh@FreeBSD.org>2001-03-12 21:26:06 +0000
commitbfe50892f16ba10eae7e56bc0e969046f2a3cf4b (patch)
tree90035c7c53d191ae0b50e09b5a1b47976b69c3bb /usr.sbin/sade/install.c
parent3a2d85776616d31a44d30dad435c30a03e984374 (diff)
downloadFreeBSD-src-bfe50892f16ba10eae7e56bc0e969046f2a3cf4b.zip
FreeBSD-src-bfe50892f16ba10eae7e56bc0e969046f2a3cf4b.tar.gz
Allow a script-using to disable the emergency holographic shell as
a security measure. Requested by: "David E. Cross" <crossd@enterprise.cs.rpi.edu>
Diffstat (limited to 'usr.sbin/sade/install.c')
-rw-r--r--usr.sbin/sade/install.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 638530a..4c51dac 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -240,7 +240,8 @@ installInitial(void)
status = DITEM_FAILURE;
/* stick a helpful shell over on the 4th VTY */
- systemCreateHoloshell();
+ if (!variable_get(VAR_NO_HOLOSHELL))
+ systemCreateHoloshell();
alreadyDone = TRUE;
return status;
OpenPOWER on IntegriCloud