summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-09-25 07:15:19 +0000
committerjkh <jkh@FreeBSD.org>2000-09-25 07:15:19 +0000
commit74e251e27de32a179025b156ea0b24e636a4c40c (patch)
tree97a27bd0a3b1dd6ed2fbdc2b92a9e073dbc73e9b /usr.sbin
parent25b044e9f1e3935c233a21b27b9723fba2ff68b0 (diff)
downloadFreeBSD-src-74e251e27de32a179025b156ea0b24e636a4c40c.zip
FreeBSD-src-74e251e27de32a179025b156ea0b24e636a4c40c.tar.gz
Fix a small bogon with a boolean yes/no question check.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/install.c4
-rw-r--r--usr.sbin/sysinstall/install.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 14232c7..252c8ac 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 14232c7..252c8ac 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);
OpenPOWER on IntegriCloud