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 into the kernel, otherwise the
773 kernel module will be loaded.
778 ruleset configuration file
793 these flags are passed to the
795 program when loading the ruleset.
805 which logs packets from the
818 .Pa /var/log/pflog ) .
820 .Pa /etc/newsyslog.conf
821 to adjust logfile rotation for this.
831 This variable contains additional flags passed to the
834 .It Va ftpproxy_enable
845 packet filter in translating ftp connections.
846 .It Va ftpproxy_flags
849 This variable contains additional flags passed to the
861 state changes to other hosts over the network by means of
866 must also be set then.
867 .It Va pfsync_syncdev
870 This variable specifies the name of the network interface
872 should operate through.
873 It must be set accordingly if
877 .It Va pfsync_syncpeer
880 This variable is optional.
881 By default, state change messages are sent out on the synchronisation
882 interface using IP multicast packets.
883 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
885 When a peer address is specified using the
887 option, the peer address is used as a destination for the pfsync
888 traffic, and the traffic can then be protected using
892 manpage for more details about using
897 .It Va pfsync_ifconfig
900 This variable can contain additional options to be passed to the
902 command used to set up
904 .It Va tcp_extensions
911 disables certain TCP options as described by
917 might help remedy such problems with connections as randomly hanging
918 or other weird behavior.
919 Some network devices are known
920 to be broken with respect to these options.
927 .Va net.inet.tcp.log_in_vain
929 .Va net.inet.udp.log_in_vain ,
934 are set to the given value.
942 will disable probing idle TCP connections to verify that the
943 peer is still up and reachable.
944 .It Va tcp_drop_synfin
951 will cause the kernel to ignore TCP frames that have both
952 the SYN and FIN flags set.
953 This prevents OS fingerprinting, but may
954 break some legitimate applications.
955 .It Va icmp_drop_redirect
962 will cause the kernel to ignore ICMP REDIRECT packets.
965 for more information.
966 .It Va icmp_log_redirect
973 will cause the kernel to log ICMP REDIRECT packets.
975 the log messages are not rate-limited, so this option should only be used
976 for troubleshooting networks.
979 for more information.
980 .It Va icmp_bmcastecho
984 to respond to broadcast or multicast ICMP ping packets.
987 for more information.
988 .It Va ip_portrange_first
992 this is the first port in the default portrange.
995 for more information.
996 .It Va ip_portrange_last
1000 this is the last port in the default portrange.
1003 for more information.
1004 .It Va network_interfaces
1006 Set to the list of network interfaces to configure on this host or
1008 (the default) for all current interfaces.
1010 .Va network_interfaces
1011 variable to anything other than the default is deprecated.
1012 Interfaces that the administrator wishes to store configuration for,
1013 but not start at boot should be configured with the
1016 .Va ifconfig_ Ns Aq Ar interface
1017 variables as described below.
1020 .Va ifconfig_ Ns Aq Ar interface
1021 variable is also assumed to exist for each value of
1023 When an interface name contains any of the characters
1025 they are translated to
1028 The variable can contain arguments to
1030 as well as special case-insensitive keywords described below.
1031 Such keywords are removed before passing the value to
1033 while the order of the other arguments is preserved.
1035 One can configure more than one IPv4 address with the
1036 .Va ipv4_addrs_ Ns Aq Ar interface
1038 One or more IP addresses must be provided in Classless Inter-Domain
1039 Routing (CIDR) address notation, whose last byte can be a range like
1041 In this case the address 192.168.0.5 will be configured with the
1042 netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with
1043 the non-conflicting netmask /32 as explained in the
1046 With the interface in question being
1048 an example could look like:
1050 ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"
1053 It is also possible to add IP alias entries using
1056 Assuming that the interface in question was
1059 something like this:
1061 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1062 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1067 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1068 entry that is found,
1069 its contents are passed to
1071 Execution stops at the first unsuccessful access, so if
1072 something like this is present:
1074 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1075 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1076 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1077 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1080 Then note that alias4 would
1082 be added since the search would
1083 stop with the missing
1086 Due to this difficult to manage behavior, the
1087 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1091 .Pa /etc/start_if. Ns Aq Ar interface
1092 file is present, it is read and executed by the
1095 before configuring the interface as specified in the
1096 .Va ifconfig_ Ns Aq Ar interface
1098 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1102 .Va ifconfig_ Ns Aq Ar interface
1103 contains the keyword
1105 then the interface will not be configured
1107 .Pa /etc/pccard_ether
1109 .Va network_interfaces
1113 It is possible to bring up an interface with DHCP by adding
1116 .Va ifconfig_ Ns Aq Ar interface
1118 For instance, to initialize the
1121 it is possible to use something like:
1126 Also, if you want to configure your wireless interface with
1127 .Xr wpa_supplicant 8
1128 for use with WPA, EAP/LEAP or WEP, you need to add
1131 .Va ifconfig_ Ns Aq Ar interface
1134 Finally, you can add
1136 options in this variable, in addition to the
1137 .Pa /etc/start_if. Ns Aq Ar interface
1139 For instance, to initialize the
1141 device via DHCP, using WPA authentication and 802.11b mode, it is
1142 possible to use something like:
1144 ifconfig_wi0="DHCP WPA mode 11b"
1148 .Va ifconfig_ Ns Aq Ar interface
1149 form, a fallback variable
1150 .Va ifconfig_DEFAULT
1152 It will be used for all interfaces with no
1153 .Va ifconfig_ Ns Aq Ar interface
1155 This is intended to replace the no longer supported
1159 It is also possible to rename interface by doing:
1161 ifconfig_ed0_name="net0"
1162 ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
1164 .It Va ipv6_network_interfaces
1166 This is the IPv6 equivalent of
1167 .Va network_interfaces .
1168 Instead of setting the ifconfig variables as
1169 .Va ifconfig_ Ns Aq Ar interface
1170 they should be set as
1171 .Va ipv6_ifconfig_ Ns Aq Ar interface .
1172 Aliases should be set as
1173 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
1174 .Va ipv6_prefix_ Ns Aq Ar interface
1176 Interfaces that do not have a
1177 .Va ipv6_ifconfig_ Ns Aq Ar interface
1178 setting will be auto configured by
1181 .Va ipv6_gateway_enable
1184 Note that the IPv6 networking code does not support the
1185 .Pa /etc/start_if. Ns Aq Ar interface
1187 .It Va ipv6_default_interface
1191 this is the default output interface for scoped addresses.
1192 Now this works only for IPv6 link local multicast addresses.
1193 .It Va cloned_interfaces
1195 Set to the list of clonable network interfaces to create on this host.
1197 .Va cloned_interfaces
1198 are automatically appended to
1199 .Va network_interfaces
1201 .It Va fec_interfaces
1205 Fast EtherChannel interfaces to configure on this host.
1207 .Va fecconfig_ Ns Aq Ar interface
1208 variable is assumed to exist for each value of
1210 The value of this variable is used to configure link aggregated interfaces
1211 according to the syntax of the
1212 .Cm NGM_FEC_ADD_IFACE
1216 Additionally, this option ensures that each listed interface is created
1221 before attempting to configure it.
1224 fec_interfaces="fec0"
1225 fecconfig_fec0="em0 em1"
1226 ifconfig_fec0="DHCP"
1228 .It Va gif_interfaces
1232 tunnel interfaces to configure on this host.
1234 .Va gifconfig_ Ns Aq Ar interface
1235 variable is assumed to exist for each value of
1237 The value of this variable is used to configure the link layer of the
1238 tunnel according to the syntax of the
1242 Additionally, this option ensures that each listed interface is created
1247 before attempting to configure it.
1248 .It Va sppp_interfaces
1252 interfaces to configure on this host.
1254 .Va spppconfig_ Ns Aq Ar interface
1255 variable is assumed to exist for each value of
1257 Each interface should also be configured by a general
1258 .Va ifconfig_ Ns Aq Ar interface
1262 for more information about available options.
1272 Mode in which to run the
1281 See the manual for a full description.
1286 enables network address translation.
1287 Used in conjunction with
1289 allows hosts on private network addresses access to the Internet using
1290 this host as a network address translating router.
1293 The name of the profile to use from
1294 .Pa /etc/ppp/ppp.conf .
1297 The name of the user under which
1305 .It Va rc_conf_files
1307 This option is used to specify a list of files that will override
1309 .Pa /etc/defaults/rc.conf .
1310 The files will be read in the order in which they are specified and should
1311 include the full path to the file.
1312 By default, the files specified are
1315 .Pa /etc/rc.conf.local
1321 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
1323 .It Va gbde_autoattach_all
1328 will attempt to automatically initialize your .bde devices in
1332 List the devices that the script should try to attach,
1337 The directory where the
1339 lockfiles are located.
1340 The default lockfile directory is
1343 The lockfile for each individual
1345 device can be overridden by setting the variable
1346 .Va gbde_lock_ Ns Aq Ar device ,
1349 is the encrypted device without the
1354 .It Va gbde_attach_attempts
1356 Number of times to attempt attaching to a
1358 device, i.e., how many times the user is asked for the pass-phrase.
1362 List of devices to automatically attach on boot.
1363 Note that .eli devices from
1365 are automatically appended to this list.
1368 Number of times user is asked for the pass-phrase.
1369 If empty, it will be taken from
1370 .Va kern.geom.eli.tries
1372 .It Va geli_default_flags
1374 Default flags to use by
1376 when configuring disk encryption.
1377 Flags can be configured for every device separately by defining
1378 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1380 .It Va geli_autodetach
1382 Specifies if GELI devices should be marked for detach on last close after
1383 file systems are mounted.
1386 This can be changed for every device separately by defining
1387 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1389 .It Va geli_swap_flags
1390 Options passed to the
1392 utility when encrypted GEOM providers for swap partitions are created.
1394 .Dq Li "-a aes -l 256 -s 4096 -d" .
1395 .It Va root_rw_mount
1400 After the file systems are checked at boot time, the root file system
1401 is remounted as read-write if this is set to
1403 Diskless systems that mount their root file system from a read-only remote
1404 NFS share should set this to
1408 .It Va fsck_y_enable
1413 will be run with the
1415 flag if the initial preen
1416 of the file systems fails.
1417 .It Va background_fsck
1421 the system will attempt to run
1423 in the background where possible.
1424 .It Va background_fsck_delay
1426 The amount of time in seconds to sleep before starting a background
1428 It defaults to sixty seconds to allow large applications such as
1429 the X server to start before disk I/O bandwidth is monopolized by
1431 If set to a negative number, the background file system check will be
1432 delayed indefinitely to allow the administrator to run it at a more
1434 For example it may be run from
1436 by adding a line like
1438 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
1444 List of file system types that are network-based.
1445 This list should generally not be modified by end users.
1447 .Va extra_netfs_types
1449 .It Va extra_netfs_types
1451 If set to something other than
1454 this variable extends the list of file system types
1455 for which automatic mounting at startup by
1457 should be delayed until the network is initialized.
1459 a whitespace-separated list of network file system descriptor pairs,
1460 each consisting of a file system type as passed to
1462 and a human-readable, one-word description,
1465 Extending the default list in this way is only necessary
1466 when third party file system types are used.
1467 .It Va syslogd_enable
1474 .It Va syslogd_program
1479 .Pa /usr/sbin/syslogd ) .
1480 .It Va syslogd_flags
1486 these are the flags to pass to
1495 .It Va inetd_program
1500 .Pa /usr/sbin/inetd ) .
1507 these are the flags to pass to
1516 .It Va named_program
1521 .Pa /usr/sbin/named ) .
1528 these are the flags to pass to
1530 .It Va named_pidfile
1532 This is the default path to the
1535 This must match the location in
1541 process should be run as.
1542 .It Va named_chrootdir
1544 The root directory for a name server run in a
1546 environment (default
1550 will not be run in a
1553 .It Va named_chroot_autoupdate
1557 to disable automatic update of the
1560 .It Va named_symlink_enable
1564 to disable symlinking of
1569 .It Va kerberos5_server_enable
1573 to start a Kerberos 5 authentication server
1575 .It Va kerberos5_server
1578 .Va kerberos5_server_enable
1581 this is the path to Kerberos 5 Authentication Server.
1582 .It Va kerberos5_server_flags
1585 This variable contains additional flags to be passed to the Kerberos 5
1586 authentication server.
1587 .It Va kadmind5_server_enable
1593 the Kerberos 5 Administration Daemon; set to
1596 .It Va kadmind5_server
1599 .Va kadmind5_server_enable
1602 this is the path to Kerberos 5 Administration Daemon.
1603 .It Va kpasswdd_server_enable
1609 the Kerberos 5 Password-Changing Daemon; set to
1612 .It Va kpasswdd_server
1615 .Va kpasswdd_server_enable
1618 this is the path to Kerberos 5 Password-Changing Daemon.
1625 daemon at boot time.
1632 these are the flags to pass to it.
1639 daemon at boot time.
1646 these are the flags to pass to it.
1649 manpage for more information.
1650 .It Va amd_map_program
1653 the specified program is run to get the list of
1658 maps are stored in NIS, one can set this to
1671 will be updated at boot time to reflect the kernel release
1676 will not be updated.
1677 .It Va nfs_client_enable
1681 run the NFS client daemons at boot time.
1682 .It Va nfs_access_cache
1685 .Va nfs_client_enable
1690 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1692 results should be cached.
1693 A value of 2-10 seconds will substantially reduce network
1694 traffic for many NFS operations.
1695 .It Va nfs_server_enable
1699 run the NFS server daemons at boot time.
1700 .It Va nfs_server_flags
1703 .Va nfs_server_enable
1706 these are the flags to pass to the
1709 .It Va idmapd_enable
1713 run the ID mapping daemon for NFS version 4.
1720 these are the flags to pass to the
1723 .It Va mountd_enable
1728 .Va nfs_server_enable
1734 It is commonly needed to run CFS without real NFS used.
1741 these are the flags to pass to the
1744 .It Va weak_mountd_authentication
1748 allow services like PCNFSD to make non-privileged mount
1750 .It Va nfs_reserved_port_only
1754 provide NFS services only on a secure port.
1755 .It Va nfs_bufpackets
1757 If set to a number, indicates the number of packets worth of
1758 socket buffer space to reserve on an NFS client.
1759 The kernel default is typically 4.
1760 Using a higher number may be
1761 useful on gigabit networks to improve performance.
1762 The minimum value is
1763 2 and the maximum is 64.
1764 .It Va rpc_lockd_enable
1768 and also an NFS server or client, run
1771 .It Va rpc_lockd_flags
1774 .Va rpc_lockd_enable
1777 these are the flags to pass to the
1780 .It Va rpc_statd_enable
1784 and also an NFS server or client, run
1787 .It Va rpc_statd_flags
1790 .Va rpc_statd_enable
1793 these are the flags to pass to the
1796 .It Va rpcbind_program
1801 .Pa /usr/sbin/rpcbind ) .
1802 .It Va rpcbind_enable
1808 service at boot time.
1809 .It Va rpcbind_flags
1815 these are the flags to pass to the
1818 .It Va keyserv_enable
1824 daemon on boot for running Secure RPC.
1825 .It Va keyserv_flags
1831 these are the flags to pass to
1834 .It Va pppoed_enable
1840 daemon at boot time to provide PPP over Ethernet services.
1841 .It Va pppoed_ Ns Aq Ar provider
1844 listens to requests to this
1850 argument of the same name.
1853 Additional flags to pass to
1855 .It Va pppoed_interface
1857 The network interface to run
1860 This is mandatory when
1870 service at boot time.
1871 This command is intended for networks of
1872 machines where a consistent
1874 for all hosts must be established.
1875 This is often useful in large NFS
1876 environments where time stamps on files are expected to be consistent
1884 these are the flags to pass to the
1887 .It Va ntpdate_enable
1894 This command is intended to
1895 synchronize the system clock only
1897 from some standard reference.
1898 An option to set this up initially
1899 (from a list of known servers) is also provided by the
1901 program when the system is first installed.
1902 .It Va ntpdate_config
1904 Configuration file for
1908 .It Va ntpdate_hosts
1910 A whitespace-separated list of NTP servers to synchronize with at startup.
1911 The default is to use the servers listed in
1912 .Va ntpdate_config ,
1913 if that file exists.
1914 .It Va ntpdate_program
1919 .Pa /usr/sbin/ntpdate ) .
1920 .It Va ntpdate_flags
1926 these are the flags to pass to the
1928 command (typically a hostname).
1935 command at boot time.
1941 .Pa /usr/sbin/ntpd ) .
1955 these are the flags to pass to the
1958 .It Va ntpd_sync_on_start
1965 flag, which syncs the system's clock on startup.
1968 for more information regarding the
1971 This is a preferred alternative to using
1976 .It Va nis_client_enable
1982 service at system boot time.
1983 .It Va nis_client_flags
1986 .Va nis_client_enable
1989 these are the flags to pass to the
1992 .It Va nis_ypset_enable
1998 daemon at system boot time.
1999 .It Va nis_ypset_flags
2002 .Va nis_ypset_enable
2005 these are the flags to pass to the
2008 .It Va nis_server_enable
2014 daemon at system boot time.
2015 .It Va nis_server_flags
2018 .Va nis_server_enable
2021 these are the flags to pass to the
2024 .It Va nis_ypxfrd_enable
2030 daemon at system boot time.
2031 .It Va nis_ypxfrd_flags
2034 .Va nis_ypxfrd_enable
2037 these are the flags to pass to the
2040 .It Va nis_yppasswdd_enable
2046 daemon at system boot time.
2047 .It Va nis_yppasswdd_flags
2050 .Va nis_yppasswdd_enable
2053 these are the flags to pass to the
2056 .It Va rpc_ypupdated_enable
2062 daemon at system boot time.
2063 .It Va bsnmpd_enable
2069 daemon at system boot time.
2070 Be sure to understand the security implications of running SNMP daemon
2078 these are the flags to pass to the
2081 .It Va defaultrouter
2085 create a default route to this host name or IP address
2086 (use an IP address if this router is also required to get to the
2088 .It Va ipv6_defaultrouter
2090 The IPv6 equivalent of
2092 .It Va static_routes
2094 Set to the list of static routes that are to be added at system
2098 then for each whitespace separated
2101 .Va route_ Ns Aq Ar element
2102 variable is assumed to exist
2103 whose contents will later be passed to a
2108 static_routes="mcast gif0local"
2109 route_mcast="-net 224.0.0.0/4 -iface gif0"
2110 route_gif0local="-host 169.254.1.1 -iface lo0"
2112 .It Va ipv6_static_routes
2114 The IPv6 equivalent of
2118 then for each whitespace separated
2121 .Va ipv6_route_ Ns Aq Ar element
2122 variable is assumed to exist
2123 whose contents will later be passed to a
2124 .Dq Nm route Cm add Fl inet6
2126 .It Va natm_static_routes
2132 If not empty then for each whitespace separated
2135 .Va route_ Ns Aq Ar element
2136 variable is assumed to exist whose contents will later be passed to a
2137 .Dq Nm atmconfig Cm natm Cm add
2139 .It Va gateway_enable
2143 configure host to act as an IP router, e.g.\& to forward packets
2145 .It Va ipv6_gateway_enable
2147 The IPv6 equivalent of
2148 .Va gateway_enable .
2149 .It Va router_enable
2153 run a routing daemon of some sort, based on the
2158 .It Va ipv6_router_enable
2160 The IPv6 equivalent of
2164 run a routing daemon of some sort, based on the
2168 .Va ipv6_router_flags .
2175 this is the name of the routing daemon to use.
2178 The IPv6 equivalent of
2186 these are the flags to pass to the routing daemon.
2187 .It Va ipv6_router_flags
2189 The IPv6 equivalent of
2191 .It Va mrouted_enable
2195 run the multicast routing daemon,
2197 .It Va mroute6d_enable
2199 The IPv6 equivalent of
2200 .Va mrouted_enable .
2203 run the IPv6 multicast routing daemon.
2205 Note that multicast routing daemons are no longer included in the
2207 base system, however, both
2211 may be installed from the
2214 .It Va mrouted_flags
2220 these are the flags to pass to the
2223 .It Va mroute6d_flags
2225 The IPv6 equivalent of
2231 these are the flags passed to the IPv6 multicast routing daemon.
2232 .It Va mroute6d_program
2238 this is the path to the IPv6 multicast routing daemon.
2239 .It Va rtadvd_enable
2245 daemon at boot time.
2248 .Va ipv6_gateway_enable
2253 utility sends router advertisement packets to the interfaces specified in
2254 .Va rtadvd_interfaces
2255 and should only be enabled with great care.
2256 You may want to fine-tune
2258 .It Va rtadvd_interfaces
2264 this is the list of interfaces to use.
2265 .It Va ipxgateway_enable
2269 enable the routing of IPX traffic.
2270 .It Va ipxrouted_enable
2276 daemon at system boot time.
2277 .It Va ipxrouted_flags
2280 .Va ipxrouted_enable
2283 these are the flags to pass to the
2290 enable global proxy ARP.
2291 .It Va forward_sourceroute
2299 source-routed packets are forwarded.
2300 .It Va accept_sourceroute
2304 the system will accept source-routed packets directed at it.
2311 daemon at system boot time.
2318 these are the flags to pass to the
2321 .It Va bootparamd_enable
2327 daemon at system boot time.
2328 .It Va bootparamd_flags
2331 .Va bootparamd_enable
2334 these are the flags to pass to the
2337 .It Va stf_interface_ipv4addr
2341 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2343 Specify this entry to enable the 6to4 interface.
2344 .It Va stf_interface_ipv4plen
2346 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2347 An effective value is 0-31.
2348 .It Va stf_interface_ipv6_ifid
2350 IPv6 interface ID for
2354 .It Va stf_interface_ipv6_slaid
2356 IPv6 Site Level Aggregator for
2358 .It Va ipv6_faith_prefix
2362 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2367 .It Va ipv6_ipv4mapping
2371 this enables IPv4 mapped IPv6 address communication (like
2372 .Li ::ffff:a.b.c.d ) .
2377 to enable the configuration of ATM interfaces at system boot time.
2378 For all of the ATM variables described below, please refer to the
2380 manual page for further details on the available command parameters.
2381 Also refer to the files in
2382 .Pa /usr/share/examples/atm
2383 for more detailed configuration information.
2386 This is a list of physical ATM interface drivers to load.
2391 .It Va atm_netif_ Ns Aq Ar intf
2393 For the ATM physical interface
2395 this variable defines the name prefix and count for the ATM network
2396 interfaces to be created.
2397 The value will be passed as the parameters of an
2398 .Dq Nm atm Cm "set netif" Ar intf
2400 .It Va atm_sigmgr_ Ns Aq Ar intf
2402 For the ATM physical interface
2404 this variable defines the ATM signalling manager to be used.
2405 The value will be passed as the parameters of an
2406 .Dq Nm atm Cm attach Ar intf
2408 .It Va atm_prefix_ Ns Aq Ar intf
2410 For the ATM physical interface
2412 this variable defines the NSAP prefix for interfaces using a UNI signalling
2416 the prefix will automatically be set via the
2419 Otherwise, the value will be passed as the parameters of an
2420 .Dq Nm atm Cm "set prefix" Ar intf
2422 .It Va atm_macaddr_ Ns Aq Ar intf
2424 For the ATM physical interface
2426 this variable defines the MAC address for interfaces using a UNI signalling
2430 the hardware MAC address contained in the ATM interface card will be used.
2431 Otherwise, the value will be passed as the parameters of an
2432 .Dq Nm atm Cm "set mac" Ar intf
2434 .It Va atm_arpserver_ Ns Aq Ar netif
2436 For the ATM network interface
2438 this variable defines the ATM address for a host which is to provide ATMARP
2440 This variable is only applicable to interfaces using a UNI signalling
2444 this host will become an ATMARP server.
2445 The value will be passed as the parameters of an
2446 .Dq Nm atm Cm "set arpserver" Ar netif
2448 .It Va atm_scsparp_ Ns Aq Ar netif
2452 SCSP/ATMARP service for the network interface
2454 will be initiated using the
2459 This variable is only applicable if
2460 .Va atm_arpserver_ Ns Aq Ar netif
2465 Set to the list of ATM PVCs to be added at system
2467 For each whitespace separated
2470 .Va atm_pvc_ Ns Aq Ar element
2471 variable is assumed to exist.
2472 The value of each of these variables
2473 will be passed as the parameters of an
2474 .Dq Nm atm Cm "add pvc"
2478 Set to the list of permanent ATM ARP entries to be added
2479 at system boot time.
2480 For each whitespace separated
2483 .Va atm_arp_ Ns Aq Ar element
2484 variable is assumed to exist.
2485 The value of each of these variables
2486 will be passed as the parameters of an
2487 .Dq Nm atm Cm "add arp"
2489 .It Va natm_interfaces
2493 interfaces that will also be used for HARP through
2495 If this list is not empty all interfaces in the list will be brought up
2501 For this to work the interface drivers must be either compiled into the
2502 kernel or must reside on the root partition.
2505 The keyboard bell sound.
2512 if the default behavior is desired.
2513 For details, refer to the
2518 If set to a non-null string, the virtual console's keyboard input is
2524 no keymap is installed, otherwise the value is used to install
2526 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
2529 The keyboard repeat speed.
2536 if the default behavior is desired.
2541 attempt to program the function keys with the value.
2543 be a single string of the form:
2544 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
2547 Can be set to the value of
2550 .Dq Li destructive ,
2553 to set the cursor behavior explicitly or choose the default behavior.
2558 no screen map is installed, otherwise the value is used to install
2559 the screen map file in
2560 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
2565 the default 8x16 font value is used for screen size requests, otherwise
2567 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2573 the default 8x14 font value is used for screen size requests, otherwise
2575 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2581 the default 8x8 font value is used for screen size requests, otherwise
2583 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2589 the default screen blanking interval is used, otherwise it is set
2597 this is the actual screen saver to use
2598 .Li ( blank , snake , daemon ,
2600 .It Va moused_nondefault_enable
2604 the mouse device specified on
2605 the command line is not automatically treated as enabled by the
2606 .Pa /etc/rc.d/moused
2608 Having this variable set to
2614 to be enabled as soon as it is plugged in.
2615 .It Va moused_enable
2621 daemon is started for doing cut/paste selection on the console.
2624 This is the protocol type of the mouse connected to this host.
2625 This variable must be set if
2632 is able to detect the appropriate mouse type automatically in many cases.
2633 Set this variable to
2635 to let the daemon detect it, or
2636 select one from the following list if the automatic detection fails.
2638 If the mouse is attached to the PS/2 mouse port, choose
2642 regardless of the brand and model of the mouse.
2644 mouse is attached to the bus mouse port, choose
2648 All other protocols are for serial mice and will not work with
2649 the PS/2 and bus mice.
2650 If this is a USB mouse,
2652 is the only protocol type which will work.
2654 .Bl -tag -width ".Li x10mouseremote" -compact
2656 Microsoft mouse (serial)
2658 Microsoft IntelliMouse (serial)
2660 Mouse systems Corp.\& mouse (serial)
2662 MM Series mouse (serial)
2664 Logitech mouse (serial)
2668 Logitech MouseMan and TrackMan (serial)
2670 ALPS GlidePoint (serial)
2671 .It Li thinkingmouse
2672 Kensington ThinkingMouse (serial)
2676 MM HitTablet (serial)
2677 .It Li x10mouseremote
2678 X10 MouseRemote (serial)
2680 Interlink VersaPad (serial)
2683 Even if the mouse is not in the above list, it may be compatible
2684 with one in the list.
2685 Refer to the manual page for
2687 for compatibility information.
2689 It should also be noted that while this is enabled, any
2690 other client of the mouse (such as an X server) should access
2691 the mouse through the virtual mouse device,
2693 and configure it as a
2695 type mouse, since all
2696 mouse data is converted to this single canonical format when
2699 If the client program does not support the
2705 It is the second preferred type.
2712 this is the actual port the mouse is on.
2715 for a COM1 serial mouse,
2719 for a bus mouse, for example.
2724 is set, its value is used as an additional set of flags to pass to the
2727 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
2729 .Va moused_nondefault_enable
2732 daemon is started for a non-default port, the
2733 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2734 set of options has precedence over and replaces the default
2735 .Va moused_flags (where
2737 is the name of the non-default port, i.e.\&
2740 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2741 it is possible to set up a different set of default flags for each
2744 For example, you can use
2748 to make your laptop's touchpad more comfortable to use,
2749 but an empty set of options for
2750 .Va moused_ums0_flags
2753 mouse has three or more buttons.
2754 .It Va mousechar_start
2758 the default mouse cursor character range
2759 .Li 0xd0 Ns - Ns Li 0xd3
2761 otherwise the range start is set
2766 Use if the default range is occupied in the language code table.
2767 .It Va allscreens_flags
2771 is run with these options for each of the virtual terminals
2775 will enable the mouse pointer on all virtual terminals
2780 .It Va allscreens_kbdflags
2784 is run with these options for each of the virtual terminals
2790 scrollback (history) buffer to 200 lines.
2797 daemon at system boot time.
2803 .Pa /usr/sbin/cron ) .
2810 these are the flags to pass to
2816 enable the special handling of transitions to and from the
2817 Daylight Saving Time in
2819 (equivalent to using the flag
2826 .Pa /usr/sbin/lpd ) .
2833 daemon at system boot time.
2840 these are the flags to pass to the
2843 .It Va chkprintcap_enable
2849 command before starting the
2852 .It Va chkprintcap_flags
2857 .Va chkprintcap_enable
2860 these are the flags to pass to the
2865 which causes missing directories to be created.
2866 .It Va mta_start_script
2868 This variable specifies the full path to the script to run to start
2869 a mail transfer agent.
2871 .Pa /etc/rc.sendmail .
2875 .Pa /etc/rc.sendmail
2876 uses are documented in the
2881 Indicates the device (usually a swap partition) to which a crash dump
2882 should be written in the event of a system crash.
2883 If the value of this variable is
2885 the first suitable swap device listed in
2887 will be used as dump device.
2888 Otherwise, the value of this variable is passed as the argument to
2890 To disable crash dumps, set this variable to
2894 When the system reboots after a crash and a crash dump is found on the
2895 device specified by the
2899 will save that crash dump and a copy of the kernel to the directory
2903 The default value is
2912 .It Va savecore_flags
2914 If crash dumps are enabled, these are the flags to pass to the
2917 .It Va enable_quotas
2921 to turn on user and group disk quotas on system startup via the
2923 command for all file systems marked as having quotas enabled in
2925 The kernel must be built with
2927 for disk quotas to function.
2932 to enable user and group disk quota checking via the
2935 .It Va quotacheck_flags
2945 these are the flags to pass to the
2950 which checks quotas for all file systems with quotas enabled in
2952 .It Va quotaon_flags
2958 these are the flags to pass to the
2963 which enables quotas for all file systems with quotas enabled in
2965 .It Va quotaoff_flags
2971 these are the flags to pass to the
2973 utility when shutting down the quota system.
2976 which disables quotas for all file systems with quotas enabled in
2978 .It Va accounting_enable
2982 to enable system accounting through the
2989 to enable iBCS2 (SCO) binary emulation at system initial boot
2991 .It Va ibcs2_loaders
2999 this specifies a list of additional iBCS2 loaders to enable.
3004 to enable Linux/ELF binary emulation at system initial
3010 enable SysVR4 emulation at boot time.
3011 .It Va sysvipc_enable
3015 load System V IPC primitives at boot time.
3016 .It Va clear_tmp_enable
3027 to disable removing of X11 lock files,
3028 and the removal and (secure) recreation
3029 of the various socket directories for X11
3031 .It Va ldconfig_paths
3033 Set to the list of shared library paths to use with
3037 will always be added first, so it need not appear in this list.
3038 .It Va ldconfig32_paths
3040 Set to the list of 32-bit compatibility shared library paths to
3043 .It Va ldconfig_paths_aout
3045 Set to the list of shared library paths to use with
3050 .It Va ldconfig_insecure
3054 utility normally refuses to use directories
3055 which are writable by anyone except root.
3056 Set this variable to
3058 to disable that security check during system startup.
3059 .It Va ldconfig_local_dirs
3061 Set to the list of local
3064 The names of all files in the directories listed will be
3065 passed as arguments to
3067 .It Va ldconfig_local32_dirs
3069 Set to the list of local 32-bit compatibility
3072 The names of all files in the directories listed will be
3073 passed as arguments to
3074 .Dq Nm ldconfig Fl 32 .
3075 .It Va kern_securelevel_enable
3079 to set the kernel security level at system startup.
3080 .It Va kern_securelevel
3082 The kernel security level to set at startup.
3083 The allowed range of
3085 ranges from \-1 (the compile time default) to 3 (the
3089 for the list of possible security levels and their effect
3090 on system operation.
3093 Path to the SSH server program
3094 .Pa ( /usr/sbin/sshd
3102 at system boot time.
3109 these are the flags to pass to the
3114 Path to the FTP server program
3115 .Pa ( /usr/libexec/ftpd
3123 as a stand-alone daemon at system boot time.
3130 these are the additional flags to pass to the
3133 .It Va watchdogd_enable
3139 daemon at boot time.
3140 This requires that the kernel have been compiled with a
3143 .It Va watchdogd_flags
3146 .Va watchdogd_enable
3149 these are the flags passed to the
3152 .It Va performance_cx_lowest
3154 CPU idle state to use while on AC power.
3159 should use the lowest power state available while
3161 indicates that the lowest latency state (less power savings) should be used.
3162 .It Va performance_cpu_freq
3164 CPU clock frequency to use while on AC power.
3169 should use the lowest frequency available while
3171 indicates that the highest frequency (less power savings) should be used.
3172 .It Va economy_cx_lowest
3174 CPU idle state to use when off AC power.
3179 should use the lowest power state available while
3181 indicates that the lowest latency state (less power savings) should be used.
3182 .It Va economy_cpu_freq
3184 CPU clock frequency to use when off AC power.
3189 should use the lowest frequency available while
3191 indicates that the highest frequency (less power savings) should be used.
3196 any configured jails will not be started.
3199 A space separated list of names for jails.
3200 This is purely a configuration aid to help identify and
3201 configure multiple jails.
3202 The names specified in this list will be used to
3203 identify settings common to an instance of a jail.
3204 Assuming that the jail in question was named
3206 you would have the following dependent variables:
3208 jail_vjail_hostname="jail.example.com"
3209 jail_vjail_ip="192.168.1.100"
3210 jail_vjail_rootdir="/var/jails/vjail/root"
3216 When set, use as default value for
3217 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3220 .It Va jail_interface
3223 When set, use as default value for
3224 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3230 When set, use as default value for
3231 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3234 .It Va jail_mount_enable
3242 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3245 by default for every jail in
3247 .It Va jail_devfs_ruleset
3251 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3252 to given value for every jail in
3254 .It Va jail_devfs_enable
3262 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3265 by default for every jail in
3267 .It Va jail_fdescfs_enable
3275 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3278 by default for every jail in
3280 .It Va jail_procfs_enable
3288 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3291 by default for every jail in
3293 .It Va jail_exec_start
3296 When set, use as default value for
3297 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3300 .It Va jail_exec_afterstart Ns Aq Ar N
3303 When set, use as default value for
3304 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3307 .It Va jail_exec_stop
3309 When set, use as default value for
3310 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3313 .It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3316 Set to the root directory used by jail
3318 .It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3321 Set to the fully qualified domain name (FQDN) assigned to jail
3323 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3326 Set to the IP address assigned to jail
3328 .It Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3333 These are flags to pass to
3335 .It Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3338 When set, sets the interface to use when setting IP address alias.
3339 Note that the alias is created at jail startup and removed at jail shutdown.
3340 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3343 .Pa /etc/fstab. Ns Aq Ar jname
3345 This is the file system information file to use for jail
3347 .It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3354 mount all file systems from
3355 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3357 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3360 When set, defines the device file system ruleset file to use for jail
3362 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3369 mount the device file system inside jail
3372 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3379 mount the file-descriptor file system inside jail
3382 .It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable
3389 mount the process file system inside jail
3392 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3395 .Dq Li /bin/sh /etc/rc
3397 This is the command executed at jail startup.
3398 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3401 This is the command run as
3404 after jail startup, where
3407 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3410 .Dq Li /bin/sh /etc/rc.shutdown
3412 This is the command executed at jail shutdown.
3413 .It Va jail_set_hostname_allow
3417 do not allow the root user in a jail to set its hostname.
3418 .It Va jail_socket_unixiproute_only
3422 do not allow any sockets,
3423 besides UNIX/IP/route sockets,
3424 to be used within a jail.
3425 .It Va jail_sysvipc_allow
3429 allow applications within a jail to use System V IPC.
3430 .\" ----- ISDN settings ---------------------------------
3441 at system boot time.
3445 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
3447 Additional flags to pass to
3453 for certain tunable parameters).
3459 The terminal type of the output device when
3461 operates in full-screen mode.
3462 .It Va isdn_screenflags
3467 The video mode for full-screen mode (only for
3477 The output device for
3479 in full-screen mode (or
3489 enables the ISDN protocol trace utility
3491 at system boot time.
3492 .It Va isdn_traceflags
3495 .Dq Fl f Pa /var/tmp/isdntrace0
3499 .\" -----------------------------------------------------
3500 .It Va harvest_interrupt
3504 to use hardware interrupts as an entropy source.
3507 for more information.
3508 .It Va harvest_ethernet
3512 to use LAN traffic as an entropy source.
3515 for more information.
3516 .It Va harvest_p_to_p
3520 to use serial line traffic as an entropy source.
3523 for more information.
3528 to disable caching entropy via
3530 Otherwise set to the directory used to store entropy files in.
3535 to disable caching entropy through reboots.
3536 Otherwise set to the filename used to store cached entropy through
3538 This file should be located on the root file system to seed the
3540 device as early as possible in the boot process.
3541 .It Va entropy_save_sz
3543 Size of the entropy cache files saved by
3546 .It Va entropy_save_num
3548 Number of entropy cache files to save by
3562 Configuration file for
3571 .Pa /var/run/dmesg.boot
3573 .It Va rcshutdown_timeout
3575 If set, start a watchdog timer in the background which will terminate
3579 has not completed within the specified time (in seconds).
3580 Notice that in addition to this soft timeout,
3582 also applies a hard timeout for the execution of
3584 This is configured via
3587 .Va kern.init_shutdown_timeout
3588 and defaults to 120 seconds.
3589 Setting the value of
3590 .Va rcshutdown_timeout
3591 to more than 120 seconds will have no effect until the
3594 .Va kern.init_shutdown_timeout
3596 .It Va virecover_enable
3600 to prevent the system from trying to
3601 recover pre-maturely terminated
3604 .It Va ugidfw_enable
3609 .Xr mac_bsdextended 4
3610 module upon system initialization and load a default
3612 .It Va bsdextended_script
3615 .Xr mac_bsdextended 4
3616 ruleset file to load.
3617 The default value of this variable is
3618 .Pa /etc/rc.bsdextended .
3619 .It Va newsyslog_enable
3626 .It Va newsyslog_flags
3629 .Va newsyslog_enable
3632 these are the flags to pass to the
3637 which causes log files flagged with a
3640 .It Va mdconfig_md Ns Aq Ar X
3650 must be specified and either a
3652 for malloc or swap backed
3660 .Va mdconfig_md Ns Aq Ar X
3661 variables are evaluated until one variable is unset or null.
3662 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
3664 Optional arguments passed to
3670 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
3672 An ownership specification passed to
3681 device and the mount point will be changed.
3682 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
3684 A mode string passed to
3693 device and the mount point will be changed.
3694 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
3696 Files to be copied to the mount point of the
3700 after it has been mounted.
3701 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
3703 Command to execute after the specified
3708 Note that the command is passed to
3714 variables can be used to reference respectively the
3716 device and the mount point.
3721 one could set the following:
3723 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
3725 .It Va ramdisk_units
3727 A list of one or more ramdisk units to configure with
3731 in time to be mounted from
3735 must specify at least a
3738 .Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3740 Note that this way to configure ramdisks has been deprecated
3743 variables (see above).
3744 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3752 must be specified, where
3758 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs
3760 Optional arguments passed to
3762 to initialize ramdisk
3764 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner
3766 An ownership specification passed to
3768 after the specified ramdisk unit
3773 device and the mount point will be changed.
3774 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms
3776 A mode string passed to
3778 after the specified ramdisk unit
3783 device and the mount point will be changed.
3784 .It Va autobridge_interfaces
3786 Set to the list of bridge interfaces that will have newly arriving interfaces
3787 checked against to be automatically added.
3790 then for each whitespace separated
3793 .Va autobridge_ Ns Aq Ar element
3794 variable is assumed to exist which has a whitespace separated list of interface
3795 names to match, these names can use wildcards.
3798 autobridge_interfaces="bridge0"
3799 autobridge_bridge0="tap* dc0 vlan[345]"
3805 enable support for sound mixer.
3808 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
3809 .It Pa /etc/defaults/rc.conf
3811 .It Pa /etc/rc.conf.local
3839 .Xr newsyslog.conf 5 ,
3902 .An Jordan K. Hubbard .