From d8ff7fe878a3e835f1247449f4fe7098813adb7b Mon Sep 17 00:00:00 2001 From: scottl Date: Tue, 7 Jan 2003 07:46:50 +0000 Subject: Teach sysinstall about rpcbind, rpc.lockd, and rpc.statd. As an added bonus, rpcbind will be enabled automatically if rpc.lockd, rpc.statd, amd, NFS Server, or NIS is enabled. --- usr.sbin/sysinstall/menus.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'usr.sbin/sysinstall/menus.c') diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index 4294de1..be89f05 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -1496,11 +1496,11 @@ DMenu MenuStartup = { { " named flags", "Set default flags to named (if enabled)", dmenuVarCheck, dmenuISetVariable, NULL, "named_flags" }, { " nis client", "This host wishes to be an NIS client.", - dmenuVarCheck, dmenuToggleVariable, NULL, "nis_client_enable=YES" }, + dmenuVarCheck, configRpcBind, NULL, "nis_client_enable=YES" }, { " nis domainname", "Set NIS domainname (if enabled)", dmenuVarCheck, dmenuISetVariable, NULL, "nisdomainname" }, { " nis server", "This host wishes to be an NIS server.", - dmenuVarCheck, dmenuToggleVariable, NULL, "nis_server_enable=YES" }, + dmenuVarCheck, configRpcBind, NULL, "nis_server_enable=YES" }, { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' }, { " accounting", "This host wishes to run process accounting.", dmenuVarCheck, dmenuToggleVariable, NULL, "accounting_enable=YES" }, @@ -1539,7 +1539,7 @@ DMenu MenuNetworking = { { " Interfaces", "Configure additional network interfaces", NULL, tcpMenuSelect }, { " AMD", "This machine wants to run the auto-mounter service", - dmenuVarCheck, dmenuToggleVariable, NULL, "amd_enable=YES" }, + dmenuVarCheck, configRpcBind, NULL, "amd_enable=YES" }, { " AMD Flags", "Set flags to AMD service (if enabled)", dmenuVarCheck, dmenuISetVariable, NULL, "amd_flags" }, { " Anon FTP", "This machine wishes to allow anonymous FTP.", @@ -1556,8 +1556,12 @@ DMenu MenuNetworking = { dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" }, { " PCNFSD", "Run authentication server for clients with PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" }, - { " portmap", "This machine wants to run the portmapper daemon", - dmenuVarCheck, dmenuToggleVariable, NULL, "portmap_enable=YES" }, + { " rpcbind", "RPC port mapping daemon (formerly portmapper)", + dmenuVarCheck, dmenuToggleVariable, NULL, "rpcbind_enable=YES" }, + { " rpc.statd", "NFS status monitoring daemon", + dmenuVarCheck, configRpcBind, NULL, "rpc_statd_enable=YES" }, + { " rpc.lockd", "NFS file locking daemon", + dmenuVarCheck, configRpcBind, NULL, "rpc_lockd_enable=YES" }, { " Routed", "Select routing daemon (default: routed)", dmenuVarCheck, configRouter, NULL, "router_enable=YES" }, { " Rwhod", "This machine wants to run the rwho daemon", -- cgit v1.1