rc.conf.5 revision 84739
Copyright (c) 1995
Jordan K. Hubbard

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

$FreeBSD: head/share/man/man5/rc.conf.5 84739 2001-10-10 00:45:52Z des $

.Dd February 4, 2001 .Dt RC.CONF 5 .Os .Sh NAME .Nm rc.conf .Nd system configuration information .Sh DESCRIPTION The file .Nm contains descriptive information about the local host name, configuration details for any potential network interfaces and which services should be started up at system initial boot time. In new installations, the .Nm file is generally initialized by the system installation utility:

a /stand/sysinstall .

p The purpose of .Nm is not to run commands or perform system startup actions directly. Instead, it is included by the various generic startup scripts in

a /etc which conditionalize their internal actions according to the settings found there.

p The

a /etc/rc.conf file is included from the file

a /etc/defaults/rc.conf , which specifies the default settings for all the available options. Options need only be specified in

a /etc/rc.conf when the system administrator wishes to override these defaults. The file

a /etc/rc.conf.local is used to override settings in

a /etc/rc.conf for historical reasons. See the .Dq rc_conf_files option below.

p The following list provides a name and short description for each variable that can be set in the .Nm file: l -tag -width Ar t Va swapfile

q Vt str If set to .Dq NO then no swapfile is installed, otherwise the value is used as the full pathname to a file to use for additional swap space. t Va apm_enable

q Vt bool If set to .Dq YES , enable support for Automatic Power Management with the .Xr apm 8 command. t Va apmd_enable

q Vt bool Run .Xr apmd 8 to handle APM event from userland. This also enable support for APM. t Va apmd_flags

q Vt str If .Va apmd_enable is set to .Dq YES , these are the flags to pass to the .Xr apmd 8 daemon. t Va pccard_enable

q Vt bool If set to .Dq YES , enable PCCARD support at boot time. t Va pccard_mem

q Vt str Set to PCCARD controller memory address or .Dq DEFAULT for the default value. t Va pccard_ifconfig

q Vt str List of arguments to be passed to .Xr ifconfig 8 at boot time or on insertion of the card (e.g. "inet 192.168.1.1 netmask 255.255.255.0" for a fixed address or "DHCP" for a DHCP client). t Va pccard_beep

q Vt int If 0, set the PCCARD controller to silent mode. If 1, set it to beep mode. If 2, set it to melody mode. t Va pccard_conf

q Vt str Path to the configuration file for the .Xr pccardd 8 daemon (e.g.\&

a /etc/pccard.conf.sample ) . t Va pccardd_flags

q Vt str If .Va pccard_enable is set to .Dq YES , these are the flags to pass to the .Xr pccardd 8 daemon. t Va pccard_ether_delay

q Vt str Set the delay before starting .Xr dhclient 8 in .Xr pccard_ether 8 script. This defaults to 5 seconds to work around a bug in the .Xr ed 4 driver which can lead to system hangs when using some newer .Xr ed 4 based cards. t Va removable_interfaces

q Vt str List of removable network interfaces to be supported by

a /etc/pccard_ether . t Va local_startup

q Vt str List of directories to search for startup script files. t Va script_name_sep

q Vt str The field separator to use for breaking down the list of startup script files into individual filenames. The default is a space. It is not necessary to change this unless there are startup scripts with names containing spaces. t Va hostname

q Vt str The Fully Qualified Domain Name of this host on the network. This should almost certainly be set to something meaningful, even if there is no network connection. If .Xr dhclient 8 is used to set the hostname via DHCP, this variable should be set to an empty string. t Va nisdomainname

q Vt str The NIS domain name of this host, or .Dq NO if NIS is not used. t Va dhcp_program

q Vt str Path to the DHCP client program

a ( /sbin/dhclient , the ISC DHCP client, is the default). t Va dhcp_flags

q Vt str Additional flags to pass to the DHCP client program. For the ISC DHCP client, see the .Xr dhclient 8 page for a description of the command line options available. t Va firewall_enable

q Vt bool Set to .Dq YES to load firewall rules at startup. If the kernel was not built with .Dv IPFIREWALL , the ipfw kernel module will be loaded. See also .Va ipfilter_enable . t Va firewall_script

q Vt str This variable specifies the full path to the firewall script to run. The default is

a /etc/rc.firewall . t Va firewall_type

q Vt str Names the firewall type from the selection in

a /etc/rc.firewall , or the file which contains the local firewall ruleset. Valid selections from

a /etc/rc.firewall , are .Dq open - unrestricted IP access; .Dq closed - all IP services disabled, except via lo0; .Dq client - basic protection for a workstation; .Dq simple - basic protection for a LAN. If a filename is specified, the full path must be given. t Va firewall_quiet

q Vt bool Set to .Dq YES to disable the display of ipfw rules on the console during boot. t Va firewall_logging

q Vt bool Set to .Dq YES to enable ipfw event logging. This is equivalent to the .Dv IPFIREWALL_VERBOSE kernel option. t Va firewall_flags

