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
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
226 Controls the creation of a
229 Always happens if set to
231 and never happens if set to
233 If set to anything else, a memory file system is created if
237 Controls the size of a created
241 Extra options passed to the
243 utility when the memory file system for
248 which inhibits the use of softupdates on
250 so that file system space is freed without delay
251 after file truncation or deletion.
254 for other options you can use in
257 Controls the creation of a
260 Always happens if set to
262 and never happens if set to
264 If set to anything else, a memory file system is created if
268 Controls the size of a created
272 Extra options passed to the
274 utility when the memory file system for
279 which inhibits the use of softupdates on
281 so that file system space is freed without delay
282 after file truncation or deletion.
285 for other options you can use in
288 Controls the automatic population of the
291 Always happens if set to
293 and never happens if set to
295 If set to anything else, a memory file system is created if
298 Note that this process requires access to certain commands in
302 is mounted on normal systems.
303 .It Va cleanvar_enable
310 List of directories to search for startup script files.
311 .It Va script_name_sep
313 The field separator to use for breaking down the list of startup script files
314 into individual filenames.
315 The default is a space.
316 It is not necessary to change this unless there are startup scripts with names
318 .It Va hostapd_enable
327 The fully qualified domain name (FQDN) of this host on the network.
328 This should almost certainly be set to something meaningful, even if
329 there is no network connection.
332 is used to set the hostname via DHCP,
333 this variable should be set to an empty string.
336 Enable support for IPv6 networking.
337 Note that this requires that the kernel has been compiled with
338 .Cd "options INET6" .
341 The NIS domain name of this host, or
344 .It Va dhclient_program
346 Path to the DHCP client program
347 .Pa ( /sbin/dhclient ,
352 .It Va dhclient_flags
354 Additional flags to pass to the DHCP client program.
359 manpage for a description of the command line options available.
360 .It Va dhclient_flags_ Ns Aq Ar iface
361 Additional flags to pass to the DHCP client program running on
364 When specified, this variable overrides
366 .It Va background_dhclient
370 to start the DHCP client in background.
371 This can cause trouble with applications depending on
372 a working network, but it will provide a faster startup
374 .It Va background_dhclient_ Ns Aq Ar iface
375 When specified, this variable overrides the
376 .Va background_dhclient
377 variable for interface
380 .It Va synchronous_dhclient
386 only in response to interface events and not synchronously at startup.
387 This behavior can be overridden on a per-interface basis by replacing
391 .Va ifconfig_ Ns Aq Ar interface
396 .It Va firewall_enable
400 to load firewall rules at startup.
401 If the kernel was not built with
402 .Cd "options IPFIREWALL" ,
405 kernel module will be loaded.
407 .Va ipfilter_enable .
408 .It Va ipv6_firewall_enable
410 The IPv6 equivalent of
411 .Va firewall_enable .
414 to load IPv6 firewall rules at startup.
415 If the kernel was not built with
416 .Cd "options IPV6FIREWALL" ,
419 kernel module will be loaded.
420 .It Va firewall_script
422 This variable specifies the full path to the firewall script to run.
424 .Pa /etc/rc.firewall .
425 .It Va ipv6_firewall_script
427 The IPv6 equivalent of
428 .Va firewall_script .
431 Names the firewall type from the selection in
432 .Pa /etc/rc.firewall ,
433 or the file which contains the local firewall ruleset.
434 Valid selections from
438 .Bl -tag -width ".Li simple" -compact
440 unrestricted IP access
442 all IP services disabled, except via
445 basic protection for a workstation
447 basic protection for a LAN.
450 If a filename is specified, the full path
452 .It Va ipv6_firewall_type
454 The IPv6 equivalent of
456 .It Va firewall_quiet
460 to disable the display of firewall rules on the console during boot.
461 .It Va ipv6_firewall_quiet
463 The IPv6 equivalent of
465 .It Va firewall_logging
469 to enable firewall event logging.
470 This is equivalent to the
471 .Dv IPFIREWALL_VERBOSE
473 .It Va ipv6_firewall_logging
475 The IPv6 equivalent of
476 .Va firewall_logging .
477 .It Va firewall_flags
483 specifies a filename.
484 .It Va ipv6_firewall_flags
486 The IPv6 equivalent of
503 sockets must be enabled in the kernel.
504 If the kernel was not built with
505 .Cd "options IPDIVERT" ,
508 kernel module will be loaded.
509 .It Va natd_interface
511 This is the name of the public interface on which
514 The interface may be given as an interface name or as an IP address.
519 flags should be placed here.
524 flag is automatically added with the above
527 .\" ----- ipfilter_enable setting --------------------------------
528 .It Va ipfilter_enable
539 Typical usage will require putting
541 ipfilter_enable="YES"
559 can be enabled independently.
563 both require at least one of
573 options IPFILTER_DEFAULT_BLOCK
576 in the kernel configuration file is a good idea, too.
577 .\" ----- ipfilter_program setting ------------------------------
578 .It Va ipfilter_program
584 .\" ----- ipfilter_rules setting --------------------------------
585 .It Va ipfilter_rules
590 This variable contains the name of the filter rule definition file.
591 The file is expected to be readable for the
594 .\" ----- ipv6_ipfilter_rules setting ---------------------------
595 .It Va ipv6_ipfilter_rules
600 This variable contains the IPv6 filter rule definition file.
601 The file is expected to be readable for the
604 .\" ----- ipfilter_flags setting --------------------------------
605 .It Va ipfilter_flags
608 This variable contains flags passed to the
611 .\" ----- ipnat_enable setting ----------------------------------
621 network address translation.
624 for a detailed discussion.
625 .\" ----- ipnat_program setting ---------------------------------
632 .\" ----- ipnat_rules setting -----------------------------------
638 This variable contains the name of the file
639 holding the network address translation definition.
640 This file is expected to be readable for the
643 .\" ----- ipnat_flags setting -----------------------------------
647 This variable contains flags passed to the
650 .\" ----- ipmon_enable setting ----------------------------------
665 Setting this variable needs setting
672 for a detailed discussion.
673 .\" ----- ipmon_program setting ---------------------------------
680 .\" ----- ipmon_flags setting -----------------------------------
686 This variable contains flags passed to the
689 Another typical example would be
690 .Dq Fl D Pa /var/log/ipflog
693 log directly to a file bypassing
696 .Pa /etc/newsyslog.conf
697 in such case like this:
699 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
701 .\" ----- ipfs_enable setting -----------------------------------
711 saving the filter and NAT state tables during shutdown
712 and reloading them during startup again.
713 Setting this variable needs setting
722 for a detailed discussion.
728 because the raised securelevel will prevent
730 from saving the state tables at shutdown time.
731 .\" ----- ipfs_program setting ----------------------------------
738 .\" ----- ipfs_flags setting ------------------------------------
742 This variable contains flags passed to the
745 .\" ----- end of added ipf hook ---------------------------------
757 Typical usage will require putting
772 Otherwise it is loaded from a module.
777 ruleset configuration file
792 these flags are passed to the
794 program when loading the ruleset.
804 which logs packets from the
817 .Pa /var/log/pflog ) .
819 .Pa /etc/newsyslog.conf
820 to adjust logfile rotation for this.
830 This variable contains additional flags passed to the
842 state changes to other hosts over the network by means of
847 must also be set then.
848 .It Va pfsync_syncdev
851 This variable specifies the name of the network interface
853 should operate through.
854 It must be set accordingly if
858 .It Va pfsync_syncpeer
861 This variable is optional.
862 By default, state change messages are sent out on the synchronisation
863 interface using IP multicast packets.
864 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
866 When a peer address is specified using the
868 option, the peer address is used as a destination for the pfsync
869 traffic, and the traffic can then be protected using
873 manpage for more details about using
878 .It Va pfsync_ifconfig
881 This variable can contain additional options to be passed to the
883 command used to set up
885 .It Va tcp_extensions
892 disables certain TCP options as described by
898 might help remedy such problems with connections as randomly hanging
899 or other weird behavior.
900 Some network devices are known
901 to be broken with respect to these options.
908 .Va net.inet.tcp.log_in_vain
910 .Va net.inet.udp.log_in_vain ,
915 are set to the given value.
923 will disable probing idle TCP connections to verify that the
924 peer is still up and reachable.
925 .It Va tcp_drop_synfin
932 will cause the kernel to ignore TCP frames that have both
933 the SYN and FIN flags set.
934 This prevents OS fingerprinting, but may
935 break some legitimate applications.
936 This option is only available if the
937 kernel was built with the
940 .It Va icmp_drop_redirect
947 will cause the kernel to ignore ICMP REDIRECT packets.
950 for more information.
951 .It Va icmp_log_redirect
958 will cause the kernel to log ICMP REDIRECT packets.
960 the log messages are not rate-limited, so this option should only be used
961 for troubleshooting networks.
964 for more information.
965 .It Va icmp_bmcastecho
969 to respond to broadcast or multicast ICMP ping packets.
972 for more information.
973 .It Va ip_portrange_first
977 this is the first port in the default portrange.
980 for more information.
981 .It Va ip_portrange_last
985 this is the last port in the default portrange.
988 for more information.
989 .It Va network_interfaces
991 Set to the list of network interfaces to configure on this host or
993 (the default) for all current interfaces.
995 .Va network_interfaces
996 variable to anything other than the default is deprecated.
997 Interfaces that the administrator wishes to store configuration for,
998 but not start at boot should be configured with the
1001 .Va ifconfig_ Ns Aq Ar interface
1002 variables as described below.
1005 .Va ifconfig_ Ns Aq Ar interface
1006 variable is also assumed to exist for each value of
1008 When an interface name contains any of the characters
1010 they are translated to
1013 The variable can contain arguments to
1015 as well as special case-insensitive keywords described below.
1016 Such keywords are removed before passing the value to
1018 while the order of the other arguments is preserved.
1020 One can configure more than one IPv4 address with the
1021 .Va ipv4_addrs_ Ns Aq Ar interface
1023 One or more IP addresses must be provided in Classless Inter-Domain
1024 Routing (CIDR) address notation, whose last byte can be a range like
1026 In this case the address 192.168.0.5 will be configured with the
1027 netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with
1028 the non-conflicting netmask /32 as explained in the
1031 With the interface in question being
1033 an example could look like:
1035 ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"
1038 It is also possible to add IP alias entries using
1041 Assuming that the interface in question was
1044 something like this:
1046 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1047 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1052 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1053 entry that is found,
1054 its contents are passed to
1056 Execution stops at the first unsuccessful access, so if
1057 something like this is present:
1059 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1060 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1061 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1062 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1065 Then note that alias4 would
1067 be added since the search would
1068 stop with the missing
1071 Due to this difficult to manage behavior, the
1072 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1076 .Pa /etc/start_if. Ns Aq Ar interface
1077 file is present, it is read and executed by the
1080 before configuring the interface as specified in the
1081 .Va ifconfig_ Ns Aq Ar interface
1083 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1087 .Va ifconfig_ Ns Aq Ar interface
1088 contains the keyword
1090 then the interface will not be configured
1092 .Pa /etc/pccard_ether
1094 .Va network_interfaces
1098 It is possible to bring up an interface with DHCP by adding
1101 .Va ifconfig_ Ns Aq Ar interface
1103 For instance, to initialize the
1106 it is possible to use something like:
1111 Also, if your interface needs WPA authentication, it is possible to add
1114 .Va ifconfig_ Ns Aq Ar interface
1117 Finally, you can add
1119 options in this variable, in addition to the
1120 .Pa /etc/start_if. Ns Aq Ar interface
1122 For instance, to initialize the
1124 device via DHCP, using WPA authentication and 802.11b mode, it is
1125 possible to use something like:
1127 ifconfig_wi0="DHCP WPA mode 11b"
1131 .Va ifconfig_ Ns Aq Ar interface
1132 form, a fallback variable
1133 .Va ifconfig_DEFAULT
1135 It will be used for all interfaces with no
1136 .Va ifconfig_ Ns Aq Ar interface
1138 This is intended to replace the no longer supported
1142 It is also possible to rename interface by doing:
1144 ifconfig_ed0_name="net0"
1145 ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
1147 .It Va ipv6_network_interfaces
1149 This is the IPv6 equivalent of
1150 .Va network_interfaces .
1151 Instead of setting the ifconfig variables as
1152 .Va ifconfig_ Ns Aq Ar interface
1153 they should be set as
1154 .Va ipv6_ifconfig_ Ns Aq Ar interface .
1155 Aliases should be set as
1156 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
1157 .Va ipv6_prefix_ Ns Aq Ar interface
1159 Interfaces that do not have a
1160 .Va ipv6_ifconfig_ Ns Aq Ar interface
1161 setting will be auto configured by
1164 .Va ipv6_gateway_enable
1167 Note that the IPv6 networking code does not support the
1168 .Pa /etc/start_if. Ns Aq Ar interface
1170 .It Va ipv6_default_interface
1174 this is the default output interface for scoped addresses.
1175 Now this works only for IPv6 link local multicast addresses.
1176 .It Va cloned_interfaces
1178 Set to the list of clonable network interfaces to create on this host.
1180 .Va cloned_interfaces
1181 are automatically appended to
1182 .Va network_interfaces
1184 .It Va fec_interfaces
1188 Fast EtherChannel interfaces to configure on this host.
1190 .Va fecconfig_ Ns Aq Ar interface
1191 variable is assumed to exist for each value of
1193 The value of this variable is used to configure link aggregated interfaces
1194 according to the syntax of the
1195 .Cm NGM_FEC_ADD_IFACE
1199 Additionally, this option ensures that each listed interface is created
1204 before attempting to configure it.
1207 fec_interfaces="fec0"
1208 fecconfig_fec0="em0 em1"
1209 ifconfig_fec0="DHCP"
1211 .It Va gif_interfaces
1215 tunnel interfaces to configure on this host.
1217 .Va gifconfig_ Ns Aq Ar interface
1218 variable is assumed to exist for each value of
1220 The value of this variable is used to configure the link layer of the
1221 tunnel according to the syntax of the
1225 Additionally, this option ensures that each listed interface is created
1230 before attempting to configure it.
1231 .It Va sppp_interfaces
1235 interfaces to configure on this host.
1237 .Va spppconfig_ Ns Aq Ar interface
1238 variable is assumed to exist for each value of
1240 Each interface should also be configured by a general
1241 .Va ifconfig_ Ns Aq Ar interface
1245 for more information about available options.
1255 Mode in which to run the
1264 See the manual for a full description.
1269 enables network address translation.
1270 Used in conjunction with
1272 allows hosts on private network addresses access to the Internet using
1273 this host as a network address translating router.
1276 The name of the profile to use from
1277 .Pa /etc/ppp/ppp.conf .
1280 The name of the user under which
1288 .It Va rc_conf_files
1290 This option is used to specify a list of files that will override
1292 .Pa /etc/defaults/rc.conf .
1293 The files will be read in the order in which they are specified and should
1294 include the full path to the file.
1295 By default, the files specified are
1298 .Pa /etc/rc.conf.local
1304 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
1306 .It Va gbde_autoattach_all
1311 will attempt to automatically initialize your .bde devices in
1315 List the devices that the script should try to attach,
1320 The directory where the
1322 lockfiles are located.
1323 The default lockfile directory is
1326 The lockfile for each individual
1328 device can be overridden by setting the variable
1329 .Va gbde_lock_ Ns Aq Ar device ,
1332 is the encrypted device without the
1337 .It Va gbde_attach_attempts
1339 Number of times to attempt attaching to a
1341 device, i.e., how many times the user is asked for the pass-phrase.
1345 List of devices to automatically attach on boot.
1346 Note that .eli devices from
1348 are automatically appended to this list.
1351 Number of times user is asked for the pass-phrase.
1352 If empty, it will be taken from
1353 .Va kern.geom.eli.tries
1355 .It Va geli_default_flags
1357 Default flags to use by
1359 when configuring disk encryption.
1360 Flags can be configured for every device separately by defining
1361 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1363 .It Va geli_autodetach
1365 Specifies if GELI devices should be marked for detach on last close after
1366 file systems are mounted.
1369 This can be changed for every device separately by defining
1370 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1372 .It Va geli_swap_flags
1373 Options passed to the
1375 utility when encrypted GEOM providers for swap partitions are created.
1377 .Dq Li "-a aes -l 256 -s 4096 -d" .
1378 .It Va root_rw_mount
1383 After the file systems are checked at boot time, the root file system
1384 is remounted as read-write if this is set to
1386 Diskless systems that mount their root file system from a read-only remote
1387 NFS share should set this to
1391 .It Va fsck_y_enable
1396 will be run with the
1398 flag if the initial preen
1399 of the file systems fails.
1400 .It Va background_fsck
1404 the system will attempt to run
1406 in the background where possible.
1407 .It Va background_fsck_delay
1409 The amount of time in seconds to sleep before starting a background
1411 It defaults to sixty seconds to allow large applications such as
1412 the X server to start before disk I/O bandwidth is monopolized by
1414 If set to a negative number, the background file system check will be
1415 delayed indefinitely to allow the administrator to run it at a more
1417 For example it may be run from
1419 by adding a line like
1421 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
1427 List of file system types that are network-based.
1428 This list should generally not be modified by end users.
1430 .Va extra_netfs_types
1432 .It Va extra_netfs_types
1434 If set to something other than
1437 this variable extends the list of file system types
1438 for which automatic mounting at startup by
1440 should be delayed until the network is initialized.
1442 a whitespace-separated list of network file system descriptor pairs,
1443 each consisting of a file system type as passed to
1445 and a human-readable, one-word description,
1448 Extending the default list in this way is only necessary
1449 when third party file system types are used.
1450 .It Va syslogd_enable
1457 .It Va syslogd_program
1462 .Pa /usr/sbin/syslogd ) .
1463 .It Va syslogd_flags
1469 these are the flags to pass to
1478 .It Va inetd_program
1483 .Pa /usr/sbin/inetd ) .
1490 these are the flags to pass to
1499 .It Va named_program
1504 .Pa /usr/sbin/named ) .
1511 these are the flags to pass to
1513 .It Va named_pidfile
1515 This is the default path to the
1518 This must match the location in
1524 process should be run as.
1525 .It Va named_chrootdir
1527 The root directory for a name server run in a
1529 environment (default
1533 will not be run in a
1536 .It Va named_chroot_autoupdate
1540 to disable automatic update of the
1543 .It Va named_symlink_enable
1547 to disable symlinking of
1552 .It Va kerberos5_server_enable
1556 to start a Kerberos 5 authentication server
1558 .It Va kerberos5_server
1561 .Va kerberos5_server_enable
1564 this is the path to Kerberos 5 Authentication Server.
1565 .It Va kerberos5_server_flags
1568 This variable contains additional flags to be passed to the Kerberos 5
1569 authentication server.
1570 .It Va kadmind5_server_enable
1576 the Kerberos 5 Administration Daemon; set to
1579 .It Va kadmind5_server
1582 .Va kadmind5_server_enable
1585 this is the path to Kerberos 5 Administration Daemon.
1586 .It Va kpasswdd_server_enable
1592 the Kerberos 5 Password-Changing Daemon; set to
1595 .It Va kpasswdd_server
1598 .Va kpasswdd_server_enable
1601 this is the path to Kerberos 5 Password-Changing Daemon.
1608 daemon at boot time.
1615 these are the flags to pass to it.
1622 daemon at boot time.
1629 these are the flags to pass to it.
1632 manpage for more information.
1633 .It Va amd_map_program
1636 the specified program is run to get the list of
1641 maps are stored in NIS, one can set this to
1654 will be updated at boot time to reflect the kernel release
1659 will not be updated.
1660 .It Va nfs_client_enable
1664 run the NFS client daemons at boot time.
1665 .It Va nfs_access_cache
1668 .Va nfs_client_enable
1673 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1675 results should be cached.
1676 A value of 2-10 seconds will substantially reduce network
1677 traffic for many NFS operations.
1678 .It Va nfs_server_enable
1682 run the NFS server daemons at boot time.
1683 .It Va nfs_server_flags
1686 .Va nfs_server_enable
1689 these are the flags to pass to the
1692 .It Va idmapd_enable
1696 run the ID mapping daemon for NFS version 4.
1703 these are the flags to pass to the
1706 .It Va mountd_enable
1711 .Va nfs_server_enable
1717 It is commonly needed to run CFS without real NFS used.
1724 these are the flags to pass to the
1727 .It Va weak_mountd_authentication
1731 allow services like PCNFSD to make non-privileged mount
1733 .It Va nfs_reserved_port_only
1737 provide NFS services only on a secure port.
1738 .It Va nfs_bufpackets
1740 If set to a number, indicates the number of packets worth of
1741 socket buffer space to reserve on an NFS client.
1742 The kernel default is typically 4.
1743 Using a higher number may be
1744 useful on gigabit networks to improve performance.
1745 The minimum value is
1746 2 and the maximum is 64.
1747 .It Va rpc_lockd_enable
1751 and also an NFS server or client, run
1754 .It Va rpc_lockd_flags
1757 .Va rpc_lockd_enable
1760 these are the flags to pass to the
1763 .It Va rpc_statd_enable
1767 and also an NFS server or client, run
1770 .It Va rpc_statd_flags
1773 .Va rpc_statd_enable
1776 these are the flags to pass to the
1779 .It Va rpcbind_program
1784 .Pa /usr/sbin/rpcbind ) .
1785 .It Va rpcbind_enable
1791 service at boot time.
1792 .It Va rpcbind_flags
1798 these are the flags to pass to the
1801 .It Va keyserv_enable
1807 daemon on boot for running Secure RPC.
1808 .It Va keyserv_flags
1814 these are the flags to pass to
1817 .It Va pppoed_enable
1823 daemon at boot time to provide PPP over Ethernet services.
1824 .It Va pppoed_ Ns Aq Ar provider
1827 listens to requests to this
1833 argument of the same name.
1836 Additional flags to pass to
1838 .It Va pppoed_interface
1840 The network interface to run
1843 This is mandatory when
1853 service at boot time.
1854 This command is intended for networks of
1855 machines where a consistent
1857 for all hosts must be established.
1858 This is often useful in large NFS
1859 environments where time stamps on files are expected to be consistent
1867 these are the flags to pass to the
1870 .It Va ntpdate_enable
1877 This command is intended to
1878 synchronize the system clock only
1880 from some standard reference.
1881 An option to set this up initially
1882 (from a list of known servers) is also provided by the
1884 program when the system is first installed.
1885 .It Va ntpdate_config
1887 Configuration file for
1891 .It Va ntpdate_hosts
1893 A whitespace-separated list of NTP servers to synchronize with at startup.
1894 The default is to use the servers listed in
1895 .Va ntpdate_config ,
1896 if that file exists.
1897 .It Va ntpdate_program
1902 .Pa /usr/sbin/ntpdate ) .
1903 .It Va ntpdate_flags
1909 these are the flags to pass to the
1911 command (typically a hostname).
1918 command at boot time.
1924 .Pa /usr/sbin/ntpd ) .
1938 these are the flags to pass to the
1941 .It Va ntpd_sync_on_start
1948 flag, which syncs the system's clock on startup.
1951 for more information regarding the
1954 This is a preferred alternative to using
1959 .It Va nis_client_enable
1965 service at system boot time.
1966 .It Va nis_client_flags
1969 .Va nis_client_enable
1972 these are the flags to pass to the
1975 .It Va nis_ypset_enable
1981 daemon at system boot time.
1982 .It Va nis_ypset_flags
1985 .Va nis_ypset_enable
1988 these are the flags to pass to the
1991 .It Va nis_server_enable
1997 daemon at system boot time.
1998 .It Va nis_server_flags
2001 .Va nis_server_enable
2004 these are the flags to pass to the
2007 .It Va nis_ypxfrd_enable
2013 daemon at system boot time.
2014 .It Va nis_ypxfrd_flags
2017 .Va nis_ypxfrd_enable
2020 these are the flags to pass to the
2023 .It Va nis_yppasswdd_enable
2029 daemon at system boot time.
2030 .It Va nis_yppasswdd_flags
2033 .Va nis_yppasswdd_enable
2036 these are the flags to pass to the
2039 .It Va rpc_ypupdated_enable
2045 daemon at system boot time.
2046 .It Va bsnmpd_enable
2052 daemon at system boot time.
2053 Be sure to understand the security implications of running SNMP daemon
2061 these are the flags to pass to the
2064 .It Va defaultrouter
2068 create a default route to this host name or IP address
2069 (use an IP address if this router is also required to get to the
2071 .It Va ipv6_defaultrouter
2073 The IPv6 equivalent of
2075 .It Va static_routes
2077 Set to the list of static routes that are to be added at system
2081 then for each whitespace separated
2084 .Va route_ Ns Aq Ar element
2085 variable is assumed to exist
2086 whose contents will later be passed to a
2091 static_routes="mcast gif0local"
2092 route_mcast="-net 224.0.0.0/4 -iface gif0"
2093 route_gif0local="-host 169.254.1.1 -iface lo0"
2095 .It Va ipv6_static_routes
2097 The IPv6 equivalent of
2101 then for each whitespace separated
2104 .Va ipv6_route_ Ns Aq Ar element
2105 variable is assumed to exist
2106 whose contents will later be passed to a
2107 .Dq Nm route Cm add Fl inet6
2109 .It Va natm_static_routes
2115 If not empty then for each whitespace separated
2118 .Va route_ Ns Aq Ar element
2119 variable is assumed to exist whose contents will later be passed to a
2120 .Dq Nm atmconfig Cm natm Cm add
2122 .It Va gateway_enable
2126 configure host to act as an IP router, e.g.\& to forward packets
2128 .It Va ipv6_gateway_enable
2130 The IPv6 equivalent of
2131 .Va gateway_enable .
2132 .It Va router_enable
2136 run a routing daemon of some sort, based on the
2141 .It Va ipv6_router_enable
2143 The IPv6 equivalent of
2147 run a routing daemon of some sort, based on the
2151 .Va ipv6_router_flags .
2158 this is the name of the routing daemon to use.
2161 The IPv6 equivalent of
2169 these are the flags to pass to the routing daemon.
2170 .It Va ipv6_router_flags
2172 The IPv6 equivalent of
2174 .It Va mrouted_enable
2178 run the multicast routing daemon,
2180 .It Va mroute6d_enable
2182 The IPv6 equivalent of
2183 .Va mrouted_enable .
2186 run the IPv6 multicast routing daemon.
2188 Note that multicast routing daemons are no longer included in the
2190 base system, however, both
2194 may be installed from the
2197 .It Va mrouted_flags
2203 these are the flags to pass to the
2206 .It Va mroute6d_flags
2208 The IPv6 equivalent of
2214 these are the flags passed to the IPv6 multicast routing daemon.
2215 .It Va mroute6d_program
2221 this is the path to the IPv6 multicast routing daemon.
2222 .It Va rtadvd_enable
2228 daemon at boot time.
2231 .Va ipv6_gateway_enable
2236 utility sends router advertisement packets to the interfaces specified in
2237 .Va rtadvd_interfaces
2238 and should only be enabled with great care.
2239 You may want to fine-tune
2241 .It Va rtadvd_interfaces
2247 this is the list of interfaces to use.
2248 .It Va ipxgateway_enable
2252 enable the routing of IPX traffic.
2253 .It Va ipxrouted_enable
2259 daemon at system boot time.
2260 .It Va ipxrouted_flags
2263 .Va ipxrouted_enable
2266 these are the flags to pass to the
2273 enable global proxy ARP.
2274 .It Va forward_sourceroute
2282 source-routed packets are forwarded.
2283 .It Va accept_sourceroute
2287 the system will accept source-routed packets directed at it.
2294 daemon at system boot time.
2301 these are the flags to pass to the
2304 .It Va bootparamd_enable
2310 daemon at system boot time.
2311 .It Va bootparamd_flags
2314 .Va bootparamd_enable
2317 these are the flags to pass to the
2320 .It Va stf_interface_ipv4addr
2324 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2326 Specify this entry to enable the 6to4 interface.
2327 .It Va stf_interface_ipv4plen
2329 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2330 An effective value is 0-31.
2331 .It Va stf_interface_ipv6_ifid
2333 IPv6 interface ID for
2337 .It Va stf_interface_ipv6_slaid
2339 IPv6 Site Level Aggregator for
2341 .It Va ipv6_faith_prefix
2345 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2350 .It Va ipv6_ipv4mapping
2354 this enables IPv4 mapped IPv6 address communication (like
2355 .Li ::ffff:a.b.c.d ) .
2360 to enable the configuration of ATM interfaces at system boot time.
2361 For all of the ATM variables described below, please refer to the
2363 manual page for further details on the available command parameters.
2364 Also refer to the files in
2365 .Pa /usr/share/examples/atm
2366 for more detailed configuration information.
2369 This is a list of physical ATM interface drivers to load.
2374 .It Va atm_netif_ Ns Aq Ar intf
2376 For the ATM physical interface
2378 this variable defines the name prefix and count for the ATM network
2379 interfaces to be created.
2380 The value will be passed as the parameters of an
2381 .Dq Nm atm Cm "set netif" Ar intf
2383 .It Va atm_sigmgr_ Ns Aq Ar intf
2385 For the ATM physical interface
2387 this variable defines the ATM signalling manager to be used.
2388 The value will be passed as the parameters of an
2389 .Dq Nm atm Cm attach Ar intf
2391 .It Va atm_prefix_ Ns Aq Ar intf
2393 For the ATM physical interface
2395 this variable defines the NSAP prefix for interfaces using a UNI signalling
2399 the prefix will automatically be set via the
2402 Otherwise, the value will be passed as the parameters of an
2403 .Dq Nm atm Cm "set prefix" Ar intf
2405 .It Va atm_macaddr_ Ns Aq Ar intf
2407 For the ATM physical interface
2409 this variable defines the MAC address for interfaces using a UNI signalling
2413 the hardware MAC address contained in the ATM interface card will be used.
2414 Otherwise, the value will be passed as the parameters of an
2415 .Dq Nm atm Cm "set mac" Ar intf
2417 .It Va atm_arpserver_ Ns Aq Ar netif
2419 For the ATM network interface
2421 this variable defines the ATM address for a host which is to provide ATMARP
2423 This variable is only applicable to interfaces using a UNI signalling
2427 this host will become an ATMARP server.
2428 The value will be passed as the parameters of an
2429 .Dq Nm atm Cm "set arpserver" Ar netif
2431 .It Va atm_scsparp_ Ns Aq Ar netif
2435 SCSP/ATMARP service for the network interface
2437 will be initiated using the
2442 This variable is only applicable if
2443 .Va atm_arpserver_ Ns Aq Ar netif
2448 Set to the list of ATM PVCs to be added at system
2450 For each whitespace separated
2453 .Va atm_pvc_ Ns Aq Ar element
2454 variable is assumed to exist.
2455 The value of each of these variables
2456 will be passed as the parameters of an
2457 .Dq Nm atm Cm "add pvc"
2461 Set to the list of permanent ATM ARP entries to be added
2462 at system boot time.
2463 For each whitespace separated
2466 .Va atm_arp_ Ns Aq Ar element
2467 variable is assumed to exist.
2468 The value of each of these variables
2469 will be passed as the parameters of an
2470 .Dq Nm atm Cm "add arp"
2472 .It Va natm_interfaces
2476 interfaces that will also be used for HARP through
2478 If this list is not empty all interfaces in the list will be brought up
2484 For this to work the interface drivers must be either compiled into the
2485 kernel or must reside on the root partition.
2488 The keyboard bell sound.
2495 if the default behavior is desired.
2496 For details, refer to the
2501 If set to a non-null string, the virtual console's keyboard input is
2507 no keymap is installed, otherwise the value is used to install
2509 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
2512 The keyboard repeat speed.
2519 if the default behavior is desired.
2524 attempt to program the function keys with the value.
2526 be a single string of the form:
2527 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
2530 Can be set to the value of
2533 .Dq Li destructive ,
2536 to set the cursor behavior explicitly or choose the default behavior.
2541 no screen map is installed, otherwise the value is used to install
2542 the screen map file in
2543 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
2548 the default 8x16 font value is used for screen size requests, otherwise
2550 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2556 the default 8x14 font value is used for screen size requests, otherwise
2558 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2564 the default 8x8 font value is used for screen size requests, otherwise
2566 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2572 the default screen blanking interval is used, otherwise it is set
2580 this is the actual screen saver to use
2581 .Li ( blank , snake , daemon ,
2583 .It Va moused_nondefault_enable
2587 the mouse device specified on
2588 the command line is not automatically treated as enabled by the
2589 .Pa /etc/rc.d/moused
2591 Having this variable set to
2597 to be enabled as soon as it is plugged in.
2598 .It Va moused_enable
2604 daemon is started for doing cut/paste selection on the console.
2607 This is the protocol type of the mouse connected to this host.
2608 This variable must be set if
2615 is able to detect the appropriate mouse type automatically in many cases.
2616 Set this variable to
2618 to let the daemon detect it, or
2619 select one from the following list if the automatic detection fails.
2621 If the mouse is attached to the PS/2 mouse port, choose
2625 regardless of the brand and model of the mouse.
2627 mouse is attached to the bus mouse port, choose
2631 All other protocols are for serial mice and will not work with
2632 the PS/2 and bus mice.
2633 If this is a USB mouse,
2635 is the only protocol type which will work.
2637 .Bl -tag -width ".Li x10mouseremote" -compact
2639 Microsoft mouse (serial)
2641 Microsoft IntelliMouse (serial)
2643 Mouse systems Corp.\& mouse (serial)
2645 MM Series mouse (serial)
2647 Logitech mouse (serial)
2651 Logitech MouseMan and TrackMan (serial)
2653 ALPS GlidePoint (serial)
2654 .It Li thinkingmouse
2655 Kensington ThinkingMouse (serial)
2659 MM HitTablet (serial)
2660 .It Li x10mouseremote
2661 X10 MouseRemote (serial)
2663 Interlink VersaPad (serial)
2666 Even if the mouse is not in the above list, it may be compatible
2667 with one in the list.
2668 Refer to the manual page for
2670 for compatibility information.
2672 It should also be noted that while this is enabled, any
2673 other client of the mouse (such as an X server) should access
2674 the mouse through the virtual mouse device,
2676 and configure it as a
2678 type mouse, since all
2679 mouse data is converted to this single canonical format when
2682 If the client program does not support the
2688 It is the second preferred type.
2695 this is the actual port the mouse is on.
2698 for a COM1 serial mouse,
2702 for a bus mouse, for example.
2707 is set, these are the additional flags to pass to the
2710 .It Va mousechar_start
2714 the default mouse cursor character range
2715 .Li 0xd0 Ns - Ns Li 0xd3
2717 otherwise the range start is set
2722 Use if the default range is occupied in the language code table.
2723 .It Va allscreens_flags
2727 is run with these options for each of the virtual terminals
2731 will enable the mouse pointer on all virtual terminals
2736 .It Va allscreens_kbdflags
2740 is run with these options for each of the virtual terminals
2746 scrollback (history) buffer to 200 lines.
2753 daemon at system boot time.
2759 .Pa /usr/sbin/cron ) .
2766 these are the flags to pass to
2772 enable the special handling of transitions to and from the
2773 Daylight Saving Time in
2775 (equivalent to using the flag
2782 .Pa /usr/sbin/lpd ) .
2789 daemon at system boot time.
2796 these are the flags to pass to the
2799 .It Va chkprintcap_enable
2805 command before starting the
2808 .It Va chkprintcap_flags
2813 .Va chkprintcap_enable
2816 these are the flags to pass to the
2821 which causes missing directories to be created.
2822 .It Va mta_start_script
2824 This variable specifies the full path to the script to run to start
2825 a mail transfer agent.
2827 .Pa /etc/rc.sendmail .
2831 .Pa /etc/rc.sendmail
2832 uses are documented in the
2837 Indicates the device (usually a swap partition) to which a crash dump
2838 should be written in the event of a system crash.
2839 If the value of this variable is
2841 the first suitable swap device listed in
2843 will be used as dump device.
2844 Otherwise, the value of this variable is passed as the argument to
2846 To disable crash dumps, set this variable to
2850 When the system reboots after a crash and a crash dump is found on the
2851 device specified by the
2855 will save that crash dump and a copy of the kernel to the directory
2859 The default value is
2868 .It Va savecore_flags
2870 If crash dumps are enabled, these are the flags to pass to the
2873 .It Va enable_quotas
2877 to turn on user and group disk quotas on system startup via the
2879 command for all file systems marked as having quotas enabled in
2881 The kernel must be built with
2883 for disk quotas to function.
2888 to enable user and group disk quota checking via the
2891 .It Va quotacheck_flags
2901 these are the flags to pass to the
2906 which checks quotas for all file systems with quotas enabled in
2908 .It Va quotaon_flags
2914 these are the flags to pass to the
2919 which enables quotas for all file systems with quotas enabled in
2921 .It Va quotaoff_flags
2927 these are the flags to pass to the
2929 utility when shutting down the quota system.
2932 which disables quotas for all file systems with quotas enabled in
2934 .It Va accounting_enable
2938 to enable system accounting through the
2945 to enable iBCS2 (SCO) binary emulation at system initial boot
2947 .It Va ibcs2_loaders
2955 this specifies a list of additional iBCS2 loaders to enable.
2960 to enable Linux/ELF binary emulation at system initial
2966 enable SysVR4 emulation at boot time.
2967 .It Va sysvipc_enable
2971 load System V IPC primitives at boot time.
2972 .It Va clear_tmp_enable
2983 to disable removing of X11 lock files,
2984 and the removal and (secure) recreation
2985 of the various socket directories for X11
2987 .It Va ldconfig_paths
2989 Set to the list of shared library paths to use with
2993 will always be added first, so it need not appear in this list.
2994 .It Va ldconfig32_paths
2996 Set to the list of 32-bit compatibility shared library paths to
2999 .It Va ldconfig_paths_aout
3001 Set to the list of shared library paths to use with
3006 .It Va ldconfig_insecure
3010 utility normally refuses to use directories
3011 which are writable by anyone except root.
3012 Set this variable to
3014 to disable that security check during system startup.
3015 .It Va ldconfig_local_dirs
3017 Set to the list of local
3020 The names of all files in the directories listed will be
3021 passed as arguments to
3023 .It Va ldconfig_local32_dirs
3025 Set to the list of local 32-bit compatibility
3028 The names of all files in the directories listed will be
3029 passed as arguments to
3030 .Dq Nm ldconfig Fl 32 .
3031 .It Va kern_securelevel_enable
3035 to set the kernel security level at system startup.
3036 .It Va kern_securelevel
3038 The kernel security level to set at startup.
3039 The allowed range of
3041 ranges from \-1 (the compile time default) to 3 (the
3045 for the list of possible security levels and their effect
3046 on system operation.
3049 Path to the SSH server program
3050 .Pa ( /usr/sbin/sshd
3058 at system boot time.
3065 these are the flags to pass to the
3070 Path to the FTP server program
3071 .Pa ( /usr/libexec/ftpd
3079 as a stand-alone daemon at system boot time.
3086 these are the additional flags to pass to the
3089 .It Va watchdogd_enable
3095 daemon at boot time.
3096 This requires that the kernel have been compiled with a
3099 .It Va watchdogd_flags
3102 .Va watchdogd_enable
3105 these are the flags passed to the
3108 .It Va performance_cx_lowest
3110 CPU idle state to use while on AC power.
3115 should use the lowest power state available while
3117 indicates that the lowest latency state (less power savings) should be used.
3118 .It Va performance_cpu_freq
3120 CPU clock frequency to use while on AC power.
3125 should use the lowest frequency available while
3127 indicates that the highest frequency (less power savings) should be used.
3128 .It Va economy_cx_lowest
3130 CPU idle state to use when off AC power.
3135 should use the lowest power state available while
3137 indicates that the lowest latency state (less power savings) should be used.
3138 .It Va economy_cpu_freq
3140 CPU clock frequency to use when off AC power.
3145 should use the lowest frequency available while
3147 indicates that the highest frequency (less power savings) should be used.
3152 any configured jails will not be started.
3155 A space separated list of names for jails.
3156 This is purely a configuration aid to help identify and
3157 configure multiple jails.
3158 The names specified in this list will be used to
3159 identify settings common to an instance of a jail.
3160 Assuming that the jail in question was named
3162 you would have the following dependent variables:
3164 jail_vjail_hostname="jail.example.com"
3165 jail_vjail_ip="192.168.1.100"
3166 jail_vjail_rootdir="/var/jails/vjail/root"
3172 When set, use as default value for
3173 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3176 .It Va jail_interface
3179 When set, use as default value for
3180 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3186 When set, use as default value for
3187 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3190 .It Va jail_mount_enable
3198 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3201 by default for every jail in
3203 .It Va jail_devfs_ruleset
3207 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3208 to given value for every jail in
3210 .It Va jail_devfs_enable
3218 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3221 by default for every jail in
3223 .It Va jail_fdescfs_enable
3231 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3234 by default for every jail in
3236 .It Va jail_procfs_enable
3244 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3247 by default for every jail in
3249 .It Va jail_exec_start
3252 When set, use as default value for
3253 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3256 .It Va jail_exec_afterstart Ns Aq Ar N
3259 When set, use as default value for
3260 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3263 .It Va jail_exec_stop
3265 When set, use as default value for
3266 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3269 .It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3272 Set to the root directory used by jail
3274 .It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3277 Set to the fully qualified domain name (FQDN) assigned to jail
3279 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3282 Set to the IP address assigned to jail
3284 .It Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3289 These are flags to pass to
3291 .It Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3294 When set, sets the interface to use when setting IP address alias.
3295 Note that the alias is created at jail startup and removed at jail shutdown.
3296 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3299 .Pa /etc/fstab. Ns Aq Ar jname
3301 This is the file system information file to use for jail
3303 .It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3310 mount all file systems from
3311 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3313 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3316 When set, defines the device file system ruleset file to use for jail
3318 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3325 mount the device file system inside jail
3328 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3335 mount the file-descriptor file system inside jail
3338 .It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable
3345 mount the process file system inside jail
3348 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3351 .Dq Li /bin/sh /etc/rc
3353 This is the command executed at jail startup.
3354 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3357 This is the command run as
3360 after jail startup, where
3363 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3366 .Dq Li /bin/sh /etc/rc.shutdown
3368 This is the command executed at jail shutdown.
3369 .It Va jail_set_hostname_allow
3373 do not allow the root user in a jail to set its hostname.
3374 .It Va jail_socket_unixiproute_only
3378 do not allow any sockets,
3379 besides UNIX/IP/route sockets,
3380 to be used within a jail.
3381 .It Va jail_sysvipc_allow
3385 allow applications within a jail to use System V IPC.
3386 .\" ----- ISDN settings ---------------------------------
3397 at system boot time.
3401 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
3403 Additional flags to pass to
3409 for certain tunable parameters).
3415 The terminal type of the output device when
3417 operates in full-screen mode.
3418 .It Va isdn_screenflags
3423 The video mode for full-screen mode (only for
3433 The output device for
3435 in full-screen mode (or
3445 enables the ISDN protocol trace utility
3447 at system boot time.
3448 .It Va isdn_traceflags
3451 .Dq Fl f Pa /var/tmp/isdntrace0
3455 .\" -----------------------------------------------------
3456 .It Va harvest_interrupt
3460 to use hardware interrupts as an entropy source.
3463 for more information.
3464 .It Va harvest_ethernet
3468 to use LAN traffic as an entropy source.
3471 for more information.
3472 .It Va harvest_p_to_p
3476 to use serial line traffic as an entropy source.
3479 for more information.
3484 to disable caching entropy via
3486 Otherwise set to the directory used to store entropy files in.
3491 to disable caching entropy through reboots.
3492 Otherwise set to the filename used to store cached entropy through
3494 This file should be located on the root file system to seed the
3496 device as early as possible in the boot process.
3497 .It Va entropy_save_sz
3499 Size of the entropy cache files saved by
3502 .It Va entropy_save_num
3504 Number of entropy cache files to save by
3518 Configuration file for
3527 .Pa /var/run/dmesg.boot
3529 .It Va rcshutdown_timeout
3531 If set, start a watchdog timer in the background which will terminate
3535 has not completed within the specified time (in seconds).
3536 Notice that in addition to this soft timeout,
3538 also applies a hard timeout for the execution of
3540 This is configured via
3543 .Va kern.init_shutdown_timeout
3544 and defaults to 120 seconds.
3545 Setting the value of
3546 .Va rcshutdown_timeout
3547 to more than 120 seconds will have no effect until the
3550 .Va kern.init_shutdown_timeout
3552 .It Va virecover_enable
3556 to prevent the system from trying to
3557 recover pre-maturely terminated
3560 .It Va ugidfw_enable
3565 .Xr mac_bsdextended 4
3566 module upon system initialization and load a default
3568 .It Va bsdextended_script
3571 .Xr mac_bsdextended 4
3572 ruleset file to load.
3573 The default value of this variable is
3574 .Pa /etc/rc.bsdextended .
3575 .It Va newsyslog_enable
3582 .It Va newsyslog_flags
3585 .Va newsyslog_enable
3588 these are the flags to pass to the
3593 which causes log files flagged with a
3596 .It Va mdconfig_md Ns Aq Ar X
3606 must be specified and either a
3608 for malloc or swap backed
3616 .Va mdconfig_md Ns Aq Ar X
3617 variables are evaluated until one variable is unset or null.
3618 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
3620 Optional arguments passed to
3626 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
3628 An ownership specification passed to
3637 device and the mount point will be changed.
3638 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
3640 A mode string passed to
3649 device and the mount point will be changed.
3650 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
3652 Files to be copied to the mount point of the
3656 after it has been mounted.
3657 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
3659 Command to execute after the specified
3664 Note that the command is passed to
3670 variables can be used to reference respectively the
3672 device and the mount point.
3677 one could set the following:
3679 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
3681 .It Va ramdisk_units
3683 A list of one or more ramdisk units to configure with
3687 in time to be mounted from
3691 must specify at least a
3694 .Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3696 Note that this way to configure ramdisks has been deprecated
3699 variables (see above).
3700 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3708 must be specified, where
3714 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs
3716 Optional arguments passed to
3718 to initialize ramdisk
3720 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner
3722 An ownership specification passed to
3724 after the specified ramdisk unit
3729 device and the mount point will be changed.
3730 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms
3732 A mode string passed to
3734 after the specified ramdisk unit
3739 device and the mount point will be changed.
3740 .It Va autobridge_interfaces
3742 Set to the list of bridge interfaces that will have newly arriving interfaces
3743 checked against to be automatically added.
3746 then for each whitespace separated
3749 .Va autobridge_ Ns Aq Ar element
3750 variable is assumed to exist which has a whitespace separated list of interface
3751 names to match, these names can use wildcards.
3754 autobridge_interfaces="bridge0"
3755 autobridge_bridge0="tap* dc0 vlan[345]"
3761 enable support for sound mixer.
3764 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
3765 .It Pa /etc/defaults/rc.conf
3767 .It Pa /etc/rc.conf.local
3795 .Xr newsyslog.conf 5 ,
3858 .An Jordan K. Hubbard .