Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rc.config(5) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rc(8)

viced(8V)

venus(8V)

startvenus(8V)

ifconfig(8C)

timed(8)

savecore(8)

RC.CONFIG(5)  —  

NAME

rc.config − configuration file for startup scripts (includes AFS and NFS extensions)

SYNOPSIS

. /etc/rc.config

DESCRIPTION

Rc.config is the configuration file that Bourne-shell startup scripts use to determine how to automatically start up the system.  Currently the files that use rc.config are: /etc/rc, /etc/rc.local, /etc/viced, and, on the minimal system (see system_type, below), /etc/minimal/mount_root.  Note that shell scripts that are written to use /etc/rc.config should not assume it is always there, since that assumption is not made by the system startup scripts.  Also note that rc.config does not export any variables to the environment.  This could affect the system in undesirable ways because of all of the daemons that are started out of /etc/rc and /etc/rc.local.  The following is a list of all of the parameters, with their defaults, that are specified in rc.config. 

hostname The hostname of the machine.  It is used by /etc/rc.local for setting the hostname using /bin/hostname.  On the minimal system, it is also used by /etc/minimal/mount_root for starting up the network with /etc/ifconfig.  The default value for the hostname parameter is master. 

network The network that the machine will use.  For example, in order to use the token-ring, you should define: ’network=lan0’.  The default value for network is un0. 

net_flags Any additional flags you wish to have passed on to /etc/ifconfig by /etc/rc.local (/etc/minimal/mount_root on the minimal system) should be placed in this parameter.  The default value for net_flags is the null string. 

network_2 Like network, but for the second network adapter on machines with more than one. 

net_flags_2
like net_flags, but for the second network adapter on machines with more than one. 

hostname_2
like hostname, but just for the second network adapter on machines with more than one. 

net_install_host
is normally only specified in rc.local, and gives the name of the host that is used for network installations.  This helps prevent machines that are network installed from accidentally coming up with the name of the machine that they are cloned from.  The default value is master. 

net_install_addr
is used together with net_install_host to prevent machines that aren’t actually running on a machine with a hardware interface address as given by net_install_addr from going multiuser. Normally net_install_addr and net_install_host are set by the network adminstrator before other machines are installed.  The default value for net_install_addr is the null string. 

rc_start A hook at the start of rc that allows the owner of a machine to execute commands before any other commands are executed. An eval(1) shell command is used, so that changes to shell variables and the current working directory can be made.  The default value for rc_start is the null string. 

rc_end A hook at the end of rc that allows the owner of a machine to execute commands after all other commands in rc have been executed.  The default value for rc_end is the null string. 

rc_local_start
A hook at the start of rc.local that allows the owner of a machine to execute commands before any other commands are executed. An eval(1) shell command is used, so that changes to shell variables and the current working directory can be made.  The default value for rc_local_start is the null string. 

net_extra A hook for rc.local that allows additional network commands to be executed once the network devices have been brought up. This is often used to add local routes. 

rc_local_end
A hook at the end of rc.local that allows the owner of a machine to execute commands after all other commands in rc.local have been executed. The default value for rc_local_end is the null string.

system_type
The type of system that is loaded on the machine.  There are three types of systems: full, which means both the root and usr file systems are local to the machine; reduced, which means the root partition is local to the machine, and the usr file system is obtained through the Andrew File System; and minimal, which means that only a bare-minimum root partition is local to the machine.  The majority of the root partition is obtained via NFS, and, like the reduced system, the usr file system is obtained via the Andrew File System.  The default value for system_type is full. 

core_directory
The directory where /etc/savecore places system dumps, if any.  The default value for core_directory is /usr/tmp.  No dumps will be made if core_directory is a null string. 

use_timed This parameter is used to determine whether the machine is to start up /etc/timed during startup.  If it is set to yes, /etc/timed will be started.  The default value is no. 

use_named This parameter is used to determine whether the machine is to start up /etc/named during startup.  If it is set to yes, /etc/named will be started.  The default value is yes. 

use_rvd This parameter is used by rc.local to determine whether the machine is to start up /etc/rvd/rvdstart during startup.  If it is set to yes, and if /etc/rvd/rvdstart exists, then /etc/rvd/rvdstart will be started.  The default value is yes. 

use_sendmail
This parameter is used by rc.local to determine whether the machine is to start up /usr/lib/sendmail during startup.  If it is set to yes, /usr/lib/sendmail will be started. This should only be used on machines that won’t need normal mail service or that use some other type of mail delivery program.  The default value is yes. 

use_afpa This parameter is used by rc.local to determine whether the machine is to start up /usr/ibm/afpacode in order to load the microcode in /usr/ibm/lib/afpa.ucode.  If the machine does not have an afpa then the state of use_afpa isn’t relevent.  The default value is yes. 
 

use_afs This parameter is used by rc.local to determine whether the machine is to start up /etc/viced which will start the Andrew File System.  The default value is yes. 

startvenus If the machine is a client of the Andrew File System, /etc/viced will call this program to start up the Andrew File System daemon: venus(8V).  The default value for startvenus is /etc/startvenus. 

venus If the machine is a client of the Andrew File System, startvenus(8V) will start this program if invoked by /etc/viced.  The default value for venus is /etc/venus2. 

venus_cache
The location of the cache directory that venus(8V) will use.  The default value for venus_cache is /usr/venuscache. 

andrew_servers
A comma-separated list of Andrew File System servers that venus(8V) will connect to.  The default value for andrew_servers is vice1. 

andrew_dir
The directory that startvenus(8V), if invoked with /etc/viced, will attempt to mount the Andrew File System on.  The default directory is /andrew. 

use_nfs This parameter is used by rc.local to determine whether the machine is to start up various Network File System commands and daemons.  If the value is not yes no NFS related commands or daemons will be started.  The default value is yes. 

domainname
This parameter is used by rc.local to determine whether the machine is to set the Yellow Pages domain name. If the value is null the domain name is not set. The default value for domainname is the null string.

yp_client This parameter is used by rc.local to determine whether the machine is to be a Yellow Pages client and start /etc/ypbind.  The default value is no. 

yp_server This parameter is used by rc.local to determine whether the machine is to be a Yellow pages server and start /etc/ypserv.  The default value is no. 

yp_master This parameter is used by rc.local to determine whether the machine is to be a Yellow pages master server.  The default value is no. 

use_biod This parameter is used by rc.local to determine whether the machine is to run biod.  The default value is yes. 

use_statd This parameter is used by rc.local to determine whether the machine is to run statd.  The default value is no. 

use_lockd This parameter is used by rc.local to determine whether the machine is to run the lock daemon /etc/lockd.  The default value is no. 

use_pp4216
This parameter is used by rc to determine whether the machine is to load the IBM 4216 PagePrinter microcode (if present) during startup. The default value is yes. 

use_lpd This parameter is used by rc to determine whether the machine is to run /usr/lib/lpd.  The default value is no. 

SEE ALSO

rc(8), viced(8V), venus(8V), startvenus(8V), ifconfig(8C), timed(8), savecore(8)
“Installing and Operating IBM/4.3”, SMM:1.

PRPQs 5799-WZQ/5799-PFF: IBM/4.3  —  Sept 1988

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026