q Vt str Flags passed to .Xr ipfw 8 if .Va firewall_type specifies a filename. t Va natd_program

q Vt str Path to .Xr natd 8 . t Va natd_enable

q Vt bool Set to .Dq YES to enable natd. .Va firewall_enable must also be set to .Dq YES , and .Xr divert 4 sockets must be enabled in the kernel. t Va natd_interface

q Vt str This is the name of the public interface on which natd should run. It is mandatory if .Va natd_enable is set to .Dq YES . The interface may be given as an interface name or as an IP address. t Va natd_flags

q Vt str Additional natd flags should be placed here. The .Fl n or .Fl a flag is automatically added with the above .Va natd_interface as an argument. ----- ipfilter_enable seting --------------------------------
t Va ipfilter_enable

q Vt bool Set to .Dq NO by default. Setting this to .Dq YES enables .Xr ipf 8 packet filtering. Strictly speaking almost any filter could be established "abusing" this setting and the fact that .Va ipfilter_program , .Va ipfilter_rules and .Va ipfilter_flags are concatenated to form a command, as long as the file specified in .Va ipfilter_rules is readable. When .Va ipfilter_enable and .Va ipnat_enable are set to .Dq YES and the file specified in .Va ipnat_rules is readable, .Va ipnat_program , .Va ipnat_rules and .Va ipnat_flags make up a command line to start a network address translation program. When .Va ipfilter_enable and .Va ipmon_enable are set to .Dq YES , .Va ipmon_program and .Va ipmon_flags form another command line for monitoring the above actions. See

a /etc/rc.network for details.

p Typical usage will require putting d -literal ipfilter_enable="YES" ipfilter_flags="" ipnat_enable="YES" ipmon_enable="YES" .Ed

p into

a /etc/rc.conf and editing

a /etc/ipf.rules and

a /etc/ipnat.rules appropriately. Turning off .Va firewall_enable when using ipf is recommended. Having d -literal options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK .Ed

p in the kernel configuration file is a good idea, too. ----- ipfilter_program setting ------------------------------
t Va ipfilter_program

q Vt str Set to .Dq /sbin/ipf -Fa -f by default. This variable contains a command line up to (but not including) the filter rule definition (expected to live in a separate file). See .Va ipfilter_enable for a detailled discussion. ----- ipfilter_rules setting --------------------------------
t Va ipfilter_rules

q Vt str Set to .Dq /etc/ipf.rules by default. This variable contains the name of the filter rule definition file. The file is expected to be readable for the filter command to execute. See .Va ipfilter_enable for a detailled discussion. ----- ipfilter_flags setting --------------------------------
t Va ipfilter_flags

q Vt str Set to .Dq -E by default. This variable contains flags appended to the filter command after the rule definition filename. The default setting will initialize an on demand loaded ipf module. When compiling ipfilter directly into the kernel (as is recommended) the variable should be empty to not initialize the code more than once. See .Va ipfilter_enable for a detailled discussion. ----- ipnat_enable setting ----------------------------------
t Va ipnat_enable

q Vt bool Set to .Dq NO by default. Set it to .Dq YES to enable .Xr ipnat 1 network address translation. Setting this variable needs setting .Va ipfilter_enable , too. See .Va ipfilter_enable for a detailled discussion. ----- ipnat_program setting ---------------------------------
t Va ipnat_program

q Vt str Set to .Dq /sbin/ipnat -CF -f by default. This variable contains a command line up to (but not including) the translation rule definition (expected to live in a separate file). See .Va ipfilter_enable for a detailled discussion. ----- ipnat_rules setting -----------------------------------
t Va ipnat_rules

q Vt str Set to .Dq /etc/ipnat.rules by default. This variable contains the name of the file holding the network address translation definition. This file is expected to be readable for the NAT command to execute. See .Va ipfilter_enable for a detailled discussion. ----- ipnat_flags setting -----------------------------------
t Va ipnat_flags

q Vt str Empty by default. This variable contains additional flags appended to the ipnat command line after the rule definition filename. See .Va ipfilter_enable for a detailled discussion. ----- ipmon_enable setting ----------------------------------
t Va ipmon_enable

q Vt bool Set to .Dq NO by default. Set it to .Dq YES to enable .Xr ipmon 8 monitoring (logging .Xr ipf 8 and .Xr ipnat 1 events). Setting this variable needs setting .Va ipfilter_enable , too. See .Va ipfilter_enable for a detailled discussion. ----- ipmon_program setting ---------------------------------
t Va ipmon_program

q Vt str Set to .Dq /sbin/ipmon by default. This variable contains the .Xr ipmon 8 executable filename. See .Va ipfilter_enable for a detailled discussion. ----- ipmon_flags setting -----------------------------------
t Va ipmon_flags

q Vt str Set to .Dq -Ds by default. This variable contains flags passed to the .Xr ipmon 8 program. Another typical example would be .Dq -D /var/log/ipflog to have .Xr ipmon 8 log directly to a file bypassing .Xr syslogd 8 . Make sure to adjust

