From 8ad4728c5d21e9108611e2aa20ff76f9f2507eda Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Mon, 25 Sep 2000 07:15:19 +0000 Subject: [PATCH] Fix a small bogon with a boolean yes/no question check. --- release/sysinstall/install.c | 4 ++-- usr.sbin/sade/install.c | 4 ++-- usr.sbin/sysinstall/install.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c index 14232c75289..252c8ac4776 100644 --- a/release/sysinstall/install.c +++ b/release/sysinstall/install.c @@ -576,8 +576,8 @@ nodisks: if (!msgYesNo("Do you want to configure this machine as an NFS client?")) variable_set2("nfs_client_enable", "YES", 1); - if (msgYesNo("Do you want to select a default security profile for\n" - "this host (\"medium\" security being the default)?")) + if (!msgYesNo("Do you want to select a default security profile for\n" + "this host (select No for \"medium\" security)?")) configSecurityProfile(self); else configSecurityModerate(self); diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 14232c75289..252c8ac4776 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -576,8 +576,8 @@ nodisks: if (!msgYesNo("Do you want to configure this machine as an NFS client?")) variable_set2("nfs_client_enable", "YES", 1); - if (msgYesNo("Do you want to select a default security profile for\n" - "this host (\"medium\" security being the default)?")) + if (!msgYesNo("Do you want to select a default security profile for\n" + "this host (select No for \"medium\" security)?")) configSecurityProfile(self); else configSecurityModerate(self); diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 14232c75289..252c8ac4776 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -576,8 +576,8 @@ nodisks: if (!msgYesNo("Do you want to configure this machine as an NFS client?")) variable_set2("nfs_client_enable", "YES", 1); - if (msgYesNo("Do you want to select a default security profile for\n" - "this host (\"medium\" security being the default)?")) + if (!msgYesNo("Do you want to select a default security profile for\n" + "this host (select No for \"medium\" security)?")) configSecurityProfile(self); else configSecurityModerate(self);