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.
173 scripts at boot time.
176 Configuration file for
180 .It Va kldxref_enable
187 to automatically rebuild
192 .It Va kldxref_clobber
202 will overwrite existing
209 .It Va kldxref_module_path
214 delimited list of paths containing
226 enable the system power control facility with the
235 these are the flags to pass to the
239 Controls the creation of a
242 Always happens if set to
244 and never happens if set to
246 If set to anything else, a memory file system is created if
250 Controls the size of a created
254 Extra options passed to the
256 utility when the memory file system for
261 which inhibits the use of softupdates on
263 so that file system space is freed without delay
264 after file truncation or deletion.
267 for other options you can use in
270 Controls the creation of a
273 Always happens if set to
275 and never happens if set to
277 If set to anything else, a memory file system is created if
281 Controls the size of a created
285 Extra options passed to the
287 utility when the memory file system for
292 which inhibits the use of softupdates on
294 so that file system space is freed without delay
295 after file truncation or deletion.
298 for other options you can use in
301 Controls the automatic population of the
304 Always happens if set to
306 and never happens if set to
308 If set to anything else, a memory file system is created if
311 Note that this process requires access to certain commands in
315 is mounted on normal systems.
316 .It Va cleanvar_enable
323 List of directories to search for startup script files.
324 .It Va script_name_sep
326 The field separator to use for breaking down the list of startup script files
327 into individual filenames.
328 The default is a space.
329 It is not necessary to change this unless there are startup scripts with names
331 .It Va hostapd_enable
340 The fully qualified domain name (FQDN) of this host on the network.
341 This should almost certainly be set to something meaningful, even if
342 there is no network connection.
345 is used to set the hostname via DHCP,
346 this variable should be set to an empty string.
349 Enable support for IPv6 networking.
350 Note that this requires that the kernel has been compiled with
351 .Cd "options INET6" .
354 The NIS domain name of this host, or
357 .It Va dhclient_program
359 Path to the DHCP client program
360 .Pa ( /sbin/dhclient ,
365 .It Va dhclient_flags
367 Additional flags to pass to the DHCP client program.
372 manpage for a description of the command line options available.
373 .It Va dhclient_flags_ Ns Aq Ar iface
374 Additional flags to pass to the DHCP client program running on
377 When specified, this variable overrides
379 .It Va background_dhclient
383 to start the DHCP client in background.
384 This can cause trouble with applications depending on
385 a working network, but it will provide a faster startup
387 .It Va background_dhclient_ Ns Aq Ar iface
388 When specified, this variable overrides the
389 .Va background_dhclient
390 variable for interface
393 .It Va synchronous_dhclient
399 only in response to interface events and not synchronously at startup.
400 This behavior can be overridden on a per-interface basis by replacing
404 .Va ifconfig_ Ns Aq Ar interface
409 .It Va firewall_enable
413 to load firewall rules at startup.
414 If the kernel was not built with
415 .Cd "options IPFIREWALL" ,
418 kernel module will be loaded.
420 .Va ipfilter_enable .
421 .It Va ipv6_firewall_enable
423 The IPv6 equivalent of
424 .Va firewall_enable .
427 to load IPv6 firewall rules at startup.
428 If the kernel was not built with
429 .Cd "options IPV6FIREWALL" ,
432 kernel module will be loaded.
433 .It Va firewall_script
435 This variable specifies the full path to the firewall script to run.
437 .Pa /etc/rc.firewall .
438 .It Va ipv6_firewall_script
440 The IPv6 equivalent of
441 .Va firewall_script .
444 Names the firewall type from the selection in
445 .Pa /etc/rc.firewall ,
446 or the file which contains the local firewall ruleset.
447 Valid selections from
451 .Bl -tag -width ".Li simple" -compact
453 unrestricted IP access
455 all IP services disabled, except via
458 basic protection for a workstation
460 basic protection for a LAN.
463 If a filename is specified, the full path
465 .It Va ipv6_firewall_type
467 The IPv6 equivalent of
469 .It Va firewall_quiet
473 to disable the display of firewall rules on the console during boot.
474 .It Va ipv6_firewall_quiet
476 The IPv6 equivalent of
478 .It Va firewall_logging
482 to enable firewall event logging.
483 This is equivalent to the
484 .Dv IPFIREWALL_VERBOSE
486 .It Va ipv6_firewall_logging
488 The IPv6 equivalent of
489 .Va firewall_logging .
490 .It Va firewall_flags
496 specifies a filename.
497 .It Va ipv6_firewall_flags
499 The IPv6 equivalent of
501 .\" ----- firewall_nat_enable setting --------------------------------
502 .It Va firewall_nat_enable
514 .It Va firewall_nat_interface
520 This is the name of the public interface or IP address on which
521 kernel NAT should run.
522 .It Va firewall_nat_flags
524 Additional configuration parameters for kernel NAT should be placed here.
525 .It Va dummynet_enable
529 will automatically load the
535 .\" -------------------------------------------------------------------
551 sockets must be enabled in the kernel.
552 If the kernel was not built with
553 .Cd "options IPDIVERT" ,
556 kernel module will be loaded.
557 .It Va natd_interface
559 This is the name of the public interface on which
562 The interface may be given as an interface name or as an IP address.
567 flags should be placed here.
572 flag is automatically added with the above
575 .\" ----- ipfilter_enable setting --------------------------------
576 .It Va ipfilter_enable
587 Typical usage will require putting
589 ipfilter_enable="YES"
607 can be enabled independently.
611 both require at least one of
621 options IPFILTER_DEFAULT_BLOCK
624 in the kernel configuration file is a good idea, too.
625 .\" ----- ipfilter_program setting ------------------------------
626 .It Va ipfilter_program
632 .\" ----- ipfilter_rules setting --------------------------------
633 .It Va ipfilter_rules
638 This variable contains the name of the filter rule definition file.
639 The file is expected to be readable for the
642 .\" ----- ipv6_ipfilter_rules setting ---------------------------
643 .It Va ipv6_ipfilter_rules
648 This variable contains the IPv6 filter rule definition file.
649 The file is expected to be readable for the
652 .\" ----- ipfilter_flags setting --------------------------------
653 .It Va ipfilter_flags
656 This variable contains flags passed to the
659 .\" ----- ipnat_enable setting ----------------------------------
669 network address translation.
672 for a detailed discussion.
673 .\" ----- ipnat_program setting ---------------------------------
680 .\" ----- ipnat_rules setting -----------------------------------
686 This variable contains the name of the file
687 holding the network address translation definition.
688 This file is expected to be readable for the
691 .\" ----- ipnat_flags setting -----------------------------------
695 This variable contains flags passed to the
698 .\" ----- ipmon_enable setting ----------------------------------
713 Setting this variable needs setting
720 for a detailed discussion.
721 .\" ----- ipmon_program setting ---------------------------------
728 .\" ----- ipmon_flags setting -----------------------------------
734 This variable contains flags passed to the
737 Another typical example would be
738 .Dq Fl D Pa /var/log/ipflog
741 log directly to a file bypassing
744 .Pa /etc/newsyslog.conf
745 in such case like this:
747 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
749 .\" ----- ipfs_enable setting -----------------------------------
759 saving the filter and NAT state tables during shutdown
760 and reloading them during startup again.
761 Setting this variable needs setting
770 for a detailed discussion.
776 because the raised securelevel will prevent
778 from saving the state tables at shutdown time.
779 .\" ----- ipfs_program setting ----------------------------------
786 .\" ----- ipfs_flags setting ------------------------------------
790 This variable contains flags passed to the
793 .\" ----- end of added ipf hook ---------------------------------
805 Typical usage will require putting
820 into the kernel, otherwise the
821 kernel module will be loaded.
826 ruleset configuration file
841 these flags are passed to the
843 program when loading the ruleset.
853 which logs packets from the
866 .Pa /var/log/pflog ) .
868 .Pa /etc/newsyslog.conf
869 to adjust logfile rotation for this.
879 This variable contains additional flags passed to the
882 .It Va ftpproxy_enable
893 packet filter in translating ftp connections.
894 .It Va ftpproxy_flags
897 This variable contains additional flags passed to the
909 state changes to other hosts over the network by means of
914 must also be set then.
915 .It Va pfsync_syncdev
918 This variable specifies the name of the network interface
920 should operate through.
921 It must be set accordingly if
925 .It Va pfsync_syncpeer
928 This variable is optional.
929 By default, state change messages are sent out on the synchronisation
930 interface using IP multicast packets.
931 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
933 When a peer address is specified using the
935 option, the peer address is used as a destination for the pfsync
936 traffic, and the traffic can then be protected using
940 manpage for more details about using
945 .It Va pfsync_ifconfig
948 This variable can contain additional options to be passed to the
950 command used to set up
952 .It Va tcp_extensions
959 disables certain TCP options as described by
965 might help remedy such problems with connections as randomly hanging
966 or other weird behavior.
967 Some network devices are known
968 to be broken with respect to these options.
975 .Va net.inet.tcp.log_in_vain
977 .Va net.inet.udp.log_in_vain ,
982 are set to the given value.
990 will disable probing idle TCP connections to verify that the
991 peer is still up and reachable.
992 .It Va tcp_drop_synfin
999 will cause the kernel to ignore TCP frames that have both
1000 the SYN and FIN flags set.
1001 This prevents OS fingerprinting, but may
1002 break some legitimate applications.
1003 .It Va icmp_drop_redirect
1010 will cause the kernel to ignore ICMP REDIRECT packets.
1013 for more information.
1014 .It Va icmp_log_redirect
1021 will cause the kernel to log ICMP REDIRECT packets.
1023 the log messages are not rate-limited, so this option should only be used
1024 for troubleshooting networks.
1027 for more information.
1028 .It Va icmp_bmcastecho
1032 to respond to broadcast or multicast ICMP ping packets.
1035 for more information.
1036 .It Va ip_portrange_first
1040 this is the first port in the default portrange.
1043 for more information.
1044 .It Va ip_portrange_last
1048 this is the last port in the default portrange.
1051 for more information.
1052 .It Va network_interfaces
1054 Set to the list of network interfaces to configure on this host or
1056 (the default) for all current interfaces.
1058 .Va network_interfaces
1059 variable to anything other than the default is deprecated.
1060 Interfaces that the administrator wishes to store configuration for,
1061 but not start at boot should be configured with the
1064 .Va ifconfig_ Ns Aq Ar interface
1065 variables as described below.
1068 .Va ifconfig_ Ns Aq Ar interface
1069 variable is also assumed to exist for each value of
1071 When an interface name contains any of the characters
1073 they are translated to
1076 The variable can contain arguments to
1078 as well as special case-insensitive keywords described below.
1079 Such keywords are removed before passing the value to
1081 while the order of the other arguments is preserved.
1083 One can configure more than one IPv4 address with the
1084 .Va ipv4_addrs_ Ns Aq Ar interface
1086 One or more IP addresses must be provided in Classless Inter-Domain
1087 Routing (CIDR) address notation, whose last byte can be a range like
1089 In this case the address 192.168.0.5 will be configured with the
1090 netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with
1091 the non-conflicting netmask /32 as explained in the
1094 With the interface in question being
1096 an example could look like:
1098 ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"
1101 It is also possible to add IP alias entries using
1104 Assuming that the interface in question was
1107 something like this:
1109 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1110 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1115 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1116 entry that is found,
1117 its contents are passed to
1119 Execution stops at the first unsuccessful access, so if
1120 something like this is present:
1122 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1123 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1124 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1125 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1128 Then note that alias4 would
1130 be added since the search would
1131 stop with the missing
1134 Due to this difficult to manage behavior, the
1135 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1139 .Pa /etc/start_if. Ns Aq Ar interface
1140 file is present, it is read and executed by the
1143 before configuring the interface as specified in the
1144 .Va ifconfig_ Ns Aq Ar interface
1146 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1150 .Va ifconfig_ Ns Aq Ar interface
1151 contains the keyword
1153 then the interface will not be configured
1155 .Pa /etc/pccard_ether
1157 .Va network_interfaces
1161 It is possible to bring up an interface with DHCP by adding
1164 .Va ifconfig_ Ns Aq Ar interface
1166 For instance, to initialize the
1169 it is possible to use something like:
1174 Also, if you want to configure your wireless interface with
1175 .Xr wpa_supplicant 8
1176 for use with WPA, EAP/LEAP or WEP, you need to add
1179 .Va ifconfig_ Ns Aq Ar interface
1182 Finally, you can add
1184 options in this variable, in addition to the
1185 .Pa /etc/start_if. Ns Aq Ar interface
1187 For instance, to initialize the
1189 device via DHCP, using WPA authentication and 802.11b mode, it is
1190 possible to use something like:
1192 ifconfig_wi0="DHCP WPA mode 11b"
1196 .Va ifconfig_ Ns Aq Ar interface
1197 form, a fallback variable
1198 .Va ifconfig_DEFAULT
1200 It will be used for all interfaces with no
1201 .Va ifconfig_ Ns Aq Ar interface
1203 This is intended to replace the no longer supported
1207 It is also possible to rename interface by doing:
1209 ifconfig_ed0_name="net0"
1210 ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
1212 .It Va ipv6_network_interfaces
1214 This is the IPv6 equivalent of
1215 .Va network_interfaces .
1216 Instead of setting the ifconfig variables as
1217 .Va ifconfig_ Ns Aq Ar interface
1218 they should be set as
1219 .Va ipv6_ifconfig_ Ns Aq Ar interface .
1220 Aliases should be set as
1221 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
1222 .Va ipv6_prefix_ Ns Aq Ar interface
1224 Interfaces that do not have a
1225 .Va ipv6_ifconfig_ Ns Aq Ar interface
1226 setting will be auto configured by
1229 .Va ipv6_gateway_enable
1232 Note that the IPv6 networking code does not support the
1233 .Pa /etc/start_if. Ns Aq Ar interface
1235 .It Va ipv6_default_interface
1239 this is the default output interface for scoped addresses.
1240 Now this works only for IPv6 link local multicast addresses.
1241 .It Va cloned_interfaces
1243 Set to the list of clonable network interfaces to create on this host.
1245 .Va cloned_interfaces
1246 are automatically appended to
1247 .Va network_interfaces
1249 .It Va fec_interfaces
1253 Fast EtherChannel interfaces to configure on this host.
1255 .Va fecconfig_ Ns Aq Ar interface
1256 variable is assumed to exist for each value of
1258 The value of this variable is used to configure link aggregated interfaces
1259 according to the syntax of the
1260 .Cm NGM_FEC_ADD_IFACE
1264 Additionally, this option ensures that each listed interface is created
1269 before attempting to configure it.
1272 fec_interfaces="fec0"
1273 fecconfig_fec0="em0 em1"
1274 ifconfig_fec0="DHCP"
1276 .It Va gif_interfaces
1280 tunnel interfaces to configure on this host.
1282 .Va gifconfig_ Ns Aq Ar interface
1283 variable is assumed to exist for each value of
1285 The value of this variable is used to configure the link layer of the
1286 tunnel according to the syntax of the
1290 Additionally, this option ensures that each listed interface is created
1295 before attempting to configure it.
1296 .It Va sppp_interfaces
1300 interfaces to configure on this host.
1302 .Va spppconfig_ Ns Aq Ar interface
1303 variable is assumed to exist for each value of
1305 Each interface should also be configured by a general
1306 .Va ifconfig_ Ns Aq Ar interface
1310 for more information about available options.
1320 Mode in which to run the
1329 See the manual for a full description.
1334 enables network address translation.
1335 Used in conjunction with
1337 allows hosts on private network addresses access to the Internet using
1338 this host as a network address translating router.
1341 The name of the profile to use from
1342 .Pa /etc/ppp/ppp.conf .
1345 The name of the user under which
1353 .It Va rc_conf_files
1355 This option is used to specify a list of files that will override
1357 .Pa /etc/defaults/rc.conf .
1358 The files will be read in the order in which they are specified and should
1359 include the full path to the file.
1360 By default, the files specified are
1363 .Pa /etc/rc.conf.local
1369 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
1371 .It Va gbde_autoattach_all
1376 will attempt to automatically initialize your .bde devices in
1380 List the devices that the script should try to attach,
1385 The directory where the
1387 lockfiles are located.
1388 The default lockfile directory is
1391 The lockfile for each individual
1393 device can be overridden by setting the variable
1394 .Va gbde_lock_ Ns Aq Ar device ,
1397 is the encrypted device without the
1402 .It Va gbde_attach_attempts
1404 Number of times to attempt attaching to a
1406 device, i.e., how many times the user is asked for the pass-phrase.
1410 List of devices to automatically attach on boot.
1411 Note that .eli devices from
1413 are automatically appended to this list.
1416 Number of times user is asked for the pass-phrase.
1417 If empty, it will be taken from
1418 .Va kern.geom.eli.tries
1420 .It Va geli_default_flags
1422 Default flags to use by
1424 when configuring disk encryption.
1425 Flags can be configured for every device separately by defining
1426 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1428 .It Va geli_autodetach
1430 Specifies if GELI devices should be marked for detach on last close after
1431 file systems are mounted.
1434 This can be changed for every device separately by defining
1435 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1437 .It Va geli_swap_flags
1438 Options passed to the
1440 utility when encrypted GEOM providers for swap partitions are created.
1442 .Dq Li "-a aes -l 256 -s 4096 -d" .
1443 .It Va root_rw_mount
1448 After the file systems are checked at boot time, the root file system
1449 is remounted as read-write if this is set to
1451 Diskless systems that mount their root file system from a read-only remote
1452 NFS share should set this to
1456 .It Va fsck_y_enable
1461 will be run with the
1463 flag if the initial preen
1464 of the file systems fails.
1465 .It Va background_fsck
1469 the system will attempt to run
1471 in the background where possible.
1472 .It Va background_fsck_delay
1474 The amount of time in seconds to sleep before starting a background
1476 It defaults to sixty seconds to allow large applications such as
1477 the X server to start before disk I/O bandwidth is monopolized by
1479 If set to a negative number, the background file system check will be
1480 delayed indefinitely to allow the administrator to run it at a more
1482 For example it may be run from
1484 by adding a line like
1486 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
1492 List of file system types that are network-based.
1493 This list should generally not be modified by end users.
1495 .Va extra_netfs_types
1497 .It Va extra_netfs_types
1499 If set to something other than
1502 this variable extends the list of file system types
1503 for which automatic mounting at startup by
1505 should be delayed until the network is initialized.
1507 a whitespace-separated list of network file system descriptor pairs,
1508 each consisting of a file system type as passed to
1510 and a human-readable, one-word description,
1513 Extending the default list in this way is only necessary
1514 when third party file system types are used.
1515 .It Va syslogd_enable
1522 .It Va syslogd_program
1527 .Pa /usr/sbin/syslogd ) .
1528 .It Va syslogd_flags
1534 these are the flags to pass to
1543 .It Va inetd_program
1548 .Pa /usr/sbin/inetd ) .
1555 these are the flags to pass to
1564 .It Va named_program
1569 .Pa /usr/sbin/named ) .
1576 these are the flags to pass to
1578 .It Va named_pidfile
1580 This is the default path to the
1583 This must match the location in
1589 process should be run as.
1590 .It Va named_chrootdir
1592 The root directory for a name server run in a
1594 environment (default
1598 will not be run in a
1601 .It Va named_chroot_autoupdate
1605 to disable automatic update of the
1608 .It Va named_symlink_enable
1612 to disable symlinking of
1617 .It Va kerberos5_server_enable
1621 to start a Kerberos 5 authentication server
1623 .It Va kerberos5_server
1626 .Va kerberos5_server_enable
1629 this is the path to Kerberos 5 Authentication Server.
1630 .It Va kerberos5_server_flags
1633 This variable contains additional flags to be passed to the Kerberos 5
1634 authentication server.
1635 .It Va kadmind5_server_enable
1641 the Kerberos 5 Administration Daemon; set to
1644 .It Va kadmind5_server
1647 .Va kadmind5_server_enable
1650 this is the path to Kerberos 5 Administration Daemon.
1651 .It Va kpasswdd_server_enable
1657 the Kerberos 5 Password-Changing Daemon; set to
1660 .It Va kpasswdd_server
1663 .Va kpasswdd_server_enable
1666 this is the path to Kerberos 5 Password-Changing Daemon.
1673 daemon at boot time.
1680 these are the flags to pass to it.
1687 daemon at boot time.
1694 these are the flags to pass to it.
1697 manpage for more information.
1698 .It Va amd_map_program
1701 the specified program is run to get the list of
1706 maps are stored in NIS, one can set this to
1719 will be updated at boot time to reflect the kernel release
1724 will not be updated.
1725 .It Va nfs_client_enable
1729 run the NFS client daemons at boot time.
1730 .It Va nfs_access_cache
1733 .Va nfs_client_enable
1738 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1740 results should be cached.
1741 A value of 2-10 seconds will substantially reduce network
1742 traffic for many NFS operations.
1743 .It Va nfs_server_enable
1747 run the NFS server daemons at boot time.
1748 .It Va nfs_server_flags
1751 .Va nfs_server_enable
1754 these are the flags to pass to the
1757 .It Va idmapd_enable
1761 run the ID mapping daemon for NFS version 4.
1768 these are the flags to pass to the
1771 .It Va mountd_enable
1776 .Va nfs_server_enable
1782 It is commonly needed to run CFS without real NFS used.
1789 these are the flags to pass to the
1792 .It Va weak_mountd_authentication
1796 allow services like PCNFSD to make non-privileged mount
1798 .It Va nfs_reserved_port_only
1802 provide NFS services only on a secure port.
1803 .It Va nfs_bufpackets
1805 If set to a number, indicates the number of packets worth of
1806 socket buffer space to reserve on an NFS client.
1807 The kernel default is typically 4.
1808 Using a higher number may be
1809 useful on gigabit networks to improve performance.
1810 The minimum value is
1811 2 and the maximum is 64.
1812 .It Va rpc_lockd_enable
1816 and also an NFS server or client, run
1819 .It Va rpc_lockd_flags
1822 .Va rpc_lockd_enable
1825 these are the flags to pass to the
1828 .It Va rpc_statd_enable
1832 and also an NFS server or client, run
1835 .It Va rpc_statd_flags
1838 .Va rpc_statd_enable
1841 these are the flags to pass to the
1844 .It Va rpcbind_program
1849 .Pa /usr/sbin/rpcbind ) .
1850 .It Va rpcbind_enable
1856 service at boot time.
1857 .It Va rpcbind_flags
1863 these are the flags to pass to the
1866 .It Va keyserv_enable
1872 daemon on boot for running Secure RPC.
1873 .It Va keyserv_flags
1879 these are the flags to pass to
1882 .It Va pppoed_enable
1888 daemon at boot time to provide PPP over Ethernet services.
1889 .It Va pppoed_ Ns Aq Ar provider
1892 listens to requests to this
1898 argument of the same name.
1901 Additional flags to pass to
1903 .It Va pppoed_interface
1905 The network interface to run
1908 This is mandatory when
1918 service at boot time.
1919 This command is intended for networks of
1920 machines where a consistent
1922 for all hosts must be established.
1923 This is often useful in large NFS
1924 environments where time stamps on files are expected to be consistent
1932 these are the flags to pass to the
1935 .It Va ntpdate_enable
1942 This command is intended to
1943 synchronize the system clock only
1945 from some standard reference.
1946 An option to set this up initially
1947 (from a list of known servers) is also provided by the
1949 program when the system is first installed.
1950 .It Va ntpdate_config
1952 Configuration file for
1956 .It Va ntpdate_hosts
1958 A whitespace-separated list of NTP servers to synchronize with at startup.
1959 The default is to use the servers listed in
1960 .Va ntpdate_config ,
1961 if that file exists.
1962 .It Va ntpdate_program
1967 .Pa /usr/sbin/ntpdate ) .
1968 .It Va ntpdate_flags
1974 these are the flags to pass to the
1976 command (typically a hostname).
1983 command at boot time.
1989 .Pa /usr/sbin/ntpd ) .
2003 these are the flags to pass to the
2006 .It Va ntpd_sync_on_start
2013 flag, which syncs the system's clock on startup.
2016 for more information regarding the
2019 This is a preferred alternative to using
2024 .It Va nis_client_enable
2030 service at system boot time.
2031 .It Va nis_client_flags
2034 .Va nis_client_enable
2037 these are the flags to pass to the
2040 .It Va nis_ypset_enable
2046 daemon at system boot time.
2047 .It Va nis_ypset_flags
2050 .Va nis_ypset_enable
2053 these are the flags to pass to the
2056 .It Va nis_server_enable
2062 daemon at system boot time.
2063 .It Va nis_server_flags
2066 .Va nis_server_enable
2069 these are the flags to pass to the
2072 .It Va nis_ypxfrd_enable
2078 daemon at system boot time.
2079 .It Va nis_ypxfrd_flags
2082 .Va nis_ypxfrd_enable
2085 these are the flags to pass to the
2088 .It Va nis_yppasswdd_enable
2094 daemon at system boot time.
2095 .It Va nis_yppasswdd_flags
2098 .Va nis_yppasswdd_enable
2101 these are the flags to pass to the
2104 .It Va rpc_ypupdated_enable
2110 daemon at system boot time.
2111 .It Va bsnmpd_enable
2117 daemon at system boot time.
2118 Be sure to understand the security implications of running SNMP daemon
2126 these are the flags to pass to the
2129 .It Va defaultrouter
2133 create a default route to this host name or IP address
2134 (use an IP address if this router is also required to get to the
2136 .It Va ipv6_defaultrouter
2138 The IPv6 equivalent of
2140 .It Va static_routes
2142 Set to the list of static routes that are to be added at system
2146 then for each whitespace separated
2149 .Va route_ Ns Aq Ar element
2150 variable is assumed to exist
2151 whose contents will later be passed to a
2156 static_routes="mcast gif0local"
2157 route_mcast="-net 224.0.0.0/4 -iface gif0"
2158 route_gif0local="-host 169.254.1.1 -iface lo0"
2160 .It Va ipv6_static_routes
2162 The IPv6 equivalent of
2166 then for each whitespace separated
2169 .Va ipv6_route_ Ns Aq Ar element
2170 variable is assumed to exist
2171 whose contents will later be passed to a
2172 .Dq Nm route Cm add Fl inet6
2174 .It Va natm_static_routes
2180 If not empty then for each whitespace separated
2183 .Va route_ Ns Aq Ar element
2184 variable is assumed to exist whose contents will later be passed to a
2185 .Dq Nm atmconfig Cm natm Cm add
2187 .It Va gateway_enable
2191 configure host to act as an IP router, e.g.\& to forward packets
2193 .It Va ipv6_gateway_enable
2195 The IPv6 equivalent of
2196 .Va gateway_enable .
2197 .It Va router_enable
2201 run a routing daemon of some sort, based on the
2206 .It Va ipv6_router_enable
2208 The IPv6 equivalent of
2212 run a routing daemon of some sort, based on the
2216 .Va ipv6_router_flags .
2223 this is the name of the routing daemon to use.
2226 The IPv6 equivalent of
2234 these are the flags to pass to the routing daemon.
2235 .It Va ipv6_router_flags
2237 The IPv6 equivalent of
2239 .It Va mrouted_enable
2243 run the multicast routing daemon,
2245 .It Va mroute6d_enable
2247 The IPv6 equivalent of
2248 .Va mrouted_enable .
2251 run the IPv6 multicast routing daemon.
2253 Note that multicast routing daemons are no longer included in the
2255 base system, however, both
2259 may be installed from the
2262 .It Va mrouted_flags
2268 these are the flags to pass to the
2271 .It Va mroute6d_flags
2273 The IPv6 equivalent of
2279 these are the flags passed to the IPv6 multicast routing daemon.
2280 .It Va mroute6d_program
2286 this is the path to the IPv6 multicast routing daemon.
2287 .It Va rtadvd_enable
2293 daemon at boot time.
2296 .Va ipv6_gateway_enable
2301 utility sends router advertisement packets to the interfaces specified in
2302 .Va rtadvd_interfaces
2303 and should only be enabled with great care.
2304 You may want to fine-tune
2306 .It Va rtadvd_interfaces
2312 this is the list of interfaces to use.
2313 .It Va ipxgateway_enable
2317 enable the routing of IPX traffic.
2318 .It Va ipxrouted_enable
2324 daemon at system boot time.
2325 .It Va ipxrouted_flags
2328 .Va ipxrouted_enable
2331 these are the flags to pass to the
2338 enable global proxy ARP.
2339 .It Va forward_sourceroute
2347 source-routed packets are forwarded.
2348 .It Va accept_sourceroute
2352 the system will accept source-routed packets directed at it.
2359 daemon at system boot time.
2366 these are the flags to pass to the
2369 .It Va bootparamd_enable
2375 daemon at system boot time.
2376 .It Va bootparamd_flags
2379 .Va bootparamd_enable
2382 these are the flags to pass to the
2385 .It Va stf_interface_ipv4addr
2389 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2391 Specify this entry to enable the 6to4 interface.
2392 .It Va stf_interface_ipv4plen
2394 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2395 An effective value is 0-31.
2396 .It Va stf_interface_ipv6_ifid
2398 IPv6 interface ID for
2402 .It Va stf_interface_ipv6_slaid
2404 IPv6 Site Level Aggregator for
2406 .It Va ipv6_faith_prefix
2410 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2415 .It Va ipv6_ipv4mapping
2419 this enables IPv4 mapped IPv6 address communication (like
2420 .Li ::ffff:a.b.c.d ) .
2425 to enable the configuration of ATM interfaces at system boot time.
2426 For all of the ATM variables described below, please refer to the
2428 manual page for further details on the available command parameters.
2429 Also refer to the files in
2430 .Pa /usr/share/examples/atm
2431 for more detailed configuration information.
2434 This is a list of physical ATM interface drivers to load.
2439 .It Va atm_netif_ Ns Aq Ar intf
2441 For the ATM physical interface
2443 this variable defines the name prefix and count for the ATM network
2444 interfaces to be created.
2445 The value will be passed as the parameters of an
2446 .Dq Nm atm Cm "set netif" Ar intf
2448 .It Va atm_sigmgr_ Ns Aq Ar intf
2450 For the ATM physical interface
2452 this variable defines the ATM signalling manager to be used.
2453 The value will be passed as the parameters of an
2454 .Dq Nm atm Cm attach Ar intf
2456 .It Va atm_prefix_ Ns Aq Ar intf
2458 For the ATM physical interface
2460 this variable defines the NSAP prefix for interfaces using a UNI signalling
2464 the prefix will automatically be set via the
2467 Otherwise, the value will be passed as the parameters of an
2468 .Dq Nm atm Cm "set prefix" Ar intf
2470 .It Va atm_macaddr_ Ns Aq Ar intf
2472 For the ATM physical interface
2474 this variable defines the MAC address for interfaces using a UNI signalling
2478 the hardware MAC address contained in the ATM interface card will be used.
2479 Otherwise, the value will be passed as the parameters of an
2480 .Dq Nm atm Cm "set mac" Ar intf
2482 .It Va atm_arpserver_ Ns Aq Ar netif
2484 For the ATM network interface
2486 this variable defines the ATM address for a host which is to provide ATMARP
2488 This variable is only applicable to interfaces using a UNI signalling
2492 this host will become an ATMARP server.
2493 The value will be passed as the parameters of an
2494 .Dq Nm atm Cm "set arpserver" Ar netif
2496 .It Va atm_scsparp_ Ns Aq Ar netif
2500 SCSP/ATMARP service for the network interface
2502 will be initiated using the
2507 This variable is only applicable if
2508 .Va atm_arpserver_ Ns Aq Ar netif
2513 Set to the list of ATM PVCs to be added at system
2515 For each whitespace separated
2518 .Va atm_pvc_ Ns Aq Ar element
2519 variable is assumed to exist.
2520 The value of each of these variables
2521 will be passed as the parameters of an
2522 .Dq Nm atm Cm "add pvc"
2526 Set to the list of permanent ATM ARP entries to be added
2527 at system boot time.
2528 For each whitespace separated
2531 .Va atm_arp_ Ns Aq Ar element
2532 variable is assumed to exist.
2533 The value of each of these variables
2534 will be passed as the parameters of an
2535 .Dq Nm atm Cm "add arp"
2537 .It Va natm_interfaces
2541 interfaces that will also be used for HARP through
2543 If this list is not empty all interfaces in the list will be brought up
2549 For this to work the interface drivers must be either compiled into the
2550 kernel or must reside on the root partition.
2553 The keyboard bell sound.
2560 if the default behavior is desired.
2561 For details, refer to the
2566 If set to a non-null string, the virtual console's keyboard input is
2572 no keymap is installed, otherwise the value is used to install
2574 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
2577 The keyboard repeat speed.
2584 if the default behavior is desired.
2589 attempt to program the function keys with the value.
2591 be a single string of the form:
2592 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
2595 Can be set to the value of
2598 .Dq Li destructive ,
2601 to set the cursor behavior explicitly or choose the default behavior.
2606 no screen map is installed, otherwise the value is used to install
2607 the screen map file in
2608 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
2613 the default 8x16 font value is used for screen size requests, otherwise
2615 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2621 the default 8x14 font value is used for screen size requests, otherwise
2623 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2629 the default 8x8 font value is used for screen size requests, otherwise
2631 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2637 the default screen blanking interval is used, otherwise it is set
2645 this is the actual screen saver to use
2646 .Li ( blank , snake , daemon ,
2648 .It Va moused_nondefault_enable
2652 the mouse device specified on
2653 the command line is not automatically treated as enabled by the
2654 .Pa /etc/rc.d/moused
2656 Having this variable set to
2662 to be enabled as soon as it is plugged in.
2663 .It Va moused_enable
2669 daemon is started for doing cut/paste selection on the console.
2672 This is the protocol type of the mouse connected to this host.
2673 This variable must be set if
2680 is able to detect the appropriate mouse type automatically in many cases.
2681 Set this variable to
2683 to let the daemon detect it, or
2684 select one from the following list if the automatic detection fails.
2686 If the mouse is attached to the PS/2 mouse port, choose
2690 regardless of the brand and model of the mouse.
2692 mouse is attached to the bus mouse port, choose
2696 All other protocols are for serial mice and will not work with
2697 the PS/2 and bus mice.
2698 If this is a USB mouse,
2700 is the only protocol type which will work.
2702 .Bl -tag -width ".Li x10mouseremote" -compact
2704 Microsoft mouse (serial)
2706 Microsoft IntelliMouse (serial)
2708 Mouse systems Corp.\& mouse (serial)
2710 MM Series mouse (serial)
2712 Logitech mouse (serial)
2716 Logitech MouseMan and TrackMan (serial)
2718 ALPS GlidePoint (serial)
2719 .It Li thinkingmouse
2720 Kensington ThinkingMouse (serial)
2724 MM HitTablet (serial)
2725 .It Li x10mouseremote
2726 X10 MouseRemote (serial)
2728 Interlink VersaPad (serial)
2731 Even if the mouse is not in the above list, it may be compatible
2732 with one in the list.
2733 Refer to the manual page for
2735 for compatibility information.
2737 It should also be noted that while this is enabled, any
2738 other client of the mouse (such as an X server) should access
2739 the mouse through the virtual mouse device,
2741 and configure it as a
2743 type mouse, since all
2744 mouse data is converted to this single canonical format when
2747 If the client program does not support the
2753 It is the second preferred type.
2760 this is the actual port the mouse is on.
2763 for a COM1 serial mouse,
2767 for a bus mouse, for example.
2772 is set, its value is used as an additional set of flags to pass to the
2775 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
2777 .Va moused_nondefault_enable
2780 daemon is started for a non-default port, the
2781 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2782 set of options has precedence over and replaces the default
2783 .Va moused_flags (where
2785 is the name of the non-default port, i.e.\&
2788 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2789 it is possible to set up a different set of default flags for each
2792 For example, you can use
2796 to make your laptop's touchpad more comfortable to use,
2797 but an empty set of options for
2798 .Va moused_ums0_flags
2801 mouse has three or more buttons.
2802 .It Va mousechar_start
2806 the default mouse cursor character range
2807 .Li 0xd0 Ns - Ns Li 0xd3
2809 otherwise the range start is set
2814 Use if the default range is occupied in the language code table.
2815 .It Va allscreens_flags
2819 is run with these options for each of the virtual terminals
2823 will enable the mouse pointer on all virtual terminals
2828 .It Va allscreens_kbdflags
2832 is run with these options for each of the virtual terminals
2838 scrollback (history) buffer to 200 lines.
2845 daemon at system boot time.
2851 .Pa /usr/sbin/cron ) .
2858 these are the flags to pass to
2864 enable the special handling of transitions to and from the
2865 Daylight Saving Time in
2867 (equivalent to using the flag
2874 .Pa /usr/sbin/lpd ) .
2881 daemon at system boot time.
2888 these are the flags to pass to the
2891 .It Va chkprintcap_enable
2897 command before starting the
2900 .It Va chkprintcap_flags
2905 .Va chkprintcap_enable
2908 these are the flags to pass to the
2913 which causes missing directories to be created.
2914 .It Va mta_start_script
2916 This variable specifies the full path to the script to run to start
2917 a mail transfer agent.
2919 .Pa /etc/rc.sendmail .
2923 .Pa /etc/rc.sendmail
2924 uses are documented in the
2929 Indicates the device (usually a swap partition) to which a crash dump
2930 should be written in the event of a system crash.
2931 If the value of this variable is
2933 the first suitable swap device listed in
2935 will be used as dump device.
2936 Otherwise, the value of this variable is passed as the argument to
2938 To disable crash dumps, set this variable to
2942 When the system reboots after a crash and a crash dump is found on the
2943 device specified by the
2947 will save that crash dump and a copy of the kernel to the directory
2951 The default value is
2960 .It Va savecore_flags
2962 If crash dumps are enabled, these are the flags to pass to the
2965 .It Va enable_quotas
2969 to turn on user and group disk quotas on system startup via the
2971 command for all file systems marked as having quotas enabled in
2973 The kernel must be built with
2975 for disk quotas to function.
2980 to enable user and group disk quota checking via the
2983 .It Va quotacheck_flags
2993 these are the flags to pass to the
2998 which checks quotas for all file systems with quotas enabled in
3000 .It Va quotaon_flags
3006 these are the flags to pass to the
3011 which enables quotas for all file systems with quotas enabled in
3013 .It Va quotaoff_flags
3019 these are the flags to pass to the
3021 utility when shutting down the quota system.
3024 which disables quotas for all file systems with quotas enabled in
3026 .It Va accounting_enable
3030 to enable system accounting through the
3037 to enable iBCS2 (SCO) binary emulation at system initial boot
3039 .It Va ibcs2_loaders
3047 this specifies a list of additional iBCS2 loaders to enable.
3052 to enable Linux/ELF binary emulation at system initial
3058 enable SysVR4 emulation at boot time.
3059 .It Va sysvipc_enable
3063 load System V IPC primitives at boot time.
3064 .It Va clear_tmp_enable
3075 to disable removing of X11 lock files,
3076 and the removal and (secure) recreation
3077 of the various socket directories for X11
3079 .It Va ldconfig_paths
3081 Set to the list of shared library paths to use with
3085 will always be added first, so it need not appear in this list.
3086 .It Va ldconfig32_paths
3088 Set to the list of 32-bit compatibility shared library paths to
3091 .It Va ldconfig_paths_aout
3093 Set to the list of shared library paths to use with
3098 .It Va ldconfig_insecure
3102 utility normally refuses to use directories
3103 which are writable by anyone except root.
3104 Set this variable to
3106 to disable that security check during system startup.
3107 .It Va ldconfig_local_dirs
3109 Set to the list of local
3112 The names of all files in the directories listed will be
3113 passed as arguments to
3115 .It Va ldconfig_local32_dirs
3117 Set to the list of local 32-bit compatibility
3120 The names of all files in the directories listed will be
3121 passed as arguments to
3122 .Dq Nm ldconfig Fl 32 .
3123 .It Va kern_securelevel_enable
3127 to set the kernel security level at system startup.
3128 .It Va kern_securelevel
3130 The kernel security level to set at startup.
3131 The allowed range of
3133 ranges from \-1 (the compile time default) to 3 (the
3137 for the list of possible security levels and their effect
3138 on system operation.
3141 Path to the SSH server program
3142 .Pa ( /usr/sbin/sshd
3150 at system boot time.
3157 these are the flags to pass to the
3162 Path to the FTP server program
3163 .Pa ( /usr/libexec/ftpd
3171 as a stand-alone daemon at system boot time.
3178 these are the additional flags to pass to the
3181 .It Va watchdogd_enable
3187 daemon at boot time.
3188 This requires that the kernel have been compiled with a
3191 .It Va watchdogd_flags
3194 .Va watchdogd_enable
3197 these are the flags passed to the
3200 .It Va performance_cx_lowest
3202 CPU idle state to use while on AC power.
3207 should use the lowest power state available while
3209 indicates that the lowest latency state (less power savings) should be used.
3210 .It Va performance_cpu_freq
3212 CPU clock frequency to use while on AC power.
3217 should use the lowest frequency available while
3219 indicates that the highest frequency (less power savings) should be used.
3220 .It Va economy_cx_lowest
3222 CPU idle state to use when off AC power.
3227 should use the lowest power state available while
3229 indicates that the lowest latency state (less power savings) should be used.
3230 .It Va economy_cpu_freq
3232 CPU clock frequency to use when off AC power.
3237 should use the lowest frequency available while
3239 indicates that the highest frequency (less power savings) should be used.
3244 any configured jails will not be started.
3247 A space separated list of names for jails.
3248 This is purely a configuration aid to help identify and
3249 configure multiple jails.
3250 The names specified in this list will be used to
3251 identify settings common to an instance of a jail.
3252 Assuming that the jail in question was named
3254 you would have the following dependent variables:
3256 jail_vjail_hostname="jail.example.com"
3257 jail_vjail_ip="192.168.1.100"
3258 jail_vjail_rootdir="/var/jails/vjail/root"
3264 When set, use as default value for
3265 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3268 .It Va jail_interface
3271 When set, use as default value for
3272 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3278 When set, use as default value for
3279 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3282 .It Va jail_mount_enable
3290 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3293 by default for every jail in
3295 .It Va jail_devfs_ruleset
3299 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3300 to given value for every jail in
3302 .It Va jail_devfs_enable
3310 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3313 by default for every jail in
3315 .It Va jail_fdescfs_enable
3323 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3326 by default for every jail in
3328 .It Va jail_procfs_enable
3336 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3339 by default for every jail in
3341 .It Va jail_exec_start
3344 When set, use as default value for
3345 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3348 .It Va jail_exec_afterstart Ns Aq Ar N
3351 When set, use as default value for
3352 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3355 .It Va jail_exec_stop
3357 When set, use as default value for
3358 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3361 .It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3364 Set to the root directory used by jail
3366 .It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3369 Set to the fully qualified domain name (FQDN) assigned to jail
3371 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3374 Set to the IP address assigned to jail
3376 .It Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3381 These are flags to pass to
3383 .It Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3386 When set, sets the interface to use when setting IP address alias.
3387 Note that the alias is created at jail startup and removed at jail shutdown.
3388 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3391 .Pa /etc/fstab. Ns Aq Ar jname
3393 This is the file system information file to use for jail
3395 .It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3402 mount all file systems from
3403 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3405 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3408 When set, defines the device file system ruleset file to use for jail
3410 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3417 mount the device file system inside jail
3420 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3427 mount the file-descriptor file system inside jail
3430 .It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable
3437 mount the process file system inside jail
3440 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3443 .Dq Li /bin/sh /etc/rc
3445 This is the command executed at jail startup.
3446 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3449 This is the command run as
3452 after jail startup, where
3455 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3458 .Dq Li /bin/sh /etc/rc.shutdown
3460 This is the command executed at jail shutdown.
3461 .It Va jail_set_hostname_allow
3465 do not allow the root user in a jail to set its hostname.
3466 .It Va jail_socket_unixiproute_only
3470 do not allow any sockets,
3471 besides UNIX/IP/route sockets,
3472 to be used within a jail.
3473 .It Va jail_sysvipc_allow
3477 allow applications within a jail to use System V IPC.
3478 .\" ----- ISDN settings ---------------------------------
3489 at system boot time.
3493 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
3495 Additional flags to pass to
3501 for certain tunable parameters).
3507 The terminal type of the output device when
3509 operates in full-screen mode.
3510 .It Va isdn_screenflags
3515 The video mode for full-screen mode (only for
3525 The output device for
3527 in full-screen mode (or
3537 enables the ISDN protocol trace utility
3539 at system boot time.
3540 .It Va isdn_traceflags
3543 .Dq Fl f Pa /var/tmp/isdntrace0
3547 .\" -----------------------------------------------------
3548 .It Va harvest_interrupt
3552 to use hardware interrupts as an entropy source.
3555 for more information.
3556 .It Va harvest_ethernet
3560 to use LAN traffic as an entropy source.
3563 for more information.
3564 .It Va harvest_p_to_p
3568 to use serial line traffic as an entropy source.
3571 for more information.
3576 to disable caching entropy via
3578 Otherwise set to the directory used to store entropy files in.
3583 to disable caching entropy through reboots.
3584 Otherwise set to the filename used to store cached entropy through
3586 This file should be located on the root file system to seed the
3588 device as early as possible in the boot process.
3589 .It Va entropy_save_sz
3591 Size of the entropy cache files saved by
3594 .It Va entropy_save_num
3596 Number of entropy cache files to save by
3610 Configuration file for
3619 .Pa /var/run/dmesg.boot
3621 .It Va rcshutdown_timeout
3623 If set, start a watchdog timer in the background which will terminate
3627 has not completed within the specified time (in seconds).
3628 Notice that in addition to this soft timeout,
3630 also applies a hard timeout for the execution of
3632 This is configured via
3635 .Va kern.init_shutdown_timeout
3636 and defaults to 120 seconds.
3637 Setting the value of
3638 .Va rcshutdown_timeout
3639 to more than 120 seconds will have no effect until the
3642 .Va kern.init_shutdown_timeout
3644 .It Va virecover_enable
3648 to prevent the system from trying to
3649 recover pre-maturely terminated
3652 .It Va ugidfw_enable
3657 .Xr mac_bsdextended 4
3658 module upon system initialization and load a default
3660 .It Va bsdextended_script
3663 .Xr mac_bsdextended 4
3664 ruleset file to load.
3665 The default value of this variable is
3666 .Pa /etc/rc.bsdextended .
3667 .It Va newsyslog_enable
3674 .It Va newsyslog_flags
3677 .Va newsyslog_enable
3680 these are the flags to pass to the
3685 which causes log files flagged with a
3688 .It Va mdconfig_md Ns Aq Ar X
3698 must be specified and either a
3700 for malloc or swap backed
3708 .Va mdconfig_md Ns Aq Ar X
3709 variables are evaluated until one variable is unset or null.
3710 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
3712 Optional arguments passed to
3718 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
3720 An ownership specification passed to
3729 device and the mount point will be changed.
3730 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
3732 A mode string passed to
3741 device and the mount point will be changed.
3742 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
3744 Files to be copied to the mount point of the
3748 after it has been mounted.
3749 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
3751 Command to execute after the specified
3756 Note that the command is passed to
3762 variables can be used to reference respectively the
3764 device and the mount point.
3769 one could set the following:
3771 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
3773 .It Va ramdisk_units
3775 A list of one or more ramdisk units to configure with
3779 in time to be mounted from
3783 must specify at least a
3786 .Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3788 Note that this way to configure ramdisks has been deprecated
3791 variables (see above).
3792 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3800 must be specified, where
3806 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs
3808 Optional arguments passed to
3810 to initialize ramdisk
3812 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner
3814 An ownership specification passed to
3816 after the specified ramdisk unit
3821 device and the mount point will be changed.
3822 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms
3824 A mode string passed to
3826 after the specified ramdisk unit
3831 device and the mount point will be changed.
3832 .It Va autobridge_interfaces
3834 Set to the list of bridge interfaces that will have newly arriving interfaces
3835 checked against to be automatically added.
3838 then for each whitespace separated
3841 .Va autobridge_ Ns Aq Ar element
3842 variable is assumed to exist which has a whitespace separated list of interface
3843 names to match, these names can use wildcards.
3846 autobridge_interfaces="bridge0"
3847 autobridge_bridge0="tap* dc0 vlan[345]"
3853 enable support for sound mixer.
3856 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
3857 .It Pa /etc/defaults/rc.conf
3859 .It Pa /etc/rc.conf.local
3888 .Xr newsyslog.conf 5 ,
3951 .An Jordan K. Hubbard .