a /etc/newsyslog.conf in such case like this: d -literal /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid .Ed

p See .Va ipfilter_enable for a detailled discussion. ----- end of added ipf hook ---------------------------------
t Va tcp_extensions

q Vt bool Set to .Dq YES by default. Setting this to NO disables certain TCP options as described by .Rs .%T RFC 1323 .Re Setting this to .Dq NO might help remedy such problems with connections as randomly hanging or other weird behavior. Some network devices are known to be broken with respect to these options. t Va log_in_vain

q Vt bool Set to .Dq NO by default. Setting to YES will enable logging of connection attempts to ports that have no listening socket on them. t Va tcp_keepalive

q Vt bool Set to .Dq YES by default. Setting to NO will disable probing idle TCP connections to verify that the peer is still up and reachable. t Va tcp_drop_synfin

q Vt bool Set to .Dq NO by default. Setting to YES will cause the kernel to ignore TCP frames that have both the SYN and FIN flags set. This prevents OS fingerprinting, but may break some legitimate applications. This option is only available if the kernel was built with the .Dv TCP_DROP_SYNFIN option. t Va icmp_drop_redirect

q Vt bool Set to .Dq NO by default. Setting to YES will cause the kernel to ignore ICMP REDIRECT packets. t Va icmp_log_redirect

q Vt bool Set to .Dq NO by default. Setting to YES will cause the kernel to log ICMP REDIRECT packets. Note that the log messages are not rate-limited, so this option should only be used for troubleshooting networks. t Va network_interfaces

q Vt str Set to the list of network interfaces to configure on this host. For example, if the only network devices in the system are the loopback device (lo0) and a NIC using the ed0 driver, this could be set to .Dq "lo0 ed0" An .No ifconfig_ Ns Em interface variable is also assumed to exist for each value of .Em interface . It is also possible to add IP alias entires here in cases where multiple IP addresses registered against a single interface are desired. Assuming that the interface in question was ed0, it might look something like this: d -literal ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff" ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff" .Ed

p And so on. For each .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n entry that is found, its contents are passed to .Xr ifconfig 8 . Execution stops at the first unsuccessful access, so if something like this is present: d -literal ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff" ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff" ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff" ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff" .Ed

p Then note that alias4 would .Em not be added since the search would stop with the missing alias3 entry.

p It is possible to bring up an interface with DHCP by setting the .No ifconfig_ Ns Em interface variable to .Dq DHCP . For instance, to initialize the ed0 device via DHCP, it is possible to use something like: d -literal ifconfig_ed0="DHCP" .Ed t Va cloned_interfaces

q Vt str Set to the list of clonable network interfaces to create on this host. Entries in .Va cloned_interfaces are automatically appended to .Va network_interfaces for configuration. t Va ppp_enable

q Vt bool If set to .Dq YES , run the .Xr ppp 8 daemon. t Va ppp_mode

q Vt str Mode in which to run the .Xr ppp 8 daemon. Accepted modes are .Dq auto , .Dq ddial , .Dq direct and .Dq dedicated . See the manual for a full description. t Va ppp_nat

q Vt bool If set to .Dq YES , enables packet aliasing. Used in conjunction with .Va gateway_enable allows hosts on private network addresses access to the Internet using this host as a network address translating router. t Va ppp_profile

q Vt str The name of the profile to use from

a /etc/ppp/ppp.conf . t Va ppp_user

q Vt str The name of the user under which ppp should be started. By default, ppp is started as .Dq root . t Va rc_conf_files

q Vt str This option is used to specify a list of files that will override the settings in

a /etc/defaults/rc.conf . The files will be read in the order in which they are specified and should include the full path to the file. By default, the files specified are

a /etc/rc.conf and

a /etc/rc.conf.local t Va fsck_y_enable

q Vt bool If set to .Dq YES , .Xr fsck 8 will be run with the -y flag if the initial preen of the filesystems fails. t Va background_fsck

q Vt bool If set to .Dq YES , the system will attempt to run .Xr fsck 8 in the background where possible. t Va syslogd_enable

q Vt bool If set to .Dq YES , run the .Xr syslogd 8 daemon. t Va syslogd_program

q Vt str Path to .Xr syslogd 8 (default

a /usr/sbin/syslogd ) . t Va syslogd_flags

q Vt str If .Va syslogd_enable is set to .Dq YES , these are the flags to pass to .Xr syslogd 8 . t Va inetd_enable

q Vt bool If set to .Dq YES , run the .Xr inetd 8 daemon. t Va inetd_program

q Vt str Path to .Xr inetd 8 (default

a /usr/sbin/inetd ) . t Va inetd_flags

q Vt str If .Va inetd_enable is set to .Dq YES , these are the flags to pass to .Xr inetd 8 . t Va named_enable

q Vt bool If set to .Dq YES , run the .Xr named 8 daemon. t Va named_program

q Vt str Path to .Xr named 8 (default

a /usr/sbin/named ) . t Va named_flags

