4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .Dd September 13, 2007
32 .Nd system configuration information
36 contains descriptive information about the local host name, configuration
37 details for any potential network interfaces and which services should be
38 started up at system initial boot time.
39 In new installations, the
41 file is generally initialized by the system installation utility,
46 is not to run commands or perform system startup actions
48 Instead, it is included by the
49 various generic startup scripts in
51 which conditionalize their
52 internal actions according to the settings found there.
56 file is included from the file
57 .Pa /etc/defaults/rc.conf ,
58 which specifies the default settings for all the available options.
59 Options need only be specified in
61 when the system administrator wishes to override these defaults.
63 .Pa /etc/rc.conf.local
64 is used to override settings in
66 for historical reasons.
72 .Dq Ar name Ns Li = Ns Ar value
76 The following list provides a name and short description for each
77 variable that can be set in the
80 .Bl -tag -width indent-two
85 enable output of debug messages from rc scripts.
86 This variable can be helpful in diagnosing mistakes when
87 editing or integrating new scripts.
88 Beware that this produces copious output to the terminal and
94 disable informational messages from the rc scripts.
95 Informational messages are displayed when
96 a condition that is not serious enough to warrant a warning or
98 .It Va early_late_divider
100 The name of the script that should be used as the
101 delimiter between the
105 stages of the boot process.
106 The early stage should contain all the services needed to
107 get the disks (local or remote) mounted so that the late
108 stage can include scripts contained in the directories
111 variable (see below).
112 Thus, the two likely candidates for this value are
114 for the typical system, and
116 if the system needs remote file
117 systems mounted to get access to the
119 directories; for example when
127 is likely to be an appropriate value.
128 Extreme care should be taken when changing this value,
129 and before changing it one should ensure that there are
130 adequate provisions to recover from a failed boot
131 (such as physical contact with the machine,
132 or reliable remote console access).
137 no swapfile is installed, otherwise the value is used as the full
138 pathname to a file to use for additional swap space.
143 enable support for Automatic Power Management with
151 to handle APM event from userland.
152 This also enables support for APM.
159 these are the flags to pass to the
166 to handle device added, removed or unknown events from the kernel.
167 .It Va kldxref_enable
174 to automatically rebuild
179 .It Va kldxref_clobber
189 will overwrite existing
196 .It Va kldxref_module_path
201 delimited list of paths containing
213 enable the system power control facility with the
222 these are the flags to pass to the
225 .It Va sensorsd_enable
234 a sensors monitoring and logging daemon.
235 .It Va sensorsd_flags
238 This variable contains additional flags passed to the
242 Controls the creation of a
245 Always happens if set to
247 and never happens if set to
249 If set to anything else, a memory file system is created if
253 Controls the size of a created
257 Extra options passed to the
259 utility when the memory file system for
264 which inhibits the use of softupdates on
266 so that file system space is freed without delay
267 after file truncation or deletion.
270 for other options you can use in
273 Controls the creation of a
276 Always happens if set to
278 and never happens if set to
280 If set to anything else, a memory file system is created if
284 Controls the size of a created
288 Extra options passed to the
290 utility when the memory file system for
295 which inhibits the use of softupdates on
297 so that file system space is freed without delay
298 after file truncation or deletion.
301 for other options you can use in
304 Controls the automatic population of the
307 Always happens if set to
309 and never happens if set to
311 If set to anything else, a memory file system is created if
314 Note that this process requires access to certain commands in
318 is mounted on normal systems.
319 .It Va cleanvar_enable
326 List of directories to search for startup script files.
327 .It Va script_name_sep
329 The field separator to use for breaking down the list of startup script files
330 into individual filenames.
331 The default is a space.
332 It is not necessary to change this unless there are startup scripts with names
334 .It Va hostapd_enable
343 The fully qualified domain name (FQDN) of this host on the network.
344 This should almost certainly be set to something meaningful, even if
345 there is no network connection.
348 is used to set the hostname via DHCP,
349 this variable should be set to an empty string.
352 Enable support for IPv6 networking.
353 Note that this requires that the kernel has been compiled with
354 .Cd "options INET6" .
357 The NIS domain name of this host, or
360 .It Va dhclient_program
362 Path to the DHCP client program
363 .Pa ( /sbin/dhclient ,
368 .It Va dhclient_flags
370 Additional flags to pass to the DHCP client program.
375 manpage for a description of the command line options available.
376 .It Va dhclient_flags_ Ns Aq Ar iface
377 Additional flags to pass to the DHCP client program running on
380 When specified, this variable overrides
382 .It Va background_dhclient
386 to start the DHCP client in background.
387 This can cause trouble with applications depending on
388 a working network, but it will provide a faster startup
390 .It Va background_dhclient_ Ns Aq Ar iface
391 When specified, this variable overrides the
392 .Va background_dhclient
393 variable for interface
396 .It Va synchronous_dhclient
402 only in response to interface events and not synchronously at startup.
403 This behavior can be overridden on a per-interface basis by replacing
407 .Va ifconfig_ Ns Aq Ar interface
412 .It Va firewall_enable
416 to load firewall rules at startup.
417 If the kernel was not built with
418 .Cd "options IPFIREWALL" ,
421 kernel module will be loaded.
423 .Va ipfilter_enable .
424 .It Va ipv6_firewall_enable
426 The IPv6 equivalent of
427 .Va firewall_enable .
430 to load IPv6 firewall rules at startup.
431 If the kernel was not built with
432 .Cd "options IPV6FIREWALL" ,
435 kernel module will be loaded.
436 .It Va firewall_script
438 This variable specifies the full path to the firewall script to run.
440 .Pa /etc/rc.firewall .
441 .It Va ipv6_firewall_script
443 The IPv6 equivalent of
444 .Va firewall_script .
447 Names the firewall type from the selection in
448 .Pa /etc/rc.firewall ,
449 or the file which contains the local firewall ruleset.
450 Valid selections from
454 .Bl -tag -width ".Li simple" -compact
456 unrestricted IP access
458 all IP services disabled, except via
461 basic protection for a workstation
463 basic protection for a LAN.
466 If a filename is specified, the full path
468 .It Va ipv6_firewall_type
470 The IPv6 equivalent of
472 .It Va firewall_quiet
476 to disable the display of firewall rules on the console during boot.
477 .It Va ipv6_firewall_quiet
479 The IPv6 equivalent of
481 .It Va firewall_logging
485 to enable firewall event logging.
486 This is equivalent to the
487 .Dv IPFIREWALL_VERBOSE
489 .It Va ipv6_firewall_logging
491 The IPv6 equivalent of
492 .Va firewall_logging .
493 .It Va firewall_flags
499 specifies a filename.
500 .It Va ipv6_firewall_flags
502 The IPv6 equivalent of
519 sockets must be enabled in the kernel.
520 If the kernel was not built with
521 .Cd "options IPDIVERT" ,
524 kernel module will be loaded.
525 .It Va natd_interface
527 This is the name of the public interface on which
530 The interface may be given as an interface name or as an IP address.
535 flags should be placed here.
540 flag is automatically added with the above
543 .\" ----- ipfilter_enable setting --------------------------------
544 .It Va ipfilter_enable
555 Typical usage will require putting
557 ipfilter_enable="YES"
575 can be enabled independently.
579 both require at least one of
589 options IPFILTER_DEFAULT_BLOCK
592 in the kernel configuration file is a good idea, too.
593 .\" ----- ipfilter_program setting ------------------------------
594 .It Va ipfilter_program
600 .\" ----- ipfilter_rules setting --------------------------------
601 .It Va ipfilter_rules
606 This variable contains the name of the filter rule definition file.
607 The file is expected to be readable for the
610 .\" ----- ipv6_ipfilter_rules setting ---------------------------
611 .It Va ipv6_ipfilter_rules
616 This variable contains the IPv6 filter rule definition file.
617 The file is expected to be readable for the
620 .\" ----- ipfilter_flags setting --------------------------------
621 .It Va ipfilter_flags
624 This variable contains flags passed to the
627 .\" ----- ipnat_enable setting ----------------------------------
637 network address translation.
640 for a detailed discussion.
641 .\" ----- ipnat_program setting ---------------------------------
648 .\" ----- ipnat_rules setting -----------------------------------
654 This variable contains the name of the file
655 holding the network address translation definition.
656 This file is expected to be readable for the
659 .\" ----- ipnat_flags setting -----------------------------------
663 This variable contains flags passed to the
666 .\" ----- ipmon_enable setting ----------------------------------
681 Setting this variable needs setting
688 for a detailed discussion.
689 .\" ----- ipmon_program setting ---------------------------------
696 .\" ----- ipmon_flags setting -----------------------------------
702 This variable contains flags passed to the
705 Another typical example would be
706 .Dq Fl D Pa /var/log/ipflog
709 log directly to a file bypassing
712 .Pa /etc/newsyslog.conf
713 in such case like this:
715 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
717 .\" ----- ipfs_enable setting -----------------------------------
727 saving the filter and NAT state tables during shutdown
728 and reloading them during startup again.
729 Setting this variable needs setting
738 for a detailed discussion.
744 because the raised securelevel will prevent
746 from saving the state tables at shutdown time.
747 .\" ----- ipfs_program setting ----------------------------------
754 .\" ----- ipfs_flags setting ------------------------------------
758 This variable contains flags passed to the
761 .\" ----- end of added ipf hook ---------------------------------
773 Typical usage will require putting
788 into the kernel, otherwise the
789 kernel module will be loaded.
794 ruleset configuration file
809 these flags are passed to the
811 program when loading the ruleset.
821 which logs packets from the
834 .Pa /var/log/pflog ) .
836 .Pa /etc/newsyslog.conf
837 to adjust logfile rotation for this.
847 This variable contains additional flags passed to the
850 .It Va ftpproxy_enable
861 packet filter in translating ftp connections.
862 .It Va ftpproxy_flags
865 This variable contains additional flags passed to the
877 state changes to other hosts over the network by means of
882 must also be set then.
883 .It Va pfsync_syncdev
886 This variable specifies the name of the network interface
888 should operate through.
889 It must be set accordingly if
893 .It Va pfsync_syncpeer
896 This variable is optional.
897 By default, state change messages are sent out on the synchronisation
898 interface using IP multicast packets.
899 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
901 When a peer address is specified using the
903 option, the peer address is used as a destination for the pfsync
904 traffic, and the traffic can then be protected using
908 manpage for more details about using
913 .It Va pfsync_ifconfig
916 This variable can contain additional options to be passed to the
918 command used to set up
920 .It Va tcp_extensions
927 disables certain TCP options as described by
933 might help remedy such problems with connections as randomly hanging
934 or other weird behavior.
935 Some network devices are known
936 to be broken with respect to these options.
943 .Va net.inet.tcp.log_in_vain
945 .Va net.inet.udp.log_in_vain ,
950 are set to the given value.
958 will disable probing idle TCP connections to verify that the
959 peer is still up and reachable.
960 .It Va tcp_drop_synfin
967 will cause the kernel to ignore TCP frames that have both
968 the SYN and FIN flags set.
969 This prevents OS fingerprinting, but may
970 break some legitimate applications.
971 This option is only available if the
972 kernel was built with the
975 .It Va icmp_drop_redirect
982 will cause the kernel to ignore ICMP REDIRECT packets.
985 for more information.
986 .It Va icmp_log_redirect
993 will cause the kernel to log ICMP REDIRECT packets.
995 the log messages are not rate-limited, so this option should only be used
996 for troubleshooting networks.
999 for more information.
1000 .It Va icmp_bmcastecho
1004 to respond to broadcast or multicast ICMP ping packets.
1007 for more information.
1008 .It Va ip_portrange_first
1012 this is the first port in the default portrange.
1015 for more information.
1016 .It Va ip_portrange_last
1020 this is the last port in the default portrange.
1023 for more information.
1024 .It Va network_interfaces
1026 Set to the list of network interfaces to configure on this host or
1028 (the default) for all current interfaces.
1030 .Va network_interfaces
1031 variable to anything other than the default is deprecated.
1032 Interfaces that the administrator wishes to store configuration for,
1033 but not start at boot should be configured with the
1036 .Va ifconfig_ Ns Aq Ar interface
1037 variables as described below.
1040 .Va ifconfig_ Ns Aq Ar interface
1041 variable is also assumed to exist for each value of
1043 When an interface name contains any of the characters
1045 they are translated to
1048 The variable can contain arguments to
1050 as well as special case-insensitive keywords described below.
1051 Such keywords are removed before passing the value to
1053 while the order of the other arguments is preserved.
1055 One can configure more than one IPv4 address with the
1056 .Va ipv4_addrs_ Ns Aq Ar interface
1058 One or more IP addresses must be provided in Classless Inter-Domain
1059 Routing (CIDR) address notation, whose last byte can be a range like
1061 In this case the address 192.168.0.5 will be configured with the
1062 netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with
1063 the non-conflicting netmask /32 as explained in the
1066 With the interface in question being
1068 an example could look like:
1070 ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"
1073 It is also possible to add IP alias entries using
1076 Assuming that the interface in question was
1079 something like this:
1081 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1082 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1087 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1088 entry that is found,
1089 its contents are passed to
1091 Execution stops at the first unsuccessful access, so if
1092 something like this is present:
1094 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1095 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1096 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1097 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1100 Then note that alias4 would
1102 be added since the search would
1103 stop with the missing
1106 Due to this difficult to manage behavior, the
1107 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1111 .Pa /etc/start_if. Ns Aq Ar interface
1112 file is present, it is read and executed by the
1115 before configuring the interface as specified in the
1116 .Va ifconfig_ Ns Aq Ar interface
1118 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1122 .Va ifconfig_ Ns Aq Ar interface
1123 contains the keyword
1125 then the interface will not be configured
1127 .Pa /etc/pccard_ether
1129 .Va network_interfaces
1133 It is possible to bring up an interface with DHCP by adding
1136 .Va ifconfig_ Ns Aq Ar interface
1138 For instance, to initialize the
1141 it is possible to use something like:
1146 Also, if your interface needs WPA authentication, it is possible to add
1149 .Va ifconfig_ Ns Aq Ar interface
1152 Finally, you can add
1154 options in this variable, in addition to the
1155 .Pa /etc/start_if. Ns Aq Ar interface
1157 For instance, to initialize the
1159 device via DHCP, using WPA authentication and 802.11b mode, it is
1160 possible to use something like:
1162 ifconfig_wi0="DHCP WPA mode 11b"
1166 .Va ifconfig_ Ns Aq Ar interface
1167 form, a fallback variable
1168 .Va ifconfig_DEFAULT
1170 It will be used for all interfaces with no
1171 .Va ifconfig_ Ns Aq Ar interface
1173 This is intended to replace the no longer supported
1177 It is also possible to rename interface by doing:
1179 ifconfig_ed0_name="net0"
1180 ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
1182 .It Va ipv6_network_interfaces
1184 This is the IPv6 equivalent of
1185 .Va network_interfaces .
1186 Instead of setting the ifconfig variables as
1187 .Va ifconfig_ Ns Aq Ar interface
1188 they should be set as
1189 .Va ipv6_ifconfig_ Ns Aq Ar interface .
1190 Aliases should be set as
1191 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
1192 .Va ipv6_prefix_ Ns Aq Ar interface
1194 Interfaces that do not have a
1195 .Va ipv6_ifconfig_ Ns Aq Ar interface
1196 setting will be auto configured by
1199 .Va ipv6_gateway_enable
1202 Note that the IPv6 networking code does not support the
1203 .Pa /etc/start_if. Ns Aq Ar interface
1205 .It Va ipv6_default_interface
1209 this is the default output interface for scoped addresses.
1210 Now this works only for IPv6 link local multicast addresses.
1211 .It Va cloned_interfaces
1213 Set to the list of clonable network interfaces to create on this host.
1215 .Va cloned_interfaces
1216 are automatically appended to
1217 .Va network_interfaces
1219 .It Va fec_interfaces
1223 Fast EtherChannel interfaces to configure on this host.
1225 .Va fecconfig_ Ns Aq Ar interface
1226 variable is assumed to exist for each value of
1228 The value of this variable is used to configure link aggregated interfaces
1229 according to the syntax of the
1230 .Cm NGM_FEC_ADD_IFACE
1234 Additionally, this option ensures that each listed interface is created
1239 before attempting to configure it.
1242 fec_interfaces="fec0"
1243 fecconfig_fec0="em0 em1"
1244 ifconfig_fec0="DHCP"
1246 .It Va gif_interfaces
1250 tunnel interfaces to configure on this host.
1252 .Va gifconfig_ Ns Aq Ar interface
1253 variable is assumed to exist for each value of
1255 The value of this variable is used to configure the link layer of the
1256 tunnel according to the syntax of the
1260 Additionally, this option ensures that each listed interface is created
1265 before attempting to configure it.
1266 .It Va sppp_interfaces
1270 interfaces to configure on this host.
1272 .Va spppconfig_ Ns Aq Ar interface
1273 variable is assumed to exist for each value of
1275 Each interface should also be configured by a general
1276 .Va ifconfig_ Ns Aq Ar interface
1280 for more information about available options.
1290 Mode in which to run the
1299 See the manual for a full description.
1304 enables network address translation.
1305 Used in conjunction with
1307 allows hosts on private network addresses access to the Internet using
1308 this host as a network address translating router.
1311 The name of the profile to use from
1312 .Pa /etc/ppp/ppp.conf .
1315 The name of the user under which
1323 .It Va rc_conf_files
1325 This option is used to specify a list of files that will override
1327 .Pa /etc/defaults/rc.conf .
1328 The files will be read in the order in which they are specified and should
1329 include the full path to the file.
1330 By default, the files specified are
1333 .Pa /etc/rc.conf.local
1339 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
1341 .It Va gbde_autoattach_all
1346 will attempt to automatically initialize your .bde devices in
1350 List the devices that the script should try to attach,
1355 The directory where the
1357 lockfiles are located.
1358 The default lockfile directory is
1361 The lockfile for each individual
1363 device can be overridden by setting the variable
1364 .Va gbde_lock_ Ns Aq Ar device ,
1367 is the encrypted device without the
1372 .It Va gbde_attach_attempts
1374 Number of times to attempt attaching to a
1376 device, i.e., how many times the user is asked for the pass-phrase.
1380 List of devices to automatically attach on boot.
1381 Note that .eli devices from
1383 are automatically appended to this list.
1386 Number of times user is asked for the pass-phrase.
1387 If empty, it will be taken from
1388 .Va kern.geom.eli.tries
1390 .It Va geli_default_flags
1392 Default flags to use by
1394 when configuring disk encryption.
1395 Flags can be configured for every device separately by defining
1396 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1398 .It Va geli_autodetach
1400 Specifies if GELI devices should be marked for detach on last close after
1401 file systems are mounted.
1404 This can be changed for every device separately by defining
1405 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1407 .It Va geli_swap_flags
1408 Options passed to the
1410 utility when encrypted GEOM providers for swap partitions are created.
1412 .Dq Li "-a aes -l 256 -s 4096 -d" .
1413 .It Va root_rw_mount
1418 After the file systems are checked at boot time, the root file system
1419 is remounted as read-write if this is set to
1421 Diskless systems that mount their root file system from a read-only remote
1422 NFS share should set this to
1426 .It Va fsck_y_enable
1431 will be run with the
1433 flag if the initial preen
1434 of the file systems fails.
1435 .It Va background_fsck
1439 the system will attempt to run
1441 in the background where possible.
1442 .It Va background_fsck_delay
1444 The amount of time in seconds to sleep before starting a background
1446 It defaults to sixty seconds to allow large applications such as
1447 the X server to start before disk I/O bandwidth is monopolized by
1449 If set to a negative number, the background file system check will be
1450 delayed indefinitely to allow the administrator to run it at a more
1452 For example it may be run from
1454 by adding a line like
1456 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
1462 List of file system types that are network-based.
1463 This list should generally not be modified by end users.
1465 .Va extra_netfs_types
1467 .It Va extra_netfs_types
1469 If set to something other than
1472 this variable extends the list of file system types
1473 for which automatic mounting at startup by
1475 should be delayed until the network is initialized.
1477 a whitespace-separated list of network file system descriptor pairs,
1478 each consisting of a file system type as passed to
1480 and a human-readable, one-word description,
1483 Extending the default list in this way is only necessary
1484 when third party file system types are used.
1485 .It Va syslogd_enable
1492 .It Va syslogd_program
1497 .Pa /usr/sbin/syslogd ) .
1498 .It Va syslogd_flags
1504 these are the flags to pass to
1513 .It Va inetd_program
1518 .Pa /usr/sbin/inetd ) .
1525 these are the flags to pass to
1534 .It Va named_program
1539 .Pa /usr/sbin/named ) .
1546 these are the flags to pass to
1548 .It Va named_pidfile
1550 This is the default path to the
1553 This must match the location in
1559 process should be run as.
1560 .It Va named_chrootdir
1562 The root directory for a name server run in a
1564 environment (default
1568 will not be run in a
1571 .It Va named_chroot_autoupdate
1575 to disable automatic update of the
1578 .It Va named_symlink_enable
1582 to disable symlinking of
1587 .It Va kerberos5_server_enable
1591 to start a Kerberos 5 authentication server
1593 .It Va kerberos5_server
1596 .Va kerberos5_server_enable
1599 this is the path to Kerberos 5 Authentication Server.
1600 .It Va kerberos5_server_flags
1603 This variable contains additional flags to be passed to the Kerberos 5
1604 authentication server.
1605 .It Va kadmind5_server_enable
1611 the Kerberos 5 Administration Daemon; set to
1614 .It Va kadmind5_server
1617 .Va kadmind5_server_enable
1620 this is the path to Kerberos 5 Administration Daemon.
1621 .It Va kpasswdd_server_enable
1627 the Kerberos 5 Password-Changing Daemon; set to
1630 .It Va kpasswdd_server
1633 .Va kpasswdd_server_enable
1636 this is the path to Kerberos 5 Password-Changing Daemon.
1643 daemon at boot time.
1650 these are the flags to pass to it.
1657 daemon at boot time.
1664 these are the flags to pass to it.
1667 manpage for more information.
1668 .It Va amd_map_program
1671 the specified program is run to get the list of
1676 maps are stored in NIS, one can set this to
1689 will be updated at boot time to reflect the kernel release
1694 will not be updated.
1695 .It Va nfs_client_enable
1699 run the NFS client daemons at boot time.
1700 .It Va nfs_access_cache
1703 .Va nfs_client_enable
1708 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1710 results should be cached.
1711 A value of 2-10 seconds will substantially reduce network
1712 traffic for many NFS operations.
1713 .It Va nfs_server_enable
1717 run the NFS server daemons at boot time.
1718 .It Va nfs_server_flags
1721 .Va nfs_server_enable
1724 these are the flags to pass to the
1727 .It Va idmapd_enable
1731 run the ID mapping daemon for NFS version 4.
1738 these are the flags to pass to the
1741 .It Va mountd_enable
1746 .Va nfs_server_enable
1752 It is commonly needed to run CFS without real NFS used.
1759 these are the flags to pass to the
1762 .It Va weak_mountd_authentication
1766 allow services like PCNFSD to make non-privileged mount
1768 .It Va nfs_reserved_port_only
1772 provide NFS services only on a secure port.
1773 .It Va nfs_bufpackets
1775 If set to a number, indicates the number of packets worth of
1776 socket buffer space to reserve on an NFS client.
1777 The kernel default is typically 4.
1778 Using a higher number may be
1779 useful on gigabit networks to improve performance.
1780 The minimum value is
1781 2 and the maximum is 64.
1782 .It Va rpc_lockd_enable
1786 and also an NFS server or client, run
1789 .It Va rpc_lockd_flags
1792 .Va rpc_lockd_enable
1795 these are the flags to pass to the
1798 .It Va rpc_statd_enable
1802 and also an NFS server or client, run
1805 .It Va rpc_statd_flags
1808 .Va rpc_statd_enable
1811 these are the flags to pass to the
1814 .It Va rpcbind_program
1819 .Pa /usr/sbin/rpcbind ) .
1820 .It Va rpcbind_enable
1826 service at boot time.
1827 .It Va rpcbind_flags
1833 these are the flags to pass to the
1836 .It Va keyserv_enable
1842 daemon on boot for running Secure RPC.
1843 .It Va keyserv_flags
1849 these are the flags to pass to
1852 .It Va pppoed_enable
1858 daemon at boot time to provide PPP over Ethernet services.
1859 .It Va pppoed_ Ns Aq Ar provider
1862 listens to requests to this
1868 argument of the same name.
1871 Additional flags to pass to
1873 .It Va pppoed_interface
1875 The network interface to run
1878 This is mandatory when
1888 service at boot time.
1889 This command is intended for networks of
1890 machines where a consistent
1892 for all hosts must be established.
1893 This is often useful in large NFS
1894 environments where time stamps on files are expected to be consistent
1902 these are the flags to pass to the
1905 .It Va ntpdate_enable
1912 This command is intended to
1913 synchronize the system clock only
1915 from some standard reference.
1916 An option to set this up initially
1917 (from a list of known servers) is also provided by the
1919 program when the system is first installed.
1920 .It Va ntpdate_config
1922 Configuration file for
1926 .It Va ntpdate_hosts
1928 A whitespace-separated list of NTP servers to synchronize with at startup.
1929 The default is to use the servers listed in
1930 .Va ntpdate_config ,
1931 if that file exists.
1932 .It Va ntpdate_program
1937 .Pa /usr/sbin/ntpdate ) .
1938 .It Va ntpdate_flags
1944 these are the flags to pass to the
1946 command (typically a hostname).
1953 command at boot time.
1959 .Pa /usr/sbin/ntpd ) .
1973 these are the flags to pass to the
1976 .It Va ntpd_sync_on_start
1983 flag, which syncs the system's clock on startup.
1986 for more information regarding the
1989 This is a preferred alternative to using
1994 .It Va nis_client_enable
2000 service at system boot time.
2001 .It Va nis_client_flags
2004 .Va nis_client_enable
2007 these are the flags to pass to the
2010 .It Va nis_ypset_enable
2016 daemon at system boot time.
2017 .It Va nis_ypset_flags
2020 .Va nis_ypset_enable
2023 these are the flags to pass to the
2026 .It Va nis_server_enable
2032 daemon at system boot time.
2033 .It Va nis_server_flags
2036 .Va nis_server_enable
2039 these are the flags to pass to the
2042 .It Va nis_ypxfrd_enable
2048 daemon at system boot time.
2049 .It Va nis_ypxfrd_flags
2052 .Va nis_ypxfrd_enable
2055 these are the flags to pass to the
2058 .It Va nis_yppasswdd_enable
2064 daemon at system boot time.
2065 .It Va nis_yppasswdd_flags
2068 .Va nis_yppasswdd_enable
2071 these are the flags to pass to the
2074 .It Va rpc_ypupdated_enable
2080 daemon at system boot time.
2081 .It Va bsnmpd_enable
2087 daemon at system boot time.
2088 Be sure to understand the security implications of running SNMP daemon
2096 these are the flags to pass to the
2099 .It Va defaultrouter
2103 create a default route to this host name or IP address
2104 (use an IP address if this router is also required to get to the
2106 .It Va ipv6_defaultrouter
2108 The IPv6 equivalent of
2110 .It Va static_routes
2112 Set to the list of static routes that are to be added at system
2116 then for each whitespace separated
2119 .Va route_ Ns Aq Ar element
2120 variable is assumed to exist
2121 whose contents will later be passed to a
2126 static_routes="mcast gif0local"
2127 route_mcast="-net 224.0.0.0/4 -iface gif0"
2128 route_gif0local="-host 169.254.1.1 -iface lo0"
2130 .It Va ipv6_static_routes
2132 The IPv6 equivalent of
2136 then for each whitespace separated
2139 .Va ipv6_route_ Ns Aq Ar element
2140 variable is assumed to exist
2141 whose contents will later be passed to a
2142 .Dq Nm route Cm add Fl inet6
2144 .It Va natm_static_routes
2150 If not empty then for each whitespace separated
2153 .Va route_ Ns Aq Ar element
2154 variable is assumed to exist whose contents will later be passed to a
2155 .Dq Nm atmconfig Cm natm Cm add
2157 .It Va gateway_enable
2161 configure host to act as an IP router, e.g.\& to forward packets
2163 .It Va ipv6_gateway_enable
2165 The IPv6 equivalent of
2166 .Va gateway_enable .
2167 .It Va router_enable
2171 run a routing daemon of some sort, based on the
2176 .It Va ipv6_router_enable
2178 The IPv6 equivalent of
2182 run a routing daemon of some sort, based on the
2186 .Va ipv6_router_flags .
2193 this is the name of the routing daemon to use.
2196 The IPv6 equivalent of
2204 these are the flags to pass to the routing daemon.
2205 .It Va ipv6_router_flags
2207 The IPv6 equivalent of
2209 .It Va mrouted_enable
2213 run the multicast routing daemon,
2215 .It Va mroute6d_enable
2217 The IPv6 equivalent of
2218 .Va mrouted_enable .
2221 run the IPv6 multicast routing daemon.
2223 Note that multicast routing daemons are no longer included in the
2225 base system, however, both
2229 may be installed from the
2232 .It Va mrouted_flags
2238 these are the flags to pass to the
2241 .It Va mroute6d_flags
2243 The IPv6 equivalent of
2249 these are the flags passed to the IPv6 multicast routing daemon.
2250 .It Va mroute6d_program
2256 this is the path to the IPv6 multicast routing daemon.
2257 .It Va rtadvd_enable
2263 daemon at boot time.
2266 .Va ipv6_gateway_enable
2271 utility sends router advertisement packets to the interfaces specified in
2272 .Va rtadvd_interfaces
2273 and should only be enabled with great care.
2274 You may want to fine-tune
2276 .It Va rtadvd_interfaces
2282 this is the list of interfaces to use.
2283 .It Va ipxgateway_enable
2287 enable the routing of IPX traffic.
2288 .It Va ipxrouted_enable
2294 daemon at system boot time.
2295 .It Va ipxrouted_flags
2298 .Va ipxrouted_enable
2301 these are the flags to pass to the
2308 enable global proxy ARP.
2309 .It Va forward_sourceroute
2317 source-routed packets are forwarded.
2318 .It Va accept_sourceroute
2322 the system will accept source-routed packets directed at it.
2329 daemon at system boot time.
2336 these are the flags to pass to the
2339 .It Va bootparamd_enable
2345 daemon at system boot time.
2346 .It Va bootparamd_flags
2349 .Va bootparamd_enable
2352 these are the flags to pass to the
2355 .It Va stf_interface_ipv4addr
2359 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2361 Specify this entry to enable the 6to4 interface.
2362 .It Va stf_interface_ipv4plen
2364 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2365 An effective value is 0-31.
2366 .It Va stf_interface_ipv6_ifid
2368 IPv6 interface ID for
2372 .It Va stf_interface_ipv6_slaid
2374 IPv6 Site Level Aggregator for
2376 .It Va ipv6_faith_prefix
2380 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2385 .It Va ipv6_ipv4mapping
2389 this enables IPv4 mapped IPv6 address communication (like
2390 .Li ::ffff:a.b.c.d ) .
2395 to enable the configuration of ATM interfaces at system boot time.
2396 For all of the ATM variables described below, please refer to the
2398 manual page for further details on the available command parameters.
2399 Also refer to the files in
2400 .Pa /usr/share/examples/atm
2401 for more detailed configuration information.
2404 This is a list of physical ATM interface drivers to load.
2409 .It Va atm_netif_ Ns Aq Ar intf
2411 For the ATM physical interface
2413 this variable defines the name prefix and count for the ATM network
2414 interfaces to be created.
2415 The value will be passed as the parameters of an
2416 .Dq Nm atm Cm "set netif" Ar intf
2418 .It Va atm_sigmgr_ Ns Aq Ar intf
2420 For the ATM physical interface
2422 this variable defines the ATM signalling manager to be used.
2423 The value will be passed as the parameters of an
2424 .Dq Nm atm Cm attach Ar intf
2426 .It Va atm_prefix_ Ns Aq Ar intf
2428 For the ATM physical interface
2430 this variable defines the NSAP prefix for interfaces using a UNI signalling
2434 the prefix will automatically be set via the
2437 Otherwise, the value will be passed as the parameters of an
2438 .Dq Nm atm Cm "set prefix" Ar intf
2440 .It Va atm_macaddr_ Ns Aq Ar intf
2442 For the ATM physical interface
2444 this variable defines the MAC address for interfaces using a UNI signalling
2448 the hardware MAC address contained in the ATM interface card will be used.
2449 Otherwise, the value will be passed as the parameters of an
2450 .Dq Nm atm Cm "set mac" Ar intf
2452 .It Va atm_arpserver_ Ns Aq Ar netif
2454 For the ATM network interface
2456 this variable defines the ATM address for a host which is to provide ATMARP
2458 This variable is only applicable to interfaces using a UNI signalling
2462 this host will become an ATMARP server.
2463 The value will be passed as the parameters of an
2464 .Dq Nm atm Cm "set arpserver" Ar netif
2466 .It Va atm_scsparp_ Ns Aq Ar netif
2470 SCSP/ATMARP service for the network interface
2472 will be initiated using the
2477 This variable is only applicable if
2478 .Va atm_arpserver_ Ns Aq Ar netif
2483 Set to the list of ATM PVCs to be added at system
2485 For each whitespace separated
2488 .Va atm_pvc_ Ns Aq Ar element
2489 variable is assumed to exist.
2490 The value of each of these variables
2491 will be passed as the parameters of an
2492 .Dq Nm atm Cm "add pvc"
2496 Set to the list of permanent ATM ARP entries to be added
2497 at system boot time.
2498 For each whitespace separated
2501 .Va atm_arp_ Ns Aq Ar element
2502 variable is assumed to exist.
2503 The value of each of these variables
2504 will be passed as the parameters of an
2505 .Dq Nm atm Cm "add arp"
2507 .It Va natm_interfaces
2511 interfaces that will also be used for HARP through
2513 If this list is not empty all interfaces in the list will be brought up
2519 For this to work the interface drivers must be either compiled into the
2520 kernel or must reside on the root partition.
2523 The keyboard bell sound.
2530 if the default behavior is desired.
2531 For details, refer to the
2536 If set to a non-null string, the virtual console's keyboard input is
2542 no keymap is installed, otherwise the value is used to install
2544 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
2547 The keyboard repeat speed.
2554 if the default behavior is desired.
2559 attempt to program the function keys with the value.
2561 be a single string of the form:
2562 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
2565 Can be set to the value of
2568 .Dq Li destructive ,
2571 to set the cursor behavior explicitly or choose the default behavior.
2576 no screen map is installed, otherwise the value is used to install
2577 the screen map file in
2578 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
2583 the default 8x16 font value is used for screen size requests, otherwise
2585 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2591 the default 8x14 font value is used for screen size requests, otherwise
2593 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2599 the default 8x8 font value is used for screen size requests, otherwise
2601 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2607 the default screen blanking interval is used, otherwise it is set
2615 this is the actual screen saver to use
2616 .Li ( blank , snake , daemon ,
2618 .It Va moused_nondefault_enable
2622 the mouse device specified on
2623 the command line is not automatically treated as enabled by the
2624 .Pa /etc/rc.d/moused
2626 Having this variable set to
2632 to be enabled as soon as it is plugged in.
2633 .It Va moused_enable
2639 daemon is started for doing cut/paste selection on the console.
2642 This is the protocol type of the mouse connected to this host.
2643 This variable must be set if
2650 is able to detect the appropriate mouse type automatically in many cases.
2651 Set this variable to
2653 to let the daemon detect it, or
2654 select one from the following list if the automatic detection fails.
2656 If the mouse is attached to the PS/2 mouse port, choose
2660 regardless of the brand and model of the mouse.
2662 mouse is attached to the bus mouse port, choose
2666 All other protocols are for serial mice and will not work with
2667 the PS/2 and bus mice.
2668 If this is a USB mouse,
2670 is the only protocol type which will work.
2672 .Bl -tag -width ".Li x10mouseremote" -compact
2674 Microsoft mouse (serial)
2676 Microsoft IntelliMouse (serial)
2678 Mouse systems Corp.\& mouse (serial)
2680 MM Series mouse (serial)
2682 Logitech mouse (serial)
2686 Logitech MouseMan and TrackMan (serial)
2688 ALPS GlidePoint (serial)
2689 .It Li thinkingmouse
2690 Kensington ThinkingMouse (serial)
2694 MM HitTablet (serial)
2695 .It Li x10mouseremote
2696 X10 MouseRemote (serial)
2698 Interlink VersaPad (serial)
2701 Even if the mouse is not in the above list, it may be compatible
2702 with one in the list.
2703 Refer to the manual page for
2705 for compatibility information.
2707 It should also be noted that while this is enabled, any
2708 other client of the mouse (such as an X server) should access
2709 the mouse through the virtual mouse device,
2711 and configure it as a
2713 type mouse, since all
2714 mouse data is converted to this single canonical format when
2717 If the client program does not support the
2723 It is the second preferred type.
2730 this is the actual port the mouse is on.
2733 for a COM1 serial mouse,
2737 for a bus mouse, for example.
2742 is set, its value is used as an additional set of flags to pass to the
2745 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
2747 .Va moused_nondefault_enable
2750 daemon is started for a non-default port, the
2751 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2752 set of options has precedence over and replaces the default
2753 .Va moused_flags (where
2755 is the name of the non-default port, i.e.\&
2758 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2759 it is possible to set up a different set of default flags for each
2762 For example, you can use
2766 to make your laptop's touchpad more comfortable to use,
2767 but an empty set of options for
2768 .Va moused_ums0_flags
2771 mouse has three or more buttons.
2772 .It Va mousechar_start
2776 the default mouse cursor character range
2777 .Li 0xd0 Ns - Ns Li 0xd3
2779 otherwise the range start is set
2784 Use if the default range is occupied in the language code table.
2785 .It Va allscreens_flags
2789 is run with these options for each of the virtual terminals
2793 will enable the mouse pointer on all virtual terminals
2798 .It Va allscreens_kbdflags
2802 is run with these options for each of the virtual terminals
2808 scrollback (history) buffer to 200 lines.
2815 daemon at system boot time.
2821 .Pa /usr/sbin/cron ) .
2828 these are the flags to pass to
2834 enable the special handling of transitions to and from the
2835 Daylight Saving Time in
2837 (equivalent to using the flag
2844 .Pa /usr/sbin/lpd ) .
2851 daemon at system boot time.
2858 these are the flags to pass to the
2861 .It Va chkprintcap_enable
2867 command before starting the
2870 .It Va chkprintcap_flags
2875 .Va chkprintcap_enable
2878 these are the flags to pass to the
2883 which causes missing directories to be created.
2884 .It Va mta_start_script
2886 This variable specifies the full path to the script to run to start
2887 a mail transfer agent.
2889 .Pa /etc/rc.sendmail .
2893 .Pa /etc/rc.sendmail
2894 uses are documented in the
2899 Indicates the device (usually a swap partition) to which a crash dump
2900 should be written in the event of a system crash.
2901 If the value of this variable is
2903 the first suitable swap device listed in
2905 will be used as dump device.
2906 Otherwise, the value of this variable is passed as the argument to
2908 To disable crash dumps, set this variable to
2912 When the system reboots after a crash and a crash dump is found on the
2913 device specified by the
2917 will save that crash dump and a copy of the kernel to the directory
2921 The default value is
2930 .It Va savecore_flags
2932 If crash dumps are enabled, these are the flags to pass to the
2935 .It Va enable_quotas
2939 to turn on user and group disk quotas on system startup via the
2941 command for all file systems marked as having quotas enabled in
2943 The kernel must be built with
2945 for disk quotas to function.
2950 to enable user and group disk quota checking via the
2953 .It Va quotacheck_flags
2963 these are the flags to pass to the
2968 which checks quotas for all file systems with quotas enabled in
2970 .It Va quotaon_flags
2976 these are the flags to pass to the
2981 which enables quotas for all file systems with quotas enabled in
2983 .It Va quotaoff_flags
2989 these are the flags to pass to the
2991 utility when shutting down the quota system.
2994 which disables quotas for all file systems with quotas enabled in
2996 .It Va accounting_enable
3000 to enable system accounting through the
3007 to enable iBCS2 (SCO) binary emulation at system initial boot
3009 .It Va ibcs2_loaders
3017 this specifies a list of additional iBCS2 loaders to enable.
3022 to enable Linux/ELF binary emulation at system initial
3028 enable SysVR4 emulation at boot time.
3029 .It Va sysvipc_enable
3033 load System V IPC primitives at boot time.
3034 .It Va clear_tmp_enable
3045 to disable removing of X11 lock files,
3046 and the removal and (secure) recreation
3047 of the various socket directories for X11
3049 .It Va ldconfig_paths
3051 Set to the list of shared library paths to use with
3055 will always be added first, so it need not appear in this list.
3056 .It Va ldconfig32_paths
3058 Set to the list of 32-bit compatibility shared library paths to
3061 .It Va ldconfig_paths_aout
3063 Set to the list of shared library paths to use with
3068 .It Va ldconfig_insecure
3072 utility normally refuses to use directories
3073 which are writable by anyone except root.
3074 Set this variable to
3076 to disable that security check during system startup.
3077 .It Va ldconfig_local_dirs
3079 Set to the list of local
3082 The names of all files in the directories listed will be
3083 passed as arguments to
3085 .It Va ldconfig_local32_dirs
3087 Set to the list of local 32-bit compatibility
3090 The names of all files in the directories listed will be
3091 passed as arguments to
3092 .Dq Nm ldconfig Fl 32 .
3093 .It Va kern_securelevel_enable
3097 to set the kernel security level at system startup.
3098 .It Va kern_securelevel
3100 The kernel security level to set at startup.
3101 The allowed range of
3103 ranges from \-1 (the compile time default) to 3 (the
3107 for the list of possible security levels and their effect
3108 on system operation.
3111 Path to the SSH server program
3112 .Pa ( /usr/sbin/sshd
3120 at system boot time.
3127 these are the flags to pass to the
3132 Path to the FTP server program
3133 .Pa ( /usr/libexec/ftpd
3141 as a stand-alone daemon at system boot time.
3148 these are the additional flags to pass to the
3151 .It Va watchdogd_enable
3157 daemon at boot time.
3158 This requires that the kernel have been compiled with a
3161 .It Va watchdogd_flags
3164 .Va watchdogd_enable
3167 these are the flags passed to the
3170 .It Va performance_cx_lowest
3172 CPU idle state to use while on AC power.
3177 should use the lowest power state available while
3179 indicates that the lowest latency state (less power savings) should be used.
3180 .It Va performance_cpu_freq
3182 CPU clock frequency to use while on AC power.
3187 should use the lowest frequency available while
3189 indicates that the highest frequency (less power savings) should be used.
3190 .It Va economy_cx_lowest
3192 CPU idle state to use when off AC power.
3197 should use the lowest power state available while
3199 indicates that the lowest latency state (less power savings) should be used.
3200 .It Va economy_cpu_freq
3202 CPU clock frequency to use when off AC power.
3207 should use the lowest frequency available while
3209 indicates that the highest frequency (less power savings) should be used.
3214 any configured jails will not be started.
3217 A space separated list of names for jails.
3218 This is purely a configuration aid to help identify and
3219 configure multiple jails.
3220 The names specified in this list will be used to
3221 identify settings common to an instance of a jail.
3222 Assuming that the jail in question was named
3224 you would have the following dependent variables:
3226 jail_vjail_hostname="jail.example.com"
3227 jail_vjail_ip="192.168.1.100"
3228 jail_vjail_rootdir="/var/jails/vjail/root"
3234 When set, use as default value for
3235 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3238 .It Va jail_interface
3241 When set, use as default value for
3242 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3248 When set, use as default value for
3249 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3252 .It Va jail_mount_enable
3260 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3263 by default for every jail in
3265 .It Va jail_devfs_ruleset
3269 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3270 to given value for every jail in
3272 .It Va jail_devfs_enable
3280 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3283 by default for every jail in
3285 .It Va jail_fdescfs_enable
3293 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3296 by default for every jail in
3298 .It Va jail_procfs_enable
3306 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3309 by default for every jail in
3311 .It Va jail_exec_start
3314 When set, use as default value for
3315 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3318 .It Va jail_exec_afterstart Ns Aq Ar N
3321 When set, use as default value for
3322 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3325 .It Va jail_exec_stop
3327 When set, use as default value for
3328 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3331 .It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3334 Set to the root directory used by jail
3336 .It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3339 Set to the fully qualified domain name (FQDN) assigned to jail
3341 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3344 Set to the IP address assigned to jail
3346 .It Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3351 These are flags to pass to
3353 .It Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3356 When set, sets the interface to use when setting IP address alias.
3357 Note that the alias is created at jail startup and removed at jail shutdown.
3358 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3361 .Pa /etc/fstab. Ns Aq Ar jname
3363 This is the file system information file to use for jail
3365 .It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3372 mount all file systems from
3373 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3375 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3378 When set, defines the device file system ruleset file to use for jail
3380 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3387 mount the device file system inside jail
3390 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3397 mount the file-descriptor file system inside jail
3400 .It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable
3407 mount the process file system inside jail
3410 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3413 .Dq Li /bin/sh /etc/rc
3415 This is the command executed at jail startup.
3416 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3419 This is the command run as
3422 after jail startup, where
3425 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3428 .Dq Li /bin/sh /etc/rc.shutdown
3430 This is the command executed at jail shutdown.
3431 .It Va jail_set_hostname_allow
3435 do not allow the root user in a jail to set its hostname.
3436 .It Va jail_socket_unixiproute_only
3440 do not allow any sockets,
3441 besides UNIX/IP/route sockets,
3442 to be used within a jail.
3443 .It Va jail_sysvipc_allow
3447 allow applications within a jail to use System V IPC.
3448 .\" ----- ISDN settings ---------------------------------
3459 at system boot time.
3463 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
3465 Additional flags to pass to
3471 for certain tunable parameters).
3477 The terminal type of the output device when
3479 operates in full-screen mode.
3480 .It Va isdn_screenflags
3485 The video mode for full-screen mode (only for
3495 The output device for
3497 in full-screen mode (or
3507 enables the ISDN protocol trace utility
3509 at system boot time.
3510 .It Va isdn_traceflags
3513 .Dq Fl f Pa /var/tmp/isdntrace0
3517 .\" -----------------------------------------------------
3518 .It Va harvest_interrupt
3522 to use hardware interrupts as an entropy source.
3525 for more information.
3526 .It Va harvest_ethernet
3530 to use LAN traffic as an entropy source.
3533 for more information.
3534 .It Va harvest_p_to_p
3538 to use serial line traffic as an entropy source.
3541 for more information.
3546 to disable caching entropy via
3548 Otherwise set to the directory used to store entropy files in.
3553 to disable caching entropy through reboots.
3554 Otherwise set to the filename used to store cached entropy through
3556 This file should be located on the root file system to seed the
3558 device as early as possible in the boot process.
3559 .It Va entropy_save_sz
3561 Size of the entropy cache files saved by
3564 .It Va entropy_save_num
3566 Number of entropy cache files to save by
3580 Configuration file for
3589 .Pa /var/run/dmesg.boot
3591 .It Va rcshutdown_timeout
3593 If set, start a watchdog timer in the background which will terminate
3597 has not completed within the specified time (in seconds).
3598 Notice that in addition to this soft timeout,
3600 also applies a hard timeout for the execution of
3602 This is configured via
3605 .Va kern.init_shutdown_timeout
3606 and defaults to 120 seconds.
3607 Setting the value of
3608 .Va rcshutdown_timeout
3609 to more than 120 seconds will have no effect until the
3612 .Va kern.init_shutdown_timeout
3614 .It Va virecover_enable
3618 to prevent the system from trying to
3619 recover pre-maturely terminated
3622 .It Va ugidfw_enable
3627 .Xr mac_bsdextended 4
3628 module upon system initialization and load a default
3630 .It Va bsdextended_script
3633 .Xr mac_bsdextended 4
3634 ruleset file to load.
3635 The default value of this variable is
3636 .Pa /etc/rc.bsdextended .
3637 .It Va newsyslog_enable
3644 .It Va newsyslog_flags
3647 .Va newsyslog_enable
3650 these are the flags to pass to the
3655 which causes log files flagged with a
3658 .It Va mdconfig_md Ns Aq Ar X
3668 must be specified and either a
3670 for malloc or swap backed
3678 .Va mdconfig_md Ns Aq Ar X
3679 variables are evaluated until one variable is unset or null.
3680 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
3682 Optional arguments passed to
3688 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
3690 An ownership specification passed to
3699 device and the mount point will be changed.
3700 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
3702 A mode string passed to
3711 device and the mount point will be changed.
3712 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
3714 Files to be copied to the mount point of the
3718 after it has been mounted.
3719 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
3721 Command to execute after the specified
3726 Note that the command is passed to
3732 variables can be used to reference respectively the
3734 device and the mount point.
3739 one could set the following:
3741 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
3743 .It Va ramdisk_units
3745 A list of one or more ramdisk units to configure with
3749 in time to be mounted from
3753 must specify at least a
3756 .Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3758 Note that this way to configure ramdisks has been deprecated
3761 variables (see above).
3762 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3770 must be specified, where
3776 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs
3778 Optional arguments passed to
3780 to initialize ramdisk
3782 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner
3784 An ownership specification passed to
3786 after the specified ramdisk unit
3791 device and the mount point will be changed.
3792 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms
3794 A mode string passed to
3796 after the specified ramdisk unit
3801 device and the mount point will be changed.
3802 .It Va autobridge_interfaces
3804 Set to the list of bridge interfaces that will have newly arriving interfaces
3805 checked against to be automatically added.
3808 then for each whitespace separated
3811 .Va autobridge_ Ns Aq Ar element
3812 variable is assumed to exist which has a whitespace separated list of interface
3813 names to match, these names can use wildcards.
3816 autobridge_interfaces="bridge0"
3817 autobridge_bridge0="tap* dc0 vlan[345]"
3823 enable support for sound mixer.
3826 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
3827 .It Pa /etc/defaults/rc.conf
3829 .It Pa /etc/rc.conf.local
3857 .Xr newsyslog.conf 5 ,
3921 .An Jordan K. Hubbard .