diff options
author | jkh <jkh@FreeBSD.org> | 2000-03-12 03:57:26 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-03-12 03:57:26 +0000 |
commit | f5f929f515b3732dd41bc954df25e9152260d077 (patch) | |
tree | b01032e6384860e6de866e07eb52da9349abffbd /usr.sbin/sade | |
parent | ae1ec22431a55d47ae6ea519516d64d71f6b6d68 (diff) | |
download | FreeBSD-src-f5f929f515b3732dd41bc954df25e9152260d077.zip FreeBSD-src-f5f929f515b3732dd41bc954df25e9152260d077.tar.gz |
Remove PkgInteractive hack - it won't work like this.
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r-- | usr.sbin/sade/globals.c | 2 | ||||
-rw-r--r-- | usr.sbin/sade/install.c | 2 | ||||
-rw-r--r-- | usr.sbin/sade/sade.h | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/sade/globals.c b/usr.sbin/sade/globals.c index 31eb3a7..2dccef2 100644 --- a/usr.sbin/sade/globals.c +++ b/usr.sbin/sade/globals.c @@ -47,7 +47,6 @@ Boolean RunningAsInit; /* Are we running as init? */ Boolean DialogActive; /* Is libdialog initialized? */ Boolean ColorDisplay; /* Are we on a color display? */ Boolean OnVTY; /* Are we on a VTY? */ -Boolean PkgInteractive; /* Is the package going to spew at us? */ Boolean USAResident; /* Are we cryptographically challenged? */ Variable *VarHead; /* The head of the variable chain */ Device *mediaDevice; /* Where we're installing from */ @@ -64,7 +63,6 @@ globalsInit(void) { DebugFD = -1; ColorDisplay = FALSE; - PkgInteractive = FALSE; Fake = FALSE; OnVTY = FALSE; DialogActive = FALSE; diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 29a4ca4..6e12945 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -571,14 +571,12 @@ nodisks: "response to the CRYPTO distribution dialog. Do you want to try and\n" "load the rsaref package from the current media? Some restrictions on\n" "usage may apply, so be sure to read the package installation output!")) { - PkgInteractive = TRUE; dialog_clear(); if (DITEM_STATUS(package_add("rsaref")) != DITEM_SUCCESS) { msgConfirm("Unable to find an rsaref package on the current intallation media.\n" "You may wish to switch media types and try again, perhaps\n" "from an FTP server which carries this package."); } - PkgInteractive = FALSE; dialog_clear(); } } diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 2d3bf6f..e4a3fc1 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -341,7 +341,6 @@ extern Boolean RunningAsInit; /* Are we running stand-alone? */ extern Boolean DialogActive; /* Is the dialog() stuff up? */ extern Boolean ColorDisplay; /* Are we on a color display? */ extern Boolean OnVTY; /* On a syscons VTY? */ -Boolean PkgInteractive; /* Is the package going to spew at us? */ Boolean USAResident; /* Are we cryptographically challenged? */ extern Variable *VarHead; /* The head of the variable chain */ extern Device *mediaDevice; /* Where we're getting our distribution from */ |