q Vt str If .Va named_enable is set to .Dq YES , these are the flags to pass to .Xr named 8 . t Va kerberos_server_enable

q Vt bool Set to .Dq YES to start a Kerberos authentication server at boot time. t Va kadmind_server_enable

q Vt bool Set to .Dq YES to start .Xr kadmind 8 , the Kerberos Administration Daemon); set to .Dq NO on a slave server. t Va kerberos_stash

q Vt str If .Dq YES , instruct the Kerberos servers to use the stashed master key instead of prompting for it (only if .Va kerberos_server_enable is set to .Dq YES , and is used for both .Xr kerberos 1 and .Xr kadmind 8 ) . t Va rwhod_enable

q Vt bool If set to .Dq YES , run the .Xr rwhod 8 daemon at boot time. t Va rwhod_flags

q Vt str If .Va rwhod_enable is set to .Dq YES , these are the flags to pass to it. t Va amd_enable

q Vt bool If set to .Dq YES , run the .Xr amd 8 daemon at boot time. t Va amd_flags

q Vt str If .Va amd_enable is set to .Dq YES , these are the flags to pass to it. See the .Xr amd 8 .Xr info 1 page for more information. t Va amd_map_program

q Vt str If set, the specified program is run to get the list of .Xr amd 8 maps. For example, if the .Xr amd 8 maps are stored in NIS, one can set this to run .Xr ypcat 1 to get a list of .Xr amd 8 maps from the

a amd.master NIS map. t Va update_motd

q Vt bool If set to .Dq YES ,

a /etc/motd will be updated at boot time to reflect the kernel release bring run. If set to .Dq NO ,

a /etc/motd will not be updated t Va nfs_client_enable

q Vt bool If set to .Dq YES , run the NFS client daemons at boot time. t Va nfs_client_flags

q Vt str If .Va nfs_client_enable is set to .Dq YES , these are the flags to pass to the .Xr nfsiod 8 daemon. t Va nfs_access_cache

q Vt int If .Va nfs_client_enable is set to .Dq YES , this can be set to .Dq 0 to disable NFS ACCESS RPC caching, or to the number of seconds for which NFS ACCESS results should be cached. A value of 2-10 seconds will substantially reduce network traffic for many NFS operations. t Va nfs_server_enable

q Vt bool If set to .Dq YES , run the NFS server daemons at boot time. t Va nfs_server_flags

q Vt str If .Va nfs_server_enable is set to .Dq YES , these are the flags to pass to the .Xr nfsd 8 daemon. t Va single_mountd_enable

q Vt bool If set to .Dq YES , and no .Va nfs_server_enable is set, start .Xr mountd 8 , but not .Xr nfsd 8 daemon. It is commonly needed to run CFS without real NFS used. t Va weak_mountd_authentication

q Vt bool If set to .Dq YES , allow services like PCNFSD to make non-privileged mount requests. t Va nfs_privport

q Vt bool If set to .Dq YES , provide NFS services only on a secure port. t Va nfs_bufpackets

q Vt int If set to a number, indicates the number of packets worth of socket buffer space to reserve on an NFS client. If set to .Dq DEFAULT , the kernel default is used (typically 4). Using a higher number may be useful on gigabit networks to improve performance. The minimum value is 2 and the maximum is 64. t Va rpc_lockd_enable

q Vt bool If set to .Dq YES and also an NFS server, run .Xr rpc.lockd 8 at boot time. t Va rpc_statd_enable

q Vt bool If set to .Dq YES and also an NFS server, run .Xr rpc.statd 8 at boot time. t Va portmap_program

q Vt str Path to .Xr rpcbind 8 (default

a /usr/sbin/rpcbind ) . t Va portmap_enable

q Vt bool If set to .Dq YES , run the .Xr rpcbind 8 service at boot time. t Va portmap_flags

q Vt str If .Va portmap_enable is set to .Dq YES , these are the flags to pass to the .Xr rpcbind 8 daemon. t Va xtend_enable

q Vt bool If set to .Dq YES then run the .Xr xtend 8 daemon at boot time. t Va xtend_flags

q Vt str If .Va xtend_enable is set to .Dq YES , these are the flags to pass to the .Xr xtend 8 daemon. t Va pppoed_enable

q Vt bool If set to .Dq YES then run the .Xr pppoed 8 daemon at boot time to provide PPP over Ethernet services. t Va pppoed_ Ns Ar provider

q Vt str .Xr pppoed 8 listens to requests to this .Ar provider and ultimately runs .Xr ppp 8 with a .Ar system argument of the same name. t Va pppoed_flags

q Vt str Additional flags to pass to .Xr pppoed 8 . t Va pppoed_interface

q Vt str The network interface to run pppoed on. This is mandatory when .Va pppoed_enable is set to .Dq YES . t Va timed_enable

q Vt boot If .Dq YES then run the .Xr timed 8 service at boot time. This command is intended for networks of machines where a consistent .Qq "network time" for all hosts must be established. This is often useful in large NFS environments where time stamps on files are expected to be consistent network-wide. t Va timed_flags

