summaryrefslogtreecommitdiffstats
path: root/release/sysinstall
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-03-15 19:30:49 +0000
committerjkh <jkh@FreeBSD.org>1998-03-15 19:30:49 +0000
commita2e844d5d76aacd929d024baf1d5152cfe608f9e (patch)
treeec5f3f48e3f385cc50e84a561153d1e9855366b0 /release/sysinstall
parent1ee67c14f78d4929de5fe5212d6b66c646e613b6 (diff)
downloadFreeBSD-src-a2e844d5d76aacd929d024baf1d5152cfe608f9e.zip
FreeBSD-src-a2e844d5d76aacd929d024baf1d5152cfe608f9e.tar.gz
Fix some bogons with variable handling.
Diffstat (limited to 'release/sysinstall')
-rw-r--r--release/sysinstall/dmenu.c4
-rw-r--r--release/sysinstall/menus.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/release/sysinstall/dmenu.c b/release/sysinstall/dmenu.c
index 174f7cb..11c369b 100644
--- a/release/sysinstall/dmenu.c
+++ b/release/sysinstall/dmenu.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: dmenu.c,v 1.35 1997/10/14 18:17:29 jkh Exp $
+ * $Id: dmenu.c,v 1.36 1998/03/10 17:24:07 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -136,7 +136,7 @@ dmenuToggleVariable(dialogMenuItem *tmp)
msgConfirm("Incorrect data field for `%s'!", tmp->title);
return DITEM_FAILURE;
}
- if (!variable_get(var))
+ if (!variable_check(var))
variable_set(var);
else
variable_unset(var);
diff --git a/release/sysinstall/menus.c b/release/sysinstall/menus.c
index e9ed6b0..5e1cb74 100644
--- a/release/sysinstall/menus.c
+++ b/release/sysinstall/menus.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: menus.c,v 1.160 1998/03/13 11:30:44 jkh Exp $
+ * $Id: menus.c,v 1.161 1998/03/15 17:10:11 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -254,7 +254,7 @@ DMenu MenuIndex = {
{ "Network Interfaces", "Configure network interfaces", NULL, tcpMenuSelect },
{ "Networking Services", "The network services menu.", NULL, dmenuSubmenu, NULL, &MenuNetworking },
{ "NFS, client", "Set NFS client flag.", dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
- { "NFS, server", "Set NFS server flag.", dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable" },
+ { "NFS, server", "Set NFS server flag.", dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
{ "NTP Menu", "The NTP configuration menu.", NULL, dmenuSubmenu, NULL, &MenuNTP },
{ "Options", "The options editor.", NULL, optionsEditor },
{ "Packages", "The packages collection", NULL, configPackages },
@@ -1109,7 +1109,7 @@ DMenu MenuConfigure = {
NULL, dmenuSubmenu, NULL, &MenuMouse, NULL },
{ "6 Networking", "Configure additional network services",
NULL, dmenuSubmenu, NULL, &MenuNetworking },
- { "7 Startup", "Configure system startup services",
+ { "7 Startup", "Configure system startup options",
NULL, dmenuSubmenu, NULL, &MenuStartup },
{ "8 Options", "View/Set various installation options",
NULL, optionsEditor },
@@ -1190,7 +1190,7 @@ DMenu MenuNetworking = {
{ "NFS client", "This machine will be an NFS client",
dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
{ "NFS server", "This machine will be an NFS server",
- dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable" },
+ dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
{ "AMD", "This machine wants to run the auto-mounter service",
dmenuVarCheck, dmenuToggleVariable, NULL, "amd_enable=YES" },
{ "AMD Flags", "Set flags to AMD service (if enabled)",
OpenPOWER on IntegriCloud