summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-03-18 08:46:23 +0000
committerjkh <jkh@FreeBSD.org>2000-03-18 08:46:23 +0000
commit1ed162731b0b7073dfba31f1298772cd6947d679 (patch)
treef95642cfffacf5a0ad95cb8c2eab89ccda5a94d1 /usr.sbin/sysinstall/install.c
parent3bd4e62fed69d468cdb15c7bd8c83c0564d3d181 (diff)
downloadFreeBSD-src-1ed162731b0b7073dfba31f1298772cd6947d679.zip
FreeBSD-src-1ed162731b0b7073dfba31f1298772cd6947d679.tar.gz
We still need a hack for rsaref package; add it. This doesn't
affect CDs since they don't contain the rsaref package anyway.
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 42e8fcb..67f1bb8 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -52,6 +52,11 @@
#include <unistd.h>
#include <termios.h>
+/* Hack for rsaref package add, which displays interactive license.
+ * Used by package.c
+ */
+int _interactiveHack;
+
static void create_termcap(void);
static void fixit_common(void);
@@ -572,6 +577,7 @@ nodisks:
"load the rsaref package from the current media? Some restrictions on\n"
"usage may apply, so be sure to read the package installation output!")) {
dialog_clear();
+ _interactiveHack = 1;
if (DITEM_STATUS(package_add("rsaref")) != DITEM_SUCCESS) {
msgConfirm("Unable to find an rsaref package on the current intallation media.\n"
"This is probably because you are installing from a CDROM which\n"
@@ -581,6 +587,7 @@ nodisks:
"the rsaref package manually through the Packages menu.");
}
dialog_clear();
+ _interactiveHack = 0;
}
}
else {
OpenPOWER on IntegriCloud