q Vt str If .Va timed_enable is set to .Dq YES , these are the flags to pass to the .Xr timed 8 service. t Va ntpdate_enable

q Vt bool If set to .Dq YES , run ntpdate at system startup. This command is intended to synchronize the system clock only .Em once from some standard reference. An option to set this up initially (from a list of known servers) is also provided by the

a /stand/sysinstall program when the system is first installed. t Va ntpdate_program

q Vt str Path to .Xr ntpdate 8 (default

a /usr/sbin/ntpdate ) . t Va ntpdate_flags

q Vt str If .Va ntpdate_enable is set to .Dq YES , these are the flags to pass to the .Xr ntpdate 8 command (typically a hostname). t Va xntpd_enable

q Vt bool If set to .Dq YES then run the .Xr ntpd 8 command at boot time. t Va xntpd_program

q Vt str Path to .Xr ntpd 8 (default

a /usr/sbin/ntpd ) . t Va xntpd_flags

q Vt str If .Va xntpd_enable is set to .Dq YES , these are the flags to pass to the .Xr ntpd 8 daemon. t Va nis_client_enable

q Vt bool If set to .Dq YES then run the .Xr ypbind 8 service at system boot time. t Va nis_client_flags

q Vt str If .Va nis_client_enable is set to .Dq YES , these are the flags to pass to the .Xr ypbind 8 service. t Va nis_ypset_enable

q Vt bool If set to .Dq YES then run the .Xr ypset 8 daemon at system boot time. t Va nis_ypset_flags

q Vt str If .Va nis_ypset_enable is set to .Dq YES , these are the flags to pass to the .Xr ypset 8 daemon. t Va nis_server_enable

q Vt bool If set to .Dq YES then run the .Xr ypserv 8 daemon at system boot time. t Va nis_server_flags

q Vt str If .Va nis_server_enable is set to .Dq YES , these are the flags to pass to the .Xr ypserv 8 daemon. t Va nis_ypxfrd_enable

q Vt bool If set to .Dq YES then run the .Xr rpc.ypxfrd 8 daemon at system boot time. t Va nis_ypxfrd_flags

q Vt str If .Va nis_ypxfrd_enable is set to .Dq YES , these are the flags to pass to the .Xr rpc.ypxfrd 8 daemon. t Va nis_yppasswdd_enable

q Vt bool If set to .Dq YES then run the .Xr rpc.yppasswdd 8 daemon at system boot time. t Va nis_yppasswdd_flags

q Vt str If .Va nis_yppasswdd_enable is set to .Dq YES , these are the flags to pass to the .Xr rpc.yppasswdd 8 daemon. t Va defaultrouter

q Vt str If not set to .Dq NO then create a default route to this host name or IP address (use an IP address if this router is also required to get to the name server!). t Va static_routes

q Vt str Set to the list of static routes that are to be added at system boot time. If not set to .Dq NO then for each whitespace separated .Em element in the value, a .No route_ Ns element variable is assumed to exist whose contents will later be passed to a .Dq route add operation. t Va gateway_enable

q Vt bool If set to .Dq YES , then configure host to at as an IP router, e.g. to forward packets between interfaces. t Va router_enable

q Vt bool If set to .Dq YES then run a routing daemon of some sort, based on the settings of .Va router and .Va router_flags . t Va router

q Vt str If .Va router_enable is set to .Dq YES , this is the name of the routing daemon to use. t Va router_flags

q Vt str If .Va router_enable is set to .Dq YES , these are the flags to pass to the routing daemon. t Va mrouted_enable

q Vt bool If set to .Dq YES then run the multicast routing daemon, .Xr mrouted 8 . t Va mrouted_flags

q Vt str If .Va mrouted_enable is set to .Dq YES , these are the flags to pass to the multicast routing daemon. t Va ipxgateway_enable

q Vt bool If set to .Dq YES then enable the routing of IPX traffic. t Va ipxrouted_enable

q Vt bool If set to .Dq YES then run the .Xr IPXrouted 8 daemon at system boot time. t Va ipxrouted_flags

q Vt str If .Va ipxrouted_enable is set to .Dq YES , these are the flags to pass to the .Xr IPXrouted 8 daemon. t Va arpproxy_all

q Vt bool If set to .Dq YES then enable global proxy ARP. t Va forward_sourceroute

q Vt bool If set to .Dq YES then when .Va gateway_enable is also set to .Dq YES , source routed packets are forwarded. t Va accept_sourceroute

q Vt bool If set to .Dq YES then the system will accept source routed packets directed at it. t Va rarpd_enable

q Vt bool If set to .Dq YES then run the .Xr rarpd 8 daemon at system boot time. t Va rarpd_flags

q Vt str If .Va rarpd_enable is set to .Dq YES , these are the flags to pass to the .Xr rarpd 8 daemon. t Va atm_enable

