Allow a script-using to disable the emergency holographic shell as
a security measure. Requested by: "David E. Cross" <crossd@enterprise.cs.rpi.edu>
This commit is contained in:
parent
95b2071c56
commit
061de247e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74177
@ -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;
|
||||
|
@ -652,7 +652,10 @@ Start an upgrade installation.
|
||||
None
|
||||
.It installFixitHoloShell
|
||||
Start up the "emergency holographic shell" over on VTY4
|
||||
if running as init.
|
||||
if running as init. This will also happen automatically
|
||||
as part of the installation process unless
|
||||
.Ar noHoloShell
|
||||
is set.
|
||||
.Pp
|
||||
.Sy Variables :
|
||||
None
|
||||
|
@ -147,6 +147,7 @@
|
||||
#define VAR_NFS_SERVER "nfs_server_enable"
|
||||
#define VAR_NO_CONFIRM "noConfirm"
|
||||
#define VAR_NO_ERROR "noError"
|
||||
#define VAR_NO_HOLOSHELL "noHoloShell"
|
||||
#define VAR_NO_WARN "noWarn"
|
||||
#define VAR_NO_USR "noUsr"
|
||||
#define VAR_NONINTERACTIVE "nonInteractive"
|
||||
|
@ -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;
|
||||
|
@ -652,7 +652,10 @@ Start an upgrade installation.
|
||||
None
|
||||
.It installFixitHoloShell
|
||||
Start up the "emergency holographic shell" over on VTY4
|
||||
if running as init.
|
||||
if running as init. This will also happen automatically
|
||||
as part of the installation process unless
|
||||
.Ar noHoloShell
|
||||
is set.
|
||||
.Pp
|
||||
.Sy Variables :
|
||||
None
|
||||
|
@ -147,6 +147,7 @@
|
||||
#define VAR_NFS_SERVER "nfs_server_enable"
|
||||
#define VAR_NO_CONFIRM "noConfirm"
|
||||
#define VAR_NO_ERROR "noError"
|
||||
#define VAR_NO_HOLOSHELL "noHoloShell"
|
||||
#define VAR_NO_WARN "noWarn"
|
||||
#define VAR_NO_USR "noUsr"
|
||||
#define VAR_NONINTERACTIVE "nonInteractive"
|
||||
|
Loading…
Reference in New Issue
Block a user