home | help
RC.CONF(5)		       File Formats Manual		      RC.CONF(5)

NAME
     rc.conf -- system configuration information

DESCRIPTION
     The  file	rc.conf  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 instal-
     lations, the rc.conf file is generally initialized by the system  installa-
     tion utility: /stand/sysinstall.

     The purpose of rc.conf is not to run commands or perform system startup ac-
     tions  directly.	Instead,  it  is included by the various generic startup
     scripts in /etc which conditionalize their internal  actions  according  to
     the settings found there.

     The  /etc/rc.conf	file  is  included  from the file /etc/defaults/rc.conf,
     which specifies the default settings for all the  available  options.   Op-
     tions  need only be specified in /etc/rc.conf when the system administrator
     wishes to override these defaults.  The file /etc/rc.conf.local is used  to
     override	settings  in  /etc/rc.conf  for  historical  reasons.	See  the
     "rc_conf_files" option below.

     The following list provides a name and short description for each	variable
     that can be set in the rc.conf file:

     swapfile	   (str) If set to "NO" then no swapfile is installed, otherwise
		   the	value  is used as the full pathname to a file to use for
		   additional swap space.

     apm_enable    (bool) If set to "YES", enable support  for	Automatic  Power
		   Management with the apm(8) command.

     apmd_enable   (bool)  Run	apmd(8) to handle APM event from userland.  This
		   also enable support for APM.

     apmd_flags    (str) If apmd_enable is set to "YES", these are the flags  to
		   pass to the apmd(8) daemon.

     pccard_enable
		   (bool) If set to "YES", enable PCCARD support at boot time.

     pccard_mem    (str)  Set  to  PCCARD controller memory address or "DEFAULT"
		   for the default value.

     pccard_ifconfig
		   (str) List of arguments to be passed to ifconfig(8)	at  boot
		   time or on insertion of the card (e.g. "inet 192.168.1.1 net-
		   mask  255.255.255.0" for a fixed address or "DHCP" for a DHCP
		   client).

     pccard_beep   (int) If 0, set the PCCARD controller to silent mode.  If  1,
		   set it to beep mode.  If 2, set it to melody mode.

     pccard_conf   (str)  Path to the configuration file for the pccardd(8) dae-
		   mon.

     pccardd_flags
		   (str) If pccard_enable is set to "YES", these are  the  flags
		   to pass to the pccardd(8) daemon.

     pccard_ether_delay
		   (str)  Set  the  delay  before  starting  dhclient(8)  in pc-
		   card_ether(8) script.  This defaults to  5  seconds	to  work
		   around  a  bug  in  the ed(4) driver which can lead to system
		   hangs when using some newer ed(4) based cards.

     local_startup
		   (str) List of directories to search for startup script files.

     script_name_sep
		   (str) The field separator to use for breaking down  the  list
		   of  startup	script files into individual filenames.  The de-
		   fault is a space.  It is not necessary to change this  unless
		   there are startup scripts with names containing spaces.

     hostname	   (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
		   dhclient(8) is used to set the hostname via DHCP, this  vari-
		   able should be set to an empty string.

     nisdomainname
		   (str) The NIS domain name of this host, or "NO" if NIS is not
		   used.

     dhcp_program  (str)  Path	to  the DHCP client program (/sbin/dhclient, the
		   ISC DHCP client, is the default).

     dhcp_flags    (str) Additional flags to pass to the  DHCP	client	program.
		   For	the  ISC DHCP client, see the dhclient(8) page for a de-
		   scription of the command line options available.

     firewall_enable
		   (bool) Set to "YES" to load firewall rules  at  startup.   If
		   the	kernel	was  not  built with IPFIREWALL, the ipfw kernel
		   module will be loaded.  See also ipfilter_enable.

     firewall_script
		   (str) This variable specifies the full path to  the	firewall
		   script to run.  The default is /etc/rc.firewall.

     firewall_type
		   (str)   Names   the	firewall  type	from  the  selection  in
		   /etc/rc.firewall, or the file which contains the local  fire-
		   wall  ruleset.   Valid  selections from /etc/rc.firewall, are
		   "open" - unrestricted IP access; "closed" - all  IP	services
		   disabled,  except  via lo0; "client" - basic protection for a
		   workstation; "simple" - basic protection for  a  LAN.   If  a
		   filename is specified, the full path must be given.

     firewall_quiet
		   (bool)  Set	to "YES" to disable the display of ipfw rules on
		   the console during boot.

     firewall_logging
		   (bool) Set to "YES" to enable ipfw event  logging.	This  is
		   equivalent to the IPFIREWALL_VERBOSE kernel option.

     firewall_flags
		   (str)  Flags  passed  to ipfw(8) if firewall_type specifies a
		   filename.

     natd_program  (str) Path to natd(8).

     natd_enable   (bool) Set to "YES" to  enable  natd.   firewall_enable  must
		   also  be  set to "YES", and divert(4) sockets must be enabled
		   in the kernel.

     natd_interface
		   (str) This is the name of the public interface on which  natd
		   should  run.  The interface may be given as an interface name
		   or as an IP address.

     natd_flags    (str) Additional natd flags should be placed here.  The -n or
		   -a flag is automatically added with the above  natd_interface
		   as an argument.

     ipfilter_enable
		   (bool) Set to "NO" by default.  Setting this to "YES" enables
		   ipf(8) packet filtering.

		   Typical usage will require putting

		   ipfilter_enable="YES"
		   ipnat_enable="YES"
		   ipmon_enable="YES"
		   ipfs_enable="YES"

		   into    /etc/rc.conf    and	  editing   /etc/ipf.rules   and
		   /etc/ipnat.rules appropriately.

		   Note that ipfilter_enable and ipnat_enable can be enabled in-
		   dependently.  ipmon_enable and ipfs_enable  both  require  at
		   least one of ipfilter_enable and ipnat_enable to be enabled.

		   Having

		   options  IPFILTER
		   options  IPFILTER_LOG
		   options  IPFILTER_DEFAULT_BLOCK

		   in the kernel configuration file is a good idea, too.

     ipfilter_program
		   (str) Path to ipf(8) (default /sbin/ipf).

     ipfilter_rules
		   (str) Set to "/etc/ipf.rules" by default.  This variable con-
		   tains  the name of the filter rule definition file.	The file
		   is expected to be readable for the ipf(8) command to execute.

     ipfilter_flags
		   (str) Empty by default.  This variable contains flags  passed
		   to the ipf(8) program.

     ipnat_enable  (bool) Set to "NO" by default.  Set it to "YES" to enable ip-
		   nat(1)  network address translation.  See ipfilter_enable for
		   a detailed discussion.

     ipnat_program
		   (str) Path to ipnat(1) (default /sbin/ipnat).

     ipnat_rules   (str) Set to "/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 ipnat(1) command to execute.

     ipnat_flags   (str) Empty by default.  This variable contains flags  passed
		   to the ipnat(1) program.

     ipmon_enable  (bool) Set to "NO" by default.  Set it to "YES" to enable ip-
		   mon(8) monitoring (logging ipf(8) and ipnat(1) events).  Set-
		   ting   this	 variable   needs   setting  ipfilter_enable  or
		   ipnat_enable too.  See ipfilter_enable for a detailed discus-
		   sion.

     ipmon_program
		   (str) Path to ipmon(8) (default /sbin/ipmon).

     ipmon_flags   (str) Set to "-Ds" by default.  This variable contains  flags
		   passed  to  the  ipmon(8)  program.	 Another typical example
		   would be "-D /var/log/ipflog" to have ipmon(8)  log	directly
		   to	a  file  bypassing  syslogd(8).   Make	sure  to  adjust
		   /etc/newsyslog.conf in such case like this:

		   /var/log/ipflog  640  10  100  *  Z	/var/run/ipmon.pid

     ipfs_enable   (bool) Set to "NO" by default.  Set it  to  "YES"  to  enable
		   ipfs(8)  saving  the filter and NAT state tables during shut-
		   down and reloading them during startup again.   Setting  this
		   variable  needs  setting  ipfilter_enable  or ipnat_enable to
		   "YES" too.  See ipfilter_enable for	a  detailed  discussion.
		   Note that if kern_securelevel is set to 3, ipfs_enable cannot
		   be  used  because the raised securelevel will prevent ipfs(8)
		   from saving the state tables at shutdown time.

     ipfs_program  (str) Path to ipfs(8) (default /sbin/ipfs).

     ipfs_flags    (str) Empty by default.  This variable contains flags  passed
		   to the ipfs(8) program.

     tcp_extensions
		   (bool)  Set to "YES" by default.  Setting this to NO disables
		   certain TCP options as described by RFC 1323.   Setting  this
		   to  "NO"  might help remedy such problems with connections as
		   randomly hanging or other weird behavior.  Some  network  de-
		   vices are known to be broken with respect to these options.

     log_in_vain   (int)   Set	to  0  by  default.   The  sysctl(8)  variables,
		   net.inet.tcp.log_in_vain and net.inet.udp.log_in_vain as  de-
		   scribed in tcp(4) and udp(4), are set to the given value.

     tcp_keepalive
		   (bool)  Set	to "YES" by default.  Setting to NO will disable
		   probing idle TCP connections to verify that the peer is still
		   up and reachable.

     tcp_drop_synfin
		   (bool) Set to "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 TCP_DROP_SYNFIN option.

     icmp_drop_redirect
		   (bool) Set to "NO" by default.  Setting to YES will cause the
		   kernel to ignore ICMP REDIRECT packets.

     icmp_log_redirect
		   (bool) Set to "NO" by default.  Setting to YES will cause the
		   kernel  to log ICMP REDIRECT packets.  Note that the log mes-
		   sages are not rate-limited, so this	option	should	only  be
		   used for troubleshooting networks.

     network_interfaces
		   (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    "lo0    ed0"    An
		   ifconfig_<interface>  variable  is  also assumed to exist for
		   each value of 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:

		   ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
		   ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"

		   And so on.  For each ifconfig_<interface>_alias<n> entry that
		   is  found, its contents are passed to ifconfig(8).  Execution
		   stops at the first unsuccessful access, so if something  like
		   this is present:

		   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"

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

		   It is possible to bring up an interface with DHCP by  setting
		   the	ifconfig_<interface>  variable to "DHCP".  For instance,
		   to initialize the ed0 device via DHCP, it is possible to  use
		   something like:

		   ifconfig_ed0="DHCP"

     cloned_interfaces
		   (str)  Set to the list of clonable network interfaces to cre-
		   ate on this host.  Entries in cloned_interfaces are automati-
		   cally appended to network_interfaces for configuration.

     gif_interfaces
		   (str) Set to the list of gif(4) tunnel interfaces to  config-
		   ure	on  this  host.  A gifconfig_<interface> variable is as-
		   sumed to exist for each value of  interface.   The  value  of
		   this variable is used to configure the link layer of the tun-
		   nel	according  to  the syntax of the tunnel option to ifcon-
		   fig(8).  Additionaly, this option ensures  that  each  listed
		   interface is created via the create option to ifconfig(8) be-
		   fore attempting to configure it.

     ppp_enable    (bool) If set to "YES", run the ppp(8) daemon.

     ppp_mode	   (str) Mode in which to run the ppp(8) daemon.  Accepted modes
		   are	"auto", "ddial", "direct" and "dedicated".  See the man-
		   ual for a full description.

     ppp_nat	   (bool) If set to "YES", enables  packet  aliasing.	Used  in
		   conjunction	with gateway_enable allows hosts on private net-
		   work addresses access to the Internet using this  host  as  a
		   network address translating router.

     ppp_profile   (str) The name of the profile to use from /etc/ppp/ppp.conf.

     ppp_user	   (str) The name of the user under which ppp should be started.
		   By default, ppp is started as "root".

     rc_conf_files
		   (str)  This	option	is  used to specify a list of files that
		   will override the  settings	in  /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 /etc/rc.conf and /etc/rc.conf.local

     fsck_y_enable
		   (bool)  If set to "YES", fsck(8) will be run with the -y flag
		   if the initial preen of the filesystems fails.

     syslogd_enable
		   (bool) If set to "YES", run the syslogd(8) daemon.

     syslogd_program
		   (str) Path to syslogd(8) (default /usr/sbin/syslogd).

     syslogd_flags
		   (str) If syslogd_enable is set to "YES", these are the  flags
		   to pass to syslogd(8).

     inetd_enable  (bool) If set to "YES", run the inetd(8) daemon.

     inetd_program
		   (str) Path to inetd(8) (default /usr/sbin/inetd).

     inetd_flags   (str) If inetd_enable is set to "YES", these are the flags to
		   pass to inetd(8).

     named_enable  (bool) If set to "YES", run the named(8) daemon.

     named_program
		   (str) Path to named(8) (default /usr/sbin/named).

     named_flags   (str) If named_enable is set to "YES", these are the flags to
		   pass to named(8).

     kerberos_server_enable
		   (bool)  Set	to  "YES"  to start a Kerberos IV authentication
		   server at boot time.

     kadmind_server_enable
		   (bool) Set to "YES" to start kadmind(8), the Kerberos IV  Ad-
		   ministration Daemon; set to "NO" on a slave server.

     kerberos_stash
		   (str)  If  "YES",  instruct	the  Kerberos servers to use the
		   stashed master key instead  of  prompting  for  it  (only  if
		   kerberos_server_enable  is set to "YES", and is used for both
		   kerberos(1) and kadmind(8)).

     kerberos5_server_enable
		   (bool) Set to "YES" to  start  a  Kerberos  5  authentication
		   server at boot time.

     kadmind5_server_enable
		   (bool)  Set to "YES" to start k5admind(8), the Kerberos 5 Ad-
		   ministration Daemon; set to "NO" on a slave server.

     rwhod_enable  (bool) If set to "YES", run the rwhod(8) daemon at boot time.

     rwhod_flags   (str) If rwhod_enable is set to "YES", these are the flags to
		   pass to it.

     amd_enable    (bool) If set to "YES", run the amd(8) daemon at boot time.

     amd_flags	   (str) If amd_enable is set to "YES", these are the  flags  to
		   pass  to  it.   See the amd(8) info(1) page for more informa-
		   tion.

     amd_map_program
		   (str) If set, the specified program is run to get the list of
		   amd(8) maps.  For example, if the amd(8) maps are  stored  in
		   NIS, one can set this to run ypcat(1) to get a list of amd(8)
		   maps from the amd.master NIS map.

     update_motd   (bool)  If  set  to	"YES", /etc/motd will be updated at boot
		   time to reflect the kernel release  being  run.   If  set  to
		   "NO", /etc/motd will not be updated

     nfs_client_enable
		   (bool)  If  set  to "YES", run the NFS client daemons at boot
		   time.

     nfs_client_flags
		   (str) If nfs_client_enable is set to  "YES",  these	are  the
		   flags to pass to the nfsiod(8) daemon.

     nfs_access_cache
		   (int)  If  nfs_client_enable is set to "YES", this can be set
		   to "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 traf-
		   fic for many NFS operations.

     nfs_server_enable
		   (bool)  If  set  to "YES", run the NFS server daemons at boot
		   time.

     nfs_server_flags
		   (str) If nfs_server_enable is set to  "YES",  these	are  the
		   flags to pass to the nfsd(8) daemon.

     single_mountd_enable
		   (bool)  If  set  to	"YES",	and no nfs_server_enable is set,
		   start mountd(8), but not  nfsd(8)  daemon.	It  is	commonly
		   needed to run CFS without real NFS used.

     weak_mountd_authentication
		   (bool)  If  set  to "YES", allow services like PCNFSD to make
		   non-privileged mount requests.

     nfs_reserved_port_only
		   (bool) If set to "YES", provide NFS services only on a secure
		   port.

     nfs_bufpackets
		   (int) If set to a number, indicates	the  number  of  packets
		   worth  of  socket  buffer  space to reserve on an NFS client.
		   The kernel default is 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.

     rpc_lockd_enable
		   (bool)   If	set  to  "YES"	and  also  an  NFS  server,  run
		   rpc.lockd(8) at boot time.

     rpc_statd_enable
		   (bool)  If  set  to	"YES"  and  also  an  NFS  server,   run
		   rpc.statd(8) at boot time.

     portmap_program
		   (str) Path to portmap(8) (default /usr/sbin/portmap).

     portmap_enable
		   (bool)  If  set  to "YES", run the portmap(8) service at boot
		   time.

     portmap_flags
		   (str) If portmap_enable is set to "YES", these are the  flags
		   to pass to the portmap(8) daemon.

     xtend_enable  (bool)  If  set to "YES" then run the xtend(8) daemon at boot
		   time.

     xtend_flags   (str) If xtend_enable is set to "YES", these are the flags to
		   pass to the xtend(8) daemon.

     pppoed_enable
		   (bool) If set to "YES" then run the pppoed(8) daemon at  boot
		   time to provide PPP over Ethernet services.

     pppoed_provider
		   (str)  pppoed(8) listens to requests to this provider and ul-
		   timately runs ppp(8) with a system argument of the same name.

     pppoed_flags  (str) Additional flags to pass to pppoed(8).

     pppoed_interface
		   (str) The network interface to run pppoed on.  This is manda-
		   tory when pppoed_enable is set to "YES".

     timed_enable  (boot) If "YES" then run the timed(8) service at  boot  time.
		   This  command  is  intended	for networks of machines where a
		   consistent "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.

     timed_flags   (str) If timed_enable is set to "YES", these are the flags to
		   pass to the timed(8) service.

     ntpdate_enable
		   (bool) If set to "YES", run ntpdate at system startup.   This
		   command is intended to synchronize the system clock only once
		   from  some standard reference.  An option to set this up ini-
		   tially (from a list of known servers) is also provided by the
		   /stand/sysinstall program when the system is first installed.

     ntpdate_program
		   (str) Path to ntpdate(8) (default /usr/sbin/ntpdate).

     ntpdate_flags
		   (str) If ntpdate_enable is set to "YES", these are the  flags
		   to pass to the ntpdate(8) command (typically a hostname).

     xntpd_enable  (bool)  If  set to "YES" then run the ntpd(8) command at boot
		   time.

     xntpd_program
		   (str) Path to ntpd(8) (default /usr/sbin/ntpd).

     xntpd_flags   (str) If xntpd_enable is set to "YES", these are the flags to
		   pass to the ntpd(8) daemon.

     nis_client_enable
		   (bool) If set to "YES" then run the ypbind(8) service at sys-
		   tem boot time.

     nis_client_flags
		   (str) If nis_client_enable is set to  "YES",  these	are  the
		   flags to pass to the ypbind(8) service.

     nis_ypset_enable
		   (bool) If set to "YES" then run the ypset(8) daemon at system
		   boot time.

     nis_ypset_flags
		   (str)  If  nis_ypset_enable	is  set  to "YES", these are the
		   flags to pass to the ypset(8) daemon.

     nis_server_enable
		   (bool) If set to "YES" then run the ypserv(8) daemon at  sys-
		   tem boot time.

     nis_server_flags
		   (str)  If  nis_server_enable  is  set to "YES", these are the
		   flags to pass to the ypserv(8) daemon.

     nis_ypxfrd_enable
		   (bool) If set to "YES" then run the rpc.ypxfrd(8)  daemon  at
		   system boot time.

     nis_ypxfrd_flags
		   (str)  If  nis_ypxfrd_enable  is  set to "YES", these are the
		   flags to pass to the rpc.ypxfrd(8) daemon.

     nis_yppasswdd_enable
		   (bool) If set to "YES" then run the	rpc.yppasswdd(8)  daemon
		   at system boot time.

     nis_yppasswdd_flags
		   (str)  If nis_yppasswdd_enable is set to "YES", these are the
		   flags to pass to the rpc.yppasswdd(8) daemon.

     defaultrouter
		   (str) If not set to "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!).

     static_routes
		   (str) Set to the list of static routes that are to  be  added
		   at system boot time.  If not set to "NO" then for each white-
		   space separated element in the value, a route_<element> vari-
		   able  is assumed to exist whose contents will later be passed
		   to a "route add" operation.

     gateway_enable
		   (bool) If set to "YES", then configure host to at  as  an  IP
		   router, e.g. to forward packets between interfaces.

     router_enable
		   (bool)  If  set  to	"YES"  then run a routing daemon of some
		   sort, based on the settings of router and router_flags.

     router	   (str) If router_enable is set to "YES", this is the	name  of
		   the routing daemon to use.

     router_flags  (str)  If  router_enable is set to "YES", these are the flags
		   to pass to the routing daemon.

     mrouted_enable
		   (bool) If set to "YES" then run the multicast routing daemon,
		   mrouted(8).

     mrouted_flags
		   (str) If mrouted_enable is set to "YES", these are the  flags
		   to pass to the multicast routing daemon.

     ipxgateway_enable
		   (bool)  If  set to "YES" then enable the routing of IPX traf-
		   fic.

     ipxrouted_enable
		   (bool) If set to "YES" then run the	IPXrouted(8)  daemon  at
		   system boot time.

     ipxrouted_flags
		   (str)  If  ipxrouted_enable	is  set  to "YES", these are the
		   flags to pass to the IPXrouted(8) daemon.

     arpproxy_all  (bool) If set to "YES" then enable global proxy ARP.

     forward_sourceroute
		   (bool) If set to "YES" then when gateway_enable is  also  set
		   to "YES", source routed packets are forwarded.

     accept_sourceroute
		   (bool)  If  set  to	"YES" then the system will accept source
		   routed packets directed at it.

     rarpd_enable  (bool) If set to "YES" then run the rarpd(8) daemon at system
		   boot time.

     rarpd_flags   (str) If rarpd_enable is set to "YES", these are the flags to
		   pass to the rarpd(8) daemon.

     atm_enable    (bool) Set to "YES" to enable the configuration of ATM inter-
		   faces at system boot time.  For all of the ATM variables  de-
		   scribed  below,  please refer to the atm(8) man page for fur-
		   ther details on the available command parameters.  Also refer
		   to the files in  /usr/share/examples/atm  for  more	detailed
		   configuration information.

     atm_netif_<intf>
		   (str)  For  the  ATM physical interface <intf>, this variable
		   defines the name prefix and count for the ATM network  inter-
		   faces to be created.  The value will be passed as the parame-
		   ters of an "atm set netif <intf>" command.

     atm_sigmgr_<intf>
		   (str)  For  the  ATM physical interface <intf>, this variable
		   defines the ATM signalling manager to  be  used.   The  value
		   will  be  passed  as the parameters of an "atm attach <intf>"
		   command.

     atm_prefix_<intf>
		   (str) For the ATM physical interface  <intf>,  this	variable
		   defines the NSAP prefix for interfaces using a UNI signalling
		   manager.   If set to ILMI, then the prefix will automatically
		   be set via the ilmid(8) daemon.  Otherwise, the value will be
		   passed as the parameters of an "atm set prefix  <intf>"  com-
		   mand.

     atm_macaddr_<intf>
		   (str)  For  the  ATM physical interface <intf>, this variable
		   defines the MAC address for interfaces using a UNI signalling
		   manager.  If set to "NO", then the hardware MAC address  con-
		   tained  in  the  ATM interface card will be used.  Otherwise,
		   the value will be passed as the parameters of an "atm set mac
		   <intf>" command.

     atm_arpserver_<netif>
		   (str) For the ATM network interface	<netif>,  this	variable
		   defines the ATM address for a host which is to provide ATMARP
		   service.   This variable is only applicable to interfaces us-
		   ing a UNI signalling manager.  If set  to  local,  then  this
		   host  will become an ATMARP server.	The value will be passed
		   as the parameters of an "atm set arpserver <netif>" command.

     atm_scsparp_<netif>
		   (bool) If set to "YES", then SCSP/ATMARP service for the net-
		   work interface <netif> will be initiated using  the	scspd(8)
		   and	atmarpd(8) daemons.  This variable is only applicable if
		   `atm_arpserver_<netif> ="local"' is defined.

     atm_pvcs	   (str) Set to the list of ATM PVCs to be added at system  boot
		   time.  For each whitespace separated element in the value, an
		   atm_pvc_<element> variable is assumed to exist.  The value of
		   each  of  these variables will be passed as the parameters of
		   an "atm add pvc" command.

     atm_arps	   (str) Set to the list of permanent  ATM  ARP  entries  to  be
		   added  at  system  boot  time.  For each whitespace separated
		   element in the value, an atm_arp_<element>  variable  is  as-
		   sumed to exist.  The value of each of these variables will be
		   passed as the parameters of an "atm add arp" command.

     keymap	   (str)  If  set to "NO" then no keymap is installed, otherwise
		   the	value  is  used  to   install	the   keymap   file   in
		   /usr/share/syscons/keymaps/<value>.kbd

     keyrate	   (str)  The  keyboard  repeat speed.	Set to "slow", "normal",
		   "fast" or "NO" if the default behavior is desired.

     keychange	   (str) If not set to "NO", attempt  to  program  the	function
		   keys  with the value.  The value should be a single string of
		   the	form:  "<funkey_number>   <new_value>	[<funkey_number>
		   <new_value>]..."

     cursor	   (str)   Can	be  set  to  the  value  of  "normal",	"blink",
		   "destructive" or "NO" to set the cursor  behavior  explicitly
		   or choose the default behavior.

     scrnmap	   (str)  If set to "NO" then no screen map is installed, other-
		   wise the value is used to install  the  screen  map	file  in
		   /usr/share/syscons/scrnmaps/<value>.

     font8x16	   (str) If set to "NO" then the default 8x16 font value is used
		   for	 screen   size	 requests,   otherwise	 the   value  in
		   /usr/share/syscons/fonts/<value> is used.

     font8x14	   (str) If set to "NO" then the default 8x14 font value is used
		   for	screen	 size	requests,   otherwise	the   value   in
		   /usr/share/syscons/fonts/<value> is used.

     font8x8	   (str)  If set to "NO" then the default 8x8 font value is used
		   for	screen	 size	requests,   otherwise	the   value   in
		   /usr/share/syscons/fonts/<value> is used.

     blanktime	   (int)  If set to "NO" then the default screen blanking inter-
		   val is used, otherwise it is set to value seconds.

     saver	   (str) If not set to "NO", this is the actual screen saver  to
		   use (blank, snake, daemon, etc).

     moused_enable
		   (str)  If  set  to "YES", the moused(8) daemon is started for
		   doing cut/paste selection on the console.

     moused_type   (str) This is the protocol type of  the  mouse  connected  to
		   this host.  This variable must be set if moused_enable is set
		   to  "YES".  The moused(8) daemon is able to detect the appro-
		   priate mouse type automatically  in	many  cases.   Set  this
		   variable to "auto" to let the daemon detect it, or select one
		   from the following list if the automatic detection fails.

		   If  the  mouse  is  attached  to  the PS/2 mouse port, choose
		   "auto" or "ps/2", regardless of the brand and  model  of  the
		   mouse.   Likewise,  if the mouse is attached to the bus mouse
		   port, choose "auto" or "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, "auto" is the only protocol type
		   which will work.

		   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    Kensington ThinkingMouse (serial)
		   ps/2 	    PS/2 mouse
		   mmhittab	    MM HitTablet (serial)
		   x10mouseremote   X10 MouseRemote (serial)
		   versapad	    Interlink VersaPad (serial)

		   Even if the mouse is not in the above list, it may be compat-
		   ible with one in  the  list.   Refer  to  the  man  page  for
		   moused(8) for compatibility information.

		   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:  /dev/sysmouse  and
		   configure  it  as a sysmouse type mouse, since all mouse data
		   is converted to  this  single  canonical  format  when  using
		   moused(8).	If  the client program does not support the sys-
		   mouse type, specify the mousesystems type.  It is the  second
		   preferred type.

     moused_port   (str)  If  moused_enable  is set to "YES", this is the actual
		   port the mouse is on.  It might be /dev/cuaa0 for a COM1 ser-
		   ial mouse, /dev/psm0 for a PS/2 mouse or /dev/mse0 for a  bus
		   mouse, for example.

     moused_flags  (str)  If  moused_type is set, these are the additional flags
		   to pass to the moused(8) daemon.

     allscreens_flags
		   (str) If set, vidcontrol(1) is run  with  these  options  for
		   each of the virtual terminals (/dev/ttyv*).	For example, "-m
		   on" will enable the mouse pointer on all virtual terminals if
		   moused_enable is set to "YES".

     cron_enable   (bool)  If set to "YES" then run the cron(8) daemon at system
		   boot time.

     cron_program  (str) Path to cron(8) (default /usr/sbin/cron).

     cron_flags    (str) If cron_enable is set to "YES", these are the flags  to
		   pass to cron(8).

     lpd_program   (str) Path to lpd(8) (default /usr/sbin/lpd).

     lpd_enable    (bool)  If  set to "YES" then run the lpd(8) daemon at system
		   boot time.

     lpd_flags	   (str) If lpd_enable is set to "YES", these are the  flags  to
		   pass to the lpd(8) daemon.

     mta_start_script
		   (str)  This variable specifies the full path to the script to
		   run	to  start  a  mail  transfer  agent.   The  default   is
		   /etc/rc.sendmail.	 The	sendmail_*    variables    which
		   /etc/rc.sendmail uses are documented  in  the  rc.sendmail(8)
		   man page.

     dumpdev	   (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  dumpon(8).   To disable crash dumps, set this variable to
		   "NO".

     dumpdir	   (str) When the system reboots after a crash and a crash  dump
		   is  found  on  the  device specified by the dumpdev variable,
		   savecore(8) will save that crash dump and a copy of the  ker-
		   nel	to the directory specified by the dumpdir variable.  The
		   default value is  "/var/crash".   Set  to  "NO"  to	not  run
		   savecore(8) at boot time when dumpdir is set.

     savecore_flags
		   (str) If crash dumps are enabled, these are the flags to pass
		   to the savecore(8) utility.

     enable_quotas
		   (bool)  Set	to  "YES"  to turn on user disk quotas on system
		   startup via the quotaon(8) command.

     check_quotas  (bool) Set to "YES" to enable user disk  quota  checking  via
		   the quotacheck(8) command.

     accounting_enable
		   (bool)  Set	to "YES" to enable system accounting through the
		   accton(8) facility.

     ibcs2_enable  (bool) Set to "YES" to enable iBCS2 (SCO) binary emulation at
		   system initial boot time.

     ibcs2_loaders
		   (str) If not set to "NO" and if ibcs2_enable is set to "YES",
		   this specifies a list of additional iBCS2 loaders to enable.

     linux_enable  (bool) Set to "YES" to enable Linux/ELF binary  emulation  at
		   system initial boot time.

     osf1_enable   (bool) Set to "YES" to enable OSF/1 (Digital UNIX) binary em-
		   ulation at system initial boot time.  (alpha)

     rand_irqs	   (str)  Set  to  the list of IRQs to monitor for random number
		   creation (see the man page for rndcontrol(8)).

     clear_tmp_enable
		   (bool) Set to "YES" to have /tmp cleaned at startup.

     ldconfig_paths
		   (str) Set to the list of shared library paths to use with ld-
		   config(8).  NOTE: /usr/lib will always be added first, so  it
		   need not appear in this list.

     ldconfig_insecure
		   (bool) The ldconfig(8) utility normally refuses to use direc-
		   tories  which  are  writable by anyone except root.	Set this
		   variable to "YES" to disable that security check during  sys-
		   tem startup.

     kern_securelevel_enable
		   (bool)  Set to "YES" to set the kernel security level at sys-
		   tem startup.

     kern_securelevel
		   (int) The kernel security level to set at startup.	The  al-
		   lowed  range  of  value  ranges from -1 (the compile time de-
		   fault) to 3 (the most secure).  See init(8) for the	list  of
		   possible  security  levels  and their effect on system opera-
		   tion.

     start_vinum   (bool) Set to "YES" to start vinum(8) at system boot time.

     sshd_program  (str) Path to the SSH server program (/usr/sbin/sshd  is  the
		   default).

     sshd_enable   (bool) Set to "YES" to start sshd(8) at system boot time.

     sshd_flags    (str)  If sshd_enable is set to "YES", these are the flags to
		   pass to the sshd(8) daemon.

     unaligned_print
		   (bool) If set to "NO" then unaligned access warnings will not
		   be printed.	(alpha)

     isdn_enable   (bool) Set to "NO" by default.  When set to "YES", starts the
		   isdn daemon /usr/sbin/isdnd at system boot time.

     isdn_flags    (str) Set to "-dn -d0x1f9" by default.  Additional  flags  to
		   pass  to isdnd(8) (but see isdn_fsdev and isdn_ttype for cer-
		   tain tunable parameters).

     isdn_ttype    (str) Set to "cons25" by default.  The terminal type  of  the
		   output device when isdnd(8) operates in fullscreen mode.

     isdn_screenflags
		   (str)  Set to "NO" by default.  The video mode for fullscreen
		   mode (only for syscons(4) console driver,  see  vidcontrol(1)
		   for valid modes).

     isdn_fsdev    (str)  Set to "/dev/ttyv4" by default.  The output device for
		   isdnd(8) in fullscreen mode (or "NO" for daemon mode).

     isdn_trace    (bool) Set to "NO" by default.  When set  to  "YES",  enables
		   the ISDN protocol trace utility /usr/sbin/isdntrace at system
		   boot time.

     isdn_traceflags
		   (str)  Set to "-f /var/tmp/isdntrace0" by default.  Flags for
		   /usr/sbin/isdntrace.

FILES
     /etc/defaults/rc.conf
     /etc/rc.conf
     /etc/rc.conf.local

SEE ALSO
     catman(1), gdb(1), info(1), makewhatis(1), vidcontrol(1),	tcp(4),  udp(4),
     exports(5),   motd(5),   accton(8),   amd(8),   apm(8),   atm(8),	cron(8),
     dhclient(8),  gated(8),  ifconfig(8),  inetd(8),  isdnd(8),   isdntrace(8),
     lpd(8),  moused(8), mrouted(8), named(8), nfsd(8), nfsiod(8), ntpd(8), ntp-
     date(8), pcnfsd(8), portmap(8), quotacheck(8), quotaon(8), rc(8),	rc.send-
     mail(8),  rndcontrol(8),  route(8),  routed(8), rpc.lockd(8), rpc.statd(8),
     rpcbind(8), rwhod(8),  savecore(8),  sshd(8),  swapon(8),	sysctl(8),  sys-
     logd(8),  timed(8),  vinum(8),  vnconfig(8),  xtend(8),  yp(8),  ypbind(8),
     ypserv(8), ypset(8)

HISTORY
     The rc.conf file appeared in FreeBSD 2.2.2.

AUTHORS
     Jordan K. Hubbard.

FreeBSD 4.8			  March 3, 2002 		      RC.CONF(5)

home | help