q Vt bool Set to .Dq YES to enable the configuration of ATM interfaces at system boot time. For all of the ATM variables described below, please refer to the .Xr atm 8 man page for further details on the available command parameters. Also refer to the files in

a /usr/share/examples/atm for more detailed configuration information. t Va atm_netif_<intf>

q Vt str For the ATM physical interface .Va <intf> , this variable defines the name prefix and count for the ATM network interfaces to be created. The value will be passed as the parameters of an .Dq atm set netif Va <intf> command. t Va atm_sigmgr_<intf>

q Vt str For the ATM physical interface .Va <intf> , this variable defines the ATM signalling manager to be used. The value will be passed as the parameters of an .Dq atm attach Va <intf> command. t Va atm_prefix_<intf>

q Vt str For the ATM physical interface .Va <intf> , this variable defines the NSAP prefix for interfaces using a UNI signalling manager. If set to .Em ILMI , then the prefix will automatically be set via the .Xr ilmid 8 daemon. Otherwise, the value will be passed as the parameters of an .Dq atm set prefix Va <intf> command. t Va atm_macaddr_<intf>

q Vt str For the ATM physical interface .Va <intf> , this variable defines the MAC address for interfaces using a UNI signalling manager. If set to .Em NO , then the hardware MAC address contained in the ATM interface card will be used. Otherwise, the value will be passed as the parameters of an .Dq atm set mac Va <intf> command. t Va atm_arpserver_<netif>

q Vt str For the ATM network interface .Va <netif> , this variable defines the ATM address for a host which is to provide ATMARP service. This variable is only applicable to interfaces using a UNI signalling manager. If set to .Em local , then this host will become an ATMARP server. The value will be passed as the parameters of an .Dq atm set arpserver Va <netif> command. t Va atm_scsparp_<netif>

q Vt bool If set to .Em YES , then SCSP/ATMARP service for the network interface .Va <netif> will be initiated using the .Xr scspd 8 and .Xr atmarpd 8 daemons. This variable is only applicable if .So .No atm_arpserver_ Ns Va <netif> .No = Ns Qq local .Sc is defined. t Va atm_pvcs

q Vt str Set to the list of ATM PVCs to be added at system boot time. For each whitespace separated .Em element in the value, an .No atm_pvc_ Ns Em element variable is assumed to exist. The value of each of these variables will be passed as the parameters of an .Dq atm add pvc command. t Va atm_arps

q Vt str Set to the list of permanent ATM ARP entries to be added at system boot time. For each whitespace separated .Em element in the value, an .No atm_arp_ Ns Em element variable is assumed to exist. The value of each of these variables will be passed as the parameters of an .Dq atm add arp command. t Va keymap

q Vt str If set to .Dq NO then no keymap is installed, otherwise the value is used to install the keymap file in

a /usr/share/syscons/keymaps/<value>.kbd t Va keyrate

q Vt str The keyboard repeat speed. Set to .Dq slow , .Dq normal , .Dq fast or .Dq NO if the default behavior is desired. t Va keychange

q Vt str If not set to .Dq NO , attempt to program the function keys with the value. The value should be a single string of the form: .Qq Ar "<funkey_number> <new_value> [<funkey_number> <new_value>]..." t Va cursor

q Vt str Can be set to the value of .Dq normal , .Dq blink , .Dq destructive or .Dq NO to set the cursor behavior explicitly or choose the default behavior. t Va scrnmap

q Vt str If set to .Dq NO then no screen map is installed, otherwise the value is used to install the screen map file in

a /usr/share/syscons/scrnmaps/<value> . t Va font8x16

q Vt str If set to .Dq NO then the default 8x16 font value is used for screen size requests, otherwise the value in

a /usr/share/syscons/fonts/<value> is used. t Va font8x14

q Vt str If set to .Dq NO then the default 8x14 font value is used for screen size requests, otherwise the value in

a /usr/share/syscons/fonts/<value> is used. t Va font8x8

q Vt str If set to .Dq NO then the default 8x8 font value is used for screen size requests, otherwise the value in

a /usr/share/syscons/fonts/<value> is used. t Va blanktime

q Vt int If set to .Dq NO then the default screen blanking interval is used, otherwise it is set to .Ar value seconds. t Va saver

q Vt str If not set to .Dq NO , this is the actual screen saver to use (blank, snake, daemon, etc). t Va moused_enable

q Vt str If set to .Dq YES , the .Xr moused 8 daemon is started for doing cut/paste selection on the console. t Va moused_type

q Vt str This is the protocol type of the mouse connected to this host. This variable must be set if .Va moused_enable is set to .Dq YES . The .Xr moused 8 daemon is able to detect the appropriate mouse type automatically in many cases. Set this variable to .Dq auto to let the daemon detect it, or select one from the following list if the automatic detection fails.

