*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: rcmgr | Section: 8 | Source: Digital UNIX | File: rcmgr.8.gz
rcmgr(8) System Manager's Manual rcmgr(8) NAME rcmgr, rc.config - Gets and sets run-time configuration variables stored in the files /etc/rc.config and /etc/rc.config.site SYNOPSIS /usr/sbin/rcmgr set variable value /usr/sbin/rcmgr get variable DESCRIPTION The rcmgr command retrieves and sets run-time configuration variables stored in /etc/rc.config and /etc/rc.config.site. These variables are used to configure various subsystems (for example, NFS or NTP) by scripts in the /sbin/init.d directory. FLAGS set Sets the variable to value in the /etc/rc.config file. get Looks for variables in /etc/rc.config. If the variable is not found, the get operation looks for the variable in /etc/rc.con- fig.site. This allows an administrator to use a common configu- ration in a local area network. The administrator can create and distribute a common /etc/rc.config.site file. Node-specific in- formation should stay in /etc/rc.config. The get option allows a programmer to specify a default value for an option if it is not found in either the /etc/rc.config or the /etc/rc.config.local files. EXAMPLES rcmgr set HOSTNAME yukio This example sets the variable HOSTNAME to yukio in the /etc/rc.config file. rcmgr set IFCONFIG_0 111.111.1.11 netmask 255.255.252.0 This example sets the variable IFCONFIG_0 to "111.111.1.11 netmask 255.255.252.0" in the /etc/rc.config file. rcmgr get NIS_ARGS This example displays the value the variable NIS_ARGS. If this variable is not set in the /etc/rc.config file, then the rcmgr command looks in the /etc/rc.config.site file for the variable. Startup scripts can use the get operation to provide values to vari- ables as in the following examples: host=`rcmgr get HOSTNAME` This ex- ample sets the value of host to the value of HOSTNAME in the /etc/rc.config file. num_nfsd=`rcmgr get NUM_NFSD 4` This example sets num_nfsd to 4 if NUM_NFSD does not exist in the /etc/rc.config file or in the /etc/rc.config.site file. FILES /etc/rc.config /etc/rc.config.site RELATED INFORMATION System Administration delim off rcmgr(8)

Navigation Options