summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/menus.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-12 14:20:20 +0000
committerjkh <jkh@FreeBSD.org>1996-06-12 14:20:20 +0000
commit592543e6a02f045c2bfe46eacabb3a0bd333ddd4 (patch)
tree2be8f82ffb4c7a464d3a87191887108ef4246b0a /usr.sbin/sysinstall/menus.c
parenta2ffbe1a9a5c0ebc9aefd39b36578a15c578c3a6 (diff)
downloadFreeBSD-src-592543e6a02f045c2bfe46eacabb3a0bd333ddd4.zip
FreeBSD-src-592543e6a02f045c2bfe46eacabb3a0bd333ddd4.tar.gz
Some stuff I left out of the last commit - make toggle options toggle
again instead of simply letting you set them and staying that way forever.
Diffstat (limited to 'usr.sbin/sysinstall/menus.c')
-rw-r--r--usr.sbin/sysinstall/menus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index d699774..7d91b31 100644
--- a/usr.sbin/sysinstall/menus.c
+++ b/usr.sbin/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.63 1996/05/16 13:39:08 jkh Exp $
+ * $Id: menus.c,v 1.64 1996/06/12 14:02:12 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -949,11 +949,11 @@ aspects of your system's network configuration.",
{ { "Interfaces", "Configure additional network interfaces",
NULL, tcpMenuSelect },
{ "NFS client", "This machine will be an NFS client",
- dmenuVarCheck, dmenuSetVariable, NULL, "nfs_client=YES" },
+ dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client=YES" },
{ "NFS server", "This machine will be an NFS server",
dmenuVarCheck, configNFSServer, NULL, "nfs_server" },
{ "Gateway", "This machine will route packets between interfaces",
- dmenuVarCheck, dmenuSetVariable, NULL, "gateway=YES" },
+ dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" },
{ "Gated", "This machine wants to run gated instead of routed",
dmenuVarCheck, configGated, NULL, "gated" },
{ "Ntpdate", "Select a clock-syncronization server",
@@ -961,7 +961,7 @@ aspects of your system's network configuration.",
{ "Routed", "Set flags for routed (default: -q)",
dmenuVarCheck, configRoutedFlags, NULL, "routed" },
{ "Rwhod", "This machine wants to run the rwho daemon",
- dmenuVarCheck, dmenuSetVariable, NULL, "rwhod=YES" },
+ dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod=YES" },
{ "Anon FTP", "This machine wishes to allow anonymous FTP.",
dmenuVarCheck, configAnonFTP, NULL, "anon_ftp" },
{ "WEB Server", "This machine wishes to be a WWW server.",
OpenPOWER on IntegriCloud