p If the mouse is attached to the PS/2 mouse port, choose .Dq auto or .Dq ps/2 , regardless of the brand and model of the mouse. Likewise, if the mouse is attached to the bus mouse port, choose .Dq auto or .Dq busmouse . All other protocols are for serial mice and will not work with the PS/2 and bus mice. If this is a USB mouse, .Dq auto is the only protocol type which will work. d -literal microsoft Microsoft mouse (serial) intellimouse Microsoft IntelliMouse (serial) mousesystems Mouse systems Corp mouse (serial) mmseries MM Series mouse (serial) logitech Logitech mouse (serial) busmouse A bus mouse mouseman Logitech MouseMan and TrackMan (serial) glidepoint ALPS GlidePoint (serial) thinkingmouse Kensignton ThinkingMouse (serial) ps/2 PS/2 mouse mmhittab MM HitTablet (serial) x10mouseremote X10 MouseRemote (serial) versapad Interlink VersaPad (serial) .Ed

p Even if the mouse is not in the above list, it may be compatible with one in the list. Refer to the man page for .Xr moused 8 for compatibility information.

p It should also be noted that while this is enabled, any other client of the mouse (such as an X server) should access the mouse through the virtual mouse device:

a /dev/sysmouse and configure it as a sysmouse type mouse, since all mouse data is converted to this single canonical format when using .Xr moused 8 . If the client program does not support the sysmouse type, specify the mousesystems type. It is the second preferred type. t Va moused_port

q Vt str If .Va moused_enable is set to .Dq YES , this is the actual port the mouse is on. It might be

a /dev/cuaa0 for a COM1 serial mouse,

a /dev/psm0 for a PS/2 mouse or

a /dev/mse0 for a bus mouse, for example. t Va moused_flags

q Vt str If .Va moused_type is set, these are the additional flags to pass to the .Xr moused 8 daemon. t Va mousechar_start

q Vt int If set to .Dq NO then the default mouse cursor character range 0xd0-0xd3 is used, otherwise the range start is set to .Ar value character, see .Xr vidcontrol 1 . Use if the default range is occupied in the language code table. t Va allscreens_flags

q Vt str If set, .Xr vidcontrol 1 is run with these options for each of the virtual terminals

q Pa /dev/ttyv* . For example, .Dq -m on will enable the mouse pointer on all virtual terminals if .Va moused_enable is set to .Dq YES . t Va allscreens_kbdflags

q Vt str If set, .Xr kbdcontrol 1 is run with these options for each of the virtual terminals

q Pa /dev/ttyv* . For example, .Dq Li -h 200 will set the .Xr syscons 4 scrollback (history) buffer to 200 lines. t Va cron_enable

q Vt bool If set to .Dq YES then run the .Xr cron 8 daemon at system boot time. t Va cron_program

q Vt str Path to .Xr cron 8 (default

a /usr/sbin/cron ) . t Va cron_flags

q Vt str If .Va cron_enable is set to .Dq YES , these are the flags to pass to .Xr cron 8 . t Va lpd_program

q Vt str Path to .Xr lpd 8 (default

a /usr/sbin/lpd ) . t Va lpd_enable

q Vt bool If set to .Dq YES then run the .Xr lpd 8 daemon at system boot time. t Va lpd_flags

q Vt str If .Va lpd_enable is set to .Dq YES , these are the flags to pass to the .Xr lpd 8 daemon. t Va sendmail_enable

q Vt bool If set to .Dq YES then run the .Xr sendmail 8 daemon at system boot time. t Va sendmail_flags

q Vt str If .Va sendmail_enable is set to .Dq YES , these are the flags to pass to the .Xr sendmail 8 daemon. t Va sendmail_outbound_enable

q Vt bool If set to .Dq YES and .Va sendmail_enable is set to .Dq NO then run .Xr sendmail 8 using .Va sendmail_outbound_flags instead of .Va sendmail_flags . This is intended to allow local mail queue management for systems that do not offer a listening SMTP service. t Va sendmail_outbound_flags

q Vt str If .Va sendmail_enable is set to .Dq NO and .Va sendmail_outbound_enable is set to .Dq YES then these are the flags to pass to the .Xr sendmail 8 daemon. t Va dumpdev

q Vt str Indicates the device (usually a swap partition) to which a crash dump should be written in the event of a system crash. The value of this variable is passed as the argument to .Xr dumpon 8 . To disable crash dumps, set this variable to .Dq NO . t Va dumpdir

q Vt str When the system reboots after a crash and a crash dump is found on the device specified by the .Va dumpdev variable, .Xr savecore 8 will save that crash dump and a copy of the kernel to the directory specified by the .Va dumpdir variable. The default value is .Dq /var/crash . t Va enable_quotas

q Vt bool Set to .Dq YES to turn on user disk quotas on system startup via the .Xr quotaon 8 command. t Va check_quotas

q Vt bool Set to .Dq YES to enable user disk quota checking via the .Xr quotacheck 8 command. t Va accounting_enable

q Vt bool Set to .Dq YES to enable system accounting through the .Xr accton 8 facility. t Va ibcs2_enable

q Vt bool Set to .Dq YES to enable iBCS2 (SCO) binary emulation at system initial boot time. t Va ibcs2_loaders

