summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-02-29 10:40:59 +0000
committerjkh <jkh@FreeBSD.org>2000-02-29 10:40:59 +0000
commit8905bd306e55ccfa2a8ee59d95e9ed5bc3785f8a (patch)
tree86307e06f2ef1119a459d79e6433486546aa6a95 /usr.sbin/sysinstall/install.c
parent35e15b09be3df921694ae02d3105e751fa8fa411 (diff)
downloadFreeBSD-src-8905bd306e55ccfa2a8ee59d95e9ed5bc3785f8a.zip
FreeBSD-src-8905bd306e55ccfa2a8ee59d95e9ed5bc3785f8a.tar.gz
o Add support for loading the rsaref or rsaintl packages, depending
on locale. o Allow use of "G" in label editor to stand for gigabytes. This is actually an unrelated patch which I meant to commit separately but what the heck, it's late. Partially submitted by: phk
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 83972b0..7c27138 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -565,6 +565,35 @@ nodisks:
(void)configLinux(self);
#endif
+ dialog_clear();
+ if (USAResident) {
+ if (!msgYesNo("I see that you are \"USA_RESIDENT\" according to your earlier\n"
+ "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();
+ }
+ }
+ else {
+ if (!msgYesNo("I see that you are not \"USA_RESIDENT\" according to your earlier\n"
+ "response to the CRYPTO distribution dialog. Do you want to try and\n"
+ "load the rsaintl package from the current media?")) {
+ if (DITEM_STATUS(package_add("rsaintl")) != DITEM_SUCCESS) {
+ msgConfirm("Unable to find an rsaintl 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.");
+ }
+ }
+ }
+
dialog_clear_norefresh();
if (!msgYesNo("Does this system have a mouse attached to it?"))
dmenuOpenSimple(&MenuMouse, FALSE);
OpenPOWER on IntegriCloud