q Vt str If not set to .Dq NO and if .Va ibcs2_enable is set to .Dq YES , this specifies a list of additional iBCS2 loaders to enable. t Va linux_enable

q Vt bool Set to .Dq YES to enable Linux/ELF binary emulation at system initial boot time. t Va osf1_enable

q Vt bool Set to .Dq YES to enable OSF/1 (Digital UNIX) binary emulation at system initial boot time. (alpha) t Va clear_tmp_enable

q Vt bool Set to .Dq YES to have

a /tmp cleaned at startup. t Va ldconfig_paths

q Vt str Set to the list of shared library paths to use with .Xr ldconfig 8 . NOTE:

a /usr/lib will always be added first, so it need not appear in this list. t Va ldconfig_insecure

q Vt bool The .Xr ldconfig 8 utility normally refuses to use directories which are writable by anyone except root. Set this variable to .Dq YES to disable that security check during system startup. t Va kern_securelevel_enable

q Vt bool Set to .Dq YES to set the kernel security level at system startup. t Va kern_securelevel

q Vt int The kernel security level to set at startup. The allowed range of .Ar value ranges from -1 (the compile time default) to 3 (the most secure). See .Xr init 8 for the list of possible security levels and their effect on system operation. t Va start_vinum

q Vt bool Set to .Dq YES to start .Xr vinum 8 at system boot time. t Va sshd_program

q Vt str Path to the SSH server program

a ( /usr/sbin/sshd is the default). t Va sshd_enable

q Vt bool Set to .Dq YES to start .Xr sshd 8 at system boot time. t Va sshd_flags

q Vt str If .Va sshd_enable is set to .Dq YES , these are the flags to pass to the .Xr sshd 8 daemon. t Va unaligned_print

q Vt bool If set to .Dq NO then unaligned access warnings will not be printed. (alpha) ----- isdn settings ---------------------------------
t Va isdn_enable

q Vt bool Set to .Dq NO by default. When set to .Dq YES , starts the isdn daemon

a /usr/sbin/isdnd at system boot time. t Va isdn_flags

q Vt str Set to .Dq -dn -d0x1f9 by default. Additional flags to pass to .Xr isdnd 8 (but see .Va isdn_fsdev and .Va isdn_ttype for certain tunable parameters). t Va isdn_ttype

q Vt str Set to .Dq cons25 by default. The terminal type of the output device when .Xr isdnd 8 operates in fullscreen mode. t Va isdn_screenflags

q Vt str Set to .Dq NO by default. The video mode for fullscreen mode (only for .Xr syscons 4 console driver, see .Xr vidcontrol 1 for valid modes). t Va isdn_fsdev

q Vt str Set to .Dq NO by default. The output device for .Xr isdnd 8 in fullscreen mode (or .Dq NO for daemon mode). t Va isdn_trace

q Vt bool Set to .Dq NO by default. When set to .Dq YES , enables the ISDN protocol trace utility

a /usr/sbin/isdntrace at system boot time. t Va isdn_traceflags

q Vt str Set to .Dq -f /var/tmp/isdntrace0 by default. Flags for

a /usr/sbin/isdntrace . -----------------------------------------------------
.El .Sh FILES l -tag -width /etc/defaults/rc.conf -compact t Pa /etc/defaults/rc.conf t Pa /etc/rc.conf t Pa /etc/rc.conf.local .El .Sh SEE ALSO .Xr catman 1 , .Xr gdb 1 , .Xr info 1 , .Xr makewhatis 1 , .Xr vidcontrol 1 , .Xr yp 4 , .Xr exports 5 , .Xr motd 5 , .Xr accton 8 , .Xr amd 8 , .Xr apm 8 , .Xr atm 8 , .Xr cron 8 , .Xr dhclient 8 , .Xr gated 8 , .Xr ifconfig 8 , .Xr inetd 8 , .Xr isdnd 8 , .Xr isdntrace 8 , .Xr lpd 8 , .Xr mdconfig 8 , .Xr moused 8 , .Xr mrouted 8 , .Xr named 8 , .Xr nfsd 8 , .Xr nfsiod 8 , .Xr ntpd 8 , .Xr ntpdate 8 , .Xr pcnfsd 8 , .Xr quotacheck 8 , .Xr quotaon 8 , .Xr rc 8 , .Xr route 8 , .Xr routed 8 , .Xr rpc.lockd 8 , .Xr rpc.statd 8 , .Xr rpcbind 8 , .Xr rwhod 8 , .Xr savecore 8 , .Xr sendmail 8 , .Xr sshd 8 , .Xr swapon 8 , .Xr sysctl 8 , .Xr syslogd 8 , .Xr timed 8 , .Xr vinum 8 , .Xr xtend 8 , .Xr ypbind 8 , .Xr ypserv 8 , .Xr ypset 8 .Sh HISTORY The .Nm file appeared in .Fx 2.2.2 . .Sh AUTHORS .An Jordan K. Hubbard .