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 synchronously at startup.
400 This behavior can be overridden on a per-interface basis by replacing
404 .Va ifconfig_ Ns Aq Ar interface
411 When set to a positive value, wait up to this long after configuring
412 DHCP interfaces at startup to give the interfaces time to receive a lease.
413 .It Va firewall_enable
417 to load firewall rules at startup.
418 If the kernel was not built with
419 .Cd "options IPFIREWALL" ,
422 kernel module will be loaded.
424 .Va ipfilter_enable .
425 .It Va ipv6_firewall_enable
427 The IPv6 equivalent of
428 .Va firewall_enable .
431 to load IPv6 firewall rules at startup.
432 If the kernel was not built with
433 .Cd "options IPV6FIREWALL" ,
436 kernel module will be loaded.
437 .It Va firewall_script
439 This variable specifies the full path to the firewall script to run.
441 .Pa /etc/rc.firewall .
442 .It Va ipv6_firewall_script
444 The IPv6 equivalent of
445 .Va firewall_script .
448 Names the firewall type from the selection in
449 .Pa /etc/rc.firewall ,
450 or the file which contains the local firewall ruleset.
451 Valid selections from
455 .Bl -tag -width ".Li simple" -compact
457 unrestricted IP access
459 all IP services disabled, except via
462 basic protection for a workstation
464 basic protection for a LAN.
467 If a filename is specified, the full path
469 .It Va ipv6_firewall_type
471 The IPv6 equivalent of
473 .It Va firewall_quiet
477 to disable the display of firewall rules on the console during boot.
478 .It Va ipv6_firewall_quiet
480 The IPv6 equivalent of
482 .It Va firewall_logging
486 to enable firewall event logging.
487 This is equivalent to the
488 .Dv IPFIREWALL_VERBOSE
490 .It Va ipv6_firewall_logging
492 The IPv6 equivalent of
493 .Va firewall_logging .
494 .It Va firewall_flags
500 specifies a filename.
501 .It Va ipv6_firewall_flags
503 The IPv6 equivalent of
505 .\" ----- firewall_nat_enable setting --------------------------------
506 .It Va firewall_nat_enable
518 .It Va firewall_nat_interface
524 This is the name of the public interface or IP address on which
525 kernel NAT should run.
526 .It Va firewall_nat_flags
528 Additional configuration parameters for kernel NAT should be placed here.
529 .It Va dummynet_enable
533 will automatically load the
539 .\" -------------------------------------------------------------------
555 sockets must be enabled in the kernel.
556 If the kernel was not built with
557 .Cd "options IPDIVERT" ,
560 kernel module will be loaded.
561 .It Va natd_interface
563 This is the name of the public interface on which
566 The interface may be given as an interface name or as an IP address.
571 flags should be placed here.
576 flag is automatically added with the above
579 .\" ----- ipfilter_enable setting --------------------------------
580 .It Va ipfilter_enable
591 Typical usage will require putting
593 ipfilter_enable="YES"
611 can be enabled independently.
615 both require at least one of
625 options IPFILTER_DEFAULT_BLOCK
628 in the kernel configuration file is a good idea, too.
629 .\" ----- ipfilter_program setting ------------------------------
630 .It Va ipfilter_program
636 .\" ----- ipfilter_rules setting --------------------------------
637 .It Va ipfilter_rules
642 This variable contains the name of the filter rule definition file.
643 The file is expected to be readable for the
646 .\" ----- ipv6_ipfilter_rules setting ---------------------------
647 .It Va ipv6_ipfilter_rules
652 This variable contains the IPv6 filter rule definition file.
653 The file is expected to be readable for the
656 .\" ----- ipfilter_flags setting --------------------------------
657 .It Va ipfilter_flags
660 This variable contains flags passed to the
663 .\" ----- ipnat_enable setting ----------------------------------
673 network address translation.
676 for a detailed discussion.
677 .\" ----- ipnat_program setting ---------------------------------
684 .\" ----- ipnat_rules setting -----------------------------------
690 This variable contains the name of the file
691 holding the network address translation definition.
692 This file is expected to be readable for the
695 .\" ----- ipnat_flags setting -----------------------------------
699 This variable contains flags passed to the
702 .\" ----- ipmon_enable setting ----------------------------------
717 Setting this variable needs setting
724 for a detailed discussion.
725 .\" ----- ipmon_program setting ---------------------------------
732 .\" ----- ipmon_flags setting -----------------------------------
738 This variable contains flags passed to the
741 Another typical example would be
742 .Dq Fl D Pa /var/log/ipflog
745 log directly to a file bypassing
748 .Pa /etc/newsyslog.conf
749 in such case like this:
751 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
753 .\" ----- ipfs_enable setting -----------------------------------
763 saving the filter and NAT state tables during shutdown
764 and reloading them during startup again.
765 Setting this variable needs setting
774 for a detailed discussion.
780 because the raised securelevel will prevent
782 from saving the state tables at shutdown time.
783 .\" ----- ipfs_program setting ----------------------------------
790 .\" ----- ipfs_flags setting ------------------------------------
794 This variable contains flags passed to the
797 .\" ----- end of added ipf hook ---------------------------------
809 Typical usage will require putting
824 into the kernel, otherwise the
825 kernel module will be loaded.
830 ruleset configuration file
845 these flags are passed to the
847 program when loading the ruleset.
857 which logs packets from the
870 .Pa /var/log/pflog ) .
872 .Pa /etc/newsyslog.conf
873 to adjust logfile rotation for this.
883 This variable contains additional flags passed to the
886 .It Va ftpproxy_enable
897 packet filter in translating ftp connections.
898 .It Va ftpproxy_flags
901 This variable contains additional flags passed to the
913 state changes to other hosts over the network by means of
918 must also be set then.
919 .It Va pfsync_syncdev
922 This variable specifies the name of the network interface
924 should operate through.
925 It must be set accordingly if
929 .It Va pfsync_syncpeer
932 This variable is optional.
933 By default, state change messages are sent out on the synchronisation
934 interface using IP multicast packets.
935 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
937 When a peer address is specified using the
939 option, the peer address is used as a destination for the pfsync
940 traffic, and the traffic can then be protected using
944 manpage for more details about using
949 .It Va pfsync_ifconfig
952 This variable can contain additional options to be passed to the
954 command used to set up
956 .It Va tcp_extensions
963 disables certain TCP options as described by
969 might help remedy such problems with connections as randomly hanging
970 or other weird behavior.
971 Some network devices are known
972 to be broken with respect to these options.
979 .Va net.inet.tcp.log_in_vain
981 .Va net.inet.udp.log_in_vain ,
986 are set to the given value.
994 will disable probing idle TCP connections to verify that the
995 peer is still up and reachable.
996 .It Va tcp_drop_synfin
1003 will cause the kernel to ignore TCP frames that have both
1004 the SYN and FIN flags set.
1005 This prevents OS fingerprinting, but may
1006 break some legitimate applications.
1007 .It Va icmp_drop_redirect
1014 will cause the kernel to ignore ICMP REDIRECT packets.
1017 for more information.
1018 .It Va icmp_log_redirect
1025 will cause the kernel to log ICMP REDIRECT packets.
1027 the log messages are not rate-limited, so this option should only be used
1028 for troubleshooting networks.
1031 for more information.
1032 .It Va icmp_bmcastecho
1036 to respond to broadcast or multicast ICMP ping packets.
1039 for more information.
1040 .It Va ip_portrange_first
1044 this is the first port in the default portrange.
1047 for more information.
1048 .It Va ip_portrange_last
1052 this is the last port in the default portrange.
1055 for more information.
1056 .It Va network_interfaces
1058 Set to the list of network interfaces to configure on this host or
1060 (the default) for all current interfaces.
1062 .Va network_interfaces
1063 variable to anything other than the default is deprecated.
1064 Interfaces that the administrator wishes to store configuration for,
1065 but not start at boot should be configured with the
1068 .Va ifconfig_ Ns Aq Ar interface
1069 variables as described below.
1072 .Va ifconfig_ Ns Aq Ar interface
1073 variable is also assumed to exist for each value of
1075 When an interface name contains any of the characters
1077 they are translated to
1080 The variable can contain arguments to
1082 as well as special case-insensitive keywords described below.
1083 Such keywords are removed before passing the value to
1085 while the order of the other arguments is preserved.
1087 One can configure more than one IPv4 address with the
1088 .Va ipv4_addrs_ Ns Aq Ar interface
1090 One or more IP addresses must be provided in Classless Inter-Domain
1091 Routing (CIDR) address notation, whose last byte can be a range like
1093 In this case the address 192.168.0.5 will be configured with the
1094 netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with
1095 the non-conflicting netmask /32 as explained in the
1098 With the interface in question being
1100 an example could look like:
1102 ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"
1105 It is also possible to add IP alias entries using
1108 Assuming that the interface in question was
1111 something like this:
1113 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1114 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1119 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1120 entry that is found,
1121 its contents are passed to
1123 Execution stops at the first unsuccessful access, so if
1124 something like this is present:
1126 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1127 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1128 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1129 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1132 Then note that alias4 would
1134 be added since the search would
1135 stop with the missing
1138 Due to this difficult to manage behavior, the
1139 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1143 .Pa /etc/start_if. Ns Aq Ar interface
1144 file is present, it is read and executed by the
1147 before configuring the interface as specified in the
1148 .Va ifconfig_ Ns Aq Ar interface
1150 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1154 .Va wlans_ Ns Aq Ar interface
1158 interface will be created for each item in the list with the
1162 Further wlan cloning arguments may be passed to the
1165 command by setting the
1166 .Va create_args_ Ns Aq Ar interface
1170 devices must be created for each wireless devices as of
1174 .Va ifconfig_ Ns Aq Ar interface
1175 contains the keyword
1177 then the interface will not be configured
1179 .Pa /etc/pccard_ether
1181 .Va network_interfaces
1185 It is possible to bring up an interface with DHCP by adding
1188 .Va ifconfig_ Ns Aq Ar interface
1190 For instance, to initialize the
1193 it is possible to use something like:
1198 Also, if you want to configure your wireless interface with
1199 .Xr wpa_supplicant 8
1200 for use with WPA, EAP/LEAP or WEP, you need to add
1203 .Va ifconfig_ Ns Aq Ar interface
1206 Finally, you can add
1208 options in this variable, in addition to the
1209 .Pa /etc/start_if. Ns Aq Ar interface
1211 For instance, configure an
1213 wireless device in station mode with an address obtained
1214 via DHCP, using WPA authentication and 802.11b mode, it is
1215 possible to use something like:
1218 ifconfig_wlan0="DHCP WPA mode 11b"
1222 .Va ifconfig_ Ns Aq Ar interface
1223 form, a fallback variable
1224 .Va ifconfig_DEFAULT
1226 It will be used for all interfaces with no
1227 .Va ifconfig_ Ns Aq Ar interface
1229 This is intended to replace the no longer supported
1233 It is also possible to rename interface by doing:
1235 ifconfig_ed0_name="net0"
1236 ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
1238 .It Va ipv6_network_interfaces
1240 This is the IPv6 equivalent of
1241 .Va network_interfaces .
1242 Instead of setting the ifconfig variables as
1243 .Va ifconfig_ Ns Aq Ar interface
1244 they should be set as
1245 .Va ipv6_ifconfig_ Ns Aq Ar interface .
1246 Aliases should be set as
1247 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
1248 .Va ipv6_prefix_ Ns Aq Ar interface
1250 Interfaces that do not have a
1251 .Va ipv6_ifconfig_ Ns Aq Ar interface
1252 setting will be auto configured by
1255 .Va ipv6_gateway_enable
1258 Note that the IPv6 networking code does not support the
1259 .Pa /etc/start_if. Ns Aq Ar interface
1261 .It Va ipv6_default_interface
1265 this is the default output interface for scoped addresses.
1266 Now this works only for IPv6 link local multicast addresses.
1267 .It Va cloned_interfaces
1269 Set to the list of clonable network interfaces to create on this host.
1271 .Va cloned_interfaces
1272 are automatically appended to
1273 .Va network_interfaces
1275 .It Va fec_interfaces
1279 Fast EtherChannel interfaces to configure on this host.
1281 .Va fecconfig_ Ns Aq Ar interface
1282 variable is assumed to exist for each value of
1284 The value of this variable is used to configure link aggregated interfaces
1285 according to the syntax of the
1286 .Cm NGM_FEC_ADD_IFACE
1290 Additionally, this option ensures that each listed interface is created
1295 before attempting to configure it.
1298 fec_interfaces="fec0"
1299 fecconfig_fec0="em0 em1"
1300 ifconfig_fec0="DHCP"
1302 .It Va gif_interfaces
1306 tunnel interfaces to configure on this host.
1308 .Va gifconfig_ Ns Aq Ar interface
1309 variable is assumed to exist for each value of
1311 The value of this variable is used to configure the link layer of the
1312 tunnel according to the syntax of the
1316 Additionally, this option ensures that each listed interface is created
1321 before attempting to configure it.
1322 .It Va sppp_interfaces
1326 interfaces to configure on this host.
1328 .Va spppconfig_ Ns Aq Ar interface
1329 variable is assumed to exist for each value of
1331 Each interface should also be configured by a general
1332 .Va ifconfig_ Ns Aq Ar interface
1336 for more information about available options.
1346 The name of the profile to use from
1347 .Pa /etc/ppp/ppp.conf .
1348 Also used for per-profile overrides of
1353 .Va ppp_ Ns Ao Ar profile Ac Ns _unit .
1354 When the profile name contains any of the characters
1356 they are translated to
1358 for the proposes of the override variable names.
1361 Mode in which to run the
1364 .It Va ppp_ Ns Ao Ar profile Ac Ns _mode
1366 Overrides the global
1376 See the manual for a full description.
1381 enables network address translation.
1382 Used in conjunction with
1384 allows hosts on private network addresses access to the Internet using
1385 this host as a network address translating router.
1386 .It Va ppp_ Ns Ao Ar profile Ac Ns _nat
1388 Overrides the global
1392 .It Va ppp_ Ns Ao Ar profile Ac Ns _unit
1394 Set the unit number to be used for this profile.
1395 See the manual description of
1400 The name of the user under which
1408 .It Va rc_conf_files
1410 This option is used to specify a list of files that will override
1412 .Pa /etc/defaults/rc.conf .
1413 The files will be read in the order in which they are specified and should
1414 include the full path to the file.
1415 By default, the files specified are
1418 .Pa /etc/rc.conf.local
1424 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
1426 .It Va gbde_autoattach_all
1431 will attempt to automatically initialize your .bde devices in
1435 List the devices that the script should try to attach,
1440 The directory where the
1442 lockfiles are located.
1443 The default lockfile directory is
1446 The lockfile for each individual
1448 device can be overridden by setting the variable
1449 .Va gbde_lock_ Ns Aq Ar device ,
1452 is the encrypted device without the
1457 .It Va gbde_attach_attempts
1459 Number of times to attempt attaching to a
1461 device, i.e., how many times the user is asked for the pass-phrase.
1465 List of devices to automatically attach on boot.
1466 Note that .eli devices from
1468 are automatically appended to this list.
1471 Number of times user is asked for the pass-phrase.
1472 If empty, it will be taken from
1473 .Va kern.geom.eli.tries
1475 .It Va geli_default_flags
1477 Default flags to use by
1479 when configuring disk encryption.
1480 Flags can be configured for every device separately by defining
1481 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1483 .It Va geli_autodetach
1485 Specifies if GELI devices should be marked for detach on last close after
1486 file systems are mounted.
1489 This can be changed for every device separately by defining
1490 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1492 .It Va geli_swap_flags
1493 Options passed to the
1495 utility when encrypted GEOM providers for swap partitions are created.
1497 .Dq Li "-a aes -l 256 -s 4096 -d" .
1498 .It Va root_rw_mount
1503 After the file systems are checked at boot time, the root file system
1504 is remounted as read-write if this is set to
1506 Diskless systems that mount their root file system from a read-only remote
1507 NFS share should set this to
1511 .It Va fsck_y_enable
1516 will be run with the
1518 flag if the initial preen
1519 of the file systems fails.
1520 .It Va background_fsck
1524 the system will attempt to run
1526 in the background where possible.
1527 .It Va background_fsck_delay
1529 The amount of time in seconds to sleep before starting a background
1531 It defaults to sixty seconds to allow large applications such as
1532 the X server to start before disk I/O bandwidth is monopolized by
1534 If set to a negative number, the background file system check will be
1535 delayed indefinitely to allow the administrator to run it at a more
1537 For example it may be run from
1539 by adding a line like
1541 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
1547 List of file system types that are network-based.
1548 This list should generally not be modified by end users.
1550 .Va extra_netfs_types
1552 .It Va extra_netfs_types
1554 If set to something other than
1557 this variable extends the list of file system types
1558 for which automatic mounting at startup by
1560 should be delayed until the network is initialized.
1562 a whitespace-separated list of network file system descriptor pairs,
1563 each consisting of a file system type as passed to
1565 and a human-readable, one-word description,
1568 Extending the default list in this way is only necessary
1569 when third party file system types are used.
1570 .It Va syslogd_enable
1577 .It Va syslogd_program
1582 .Pa /usr/sbin/syslogd ) .
1583 .It Va syslogd_flags
1589 these are the flags to pass to
1598 .It Va inetd_program
1603 .Pa /usr/sbin/inetd ) .
1610 these are the flags to pass to
1619 .It Va named_program
1624 .Pa /usr/sbin/named ) .
1631 these are the flags to pass to
1633 .It Va named_pidfile
1635 This is the default path to the
1638 This must match the location in
1644 process should be run as.
1645 .It Va named_chrootdir
1647 The root directory for a name server run in a
1649 environment (default
1653 will not be run in a
1656 .It Va named_chroot_autoupdate
1660 to disable automatic update of the
1663 .It Va named_symlink_enable
1667 to disable symlinking of
1672 .It Va kerberos5_server_enable
1676 to start a Kerberos 5 authentication server
1678 .It Va kerberos5_server
1681 .Va kerberos5_server_enable
1684 this is the path to Kerberos 5 Authentication Server.
1685 .It Va kerberos5_server_flags
1688 This variable contains additional flags to be passed to the Kerberos 5
1689 authentication server.
1690 .It Va kadmind5_server_enable
1696 the Kerberos 5 Administration Daemon; set to
1699 .It Va kadmind5_server
1702 .Va kadmind5_server_enable
1705 this is the path to Kerberos 5 Administration Daemon.
1706 .It Va kpasswdd_server_enable
1712 the Kerberos 5 Password-Changing Daemon; set to
1715 .It Va kpasswdd_server
1718 .Va kpasswdd_server_enable
1721 this is the path to Kerberos 5 Password-Changing Daemon.
1728 daemon at boot time.
1735 these are the flags to pass to it.
1742 daemon at boot time.
1749 these are the flags to pass to it.
1752 manpage for more information.
1753 .It Va amd_map_program
1756 the specified program is run to get the list of
1761 maps are stored in NIS, one can set this to
1774 will be updated at boot time to reflect the kernel release
1779 will not be updated.
1780 .It Va nfs_client_enable
1784 run the NFS client daemons at boot time.
1785 .It Va nfs_access_cache
1788 .Va nfs_client_enable
1793 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1795 results should be cached.
1796 A value of 2-10 seconds will substantially reduce network
1797 traffic for many NFS operations.
1798 .It Va nfs_server_enable
1802 run the NFS server daemons at boot time.
1803 .It Va nfs_server_flags
1806 .Va nfs_server_enable
1809 these are the flags to pass to the
1812 .It Va idmapd_enable
1816 run the ID mapping daemon for NFS version 4.
1823 these are the flags to pass to the
1826 .It Va mountd_enable
1831 .Va nfs_server_enable
1837 It is commonly needed to run CFS without real NFS used.
1844 these are the flags to pass to the
1847 .It Va weak_mountd_authentication
1851 allow services like PCNFSD to make non-privileged mount
1853 .It Va nfs_reserved_port_only
1857 provide NFS services only on a secure port.
1858 .It Va nfs_bufpackets
1860 If set to a number, indicates the number of packets worth of
1861 socket buffer space to reserve on an NFS client.
1862 The kernel default is typically 4.
1863 Using a higher number may be
1864 useful on gigabit networks to improve performance.
1865 The minimum value is
1866 2 and the maximum is 64.
1867 .It Va rpc_lockd_enable
1871 and also an NFS server or client, run
1874 .It Va rpc_lockd_flags
1877 .Va rpc_lockd_enable
1880 these are the flags to pass to the
1883 .It Va rpc_statd_enable
1887 and also an NFS server or client, run
1890 .It Va rpc_statd_flags
1893 .Va rpc_statd_enable
1896 these are the flags to pass to the
1899 .It Va rpcbind_program
1904 .Pa /usr/sbin/rpcbind ) .
1905 .It Va rpcbind_enable
1911 service at boot time.
1912 .It Va rpcbind_flags
1918 these are the flags to pass to the
1921 .It Va keyserv_enable
1927 daemon on boot for running Secure RPC.
1928 .It Va keyserv_flags
1934 these are the flags to pass to
1937 .It Va pppoed_enable
1943 daemon at boot time to provide PPP over Ethernet services.
1944 .It Va pppoed_ Ns Aq Ar provider
1947 listens to requests to this
1953 argument of the same name.
1956 Additional flags to pass to
1958 .It Va pppoed_interface
1960 The network interface to run
1963 This is mandatory when
1973 service at boot time.
1974 This command is intended for networks of
1975 machines where a consistent
1977 for all hosts must be established.
1978 This is often useful in large NFS
1979 environments where time stamps on files are expected to be consistent
1987 these are the flags to pass to the
1990 .It Va ntpdate_enable
1997 This command is intended to
1998 synchronize the system clock only
2000 from some standard reference.
2001 An option to set this up initially
2002 (from a list of known servers) is also provided by the
2004 program when the system is first installed.
2005 .It Va ntpdate_config
2007 Configuration file for
2011 .It Va ntpdate_hosts
2013 A whitespace-separated list of NTP servers to synchronize with at startup.
2014 The default is to use the servers listed in
2015 .Va ntpdate_config ,
2016 if that file exists.
2017 .It Va ntpdate_program
2022 .Pa /usr/sbin/ntpdate ) .
2023 .It Va ntpdate_flags
2029 these are the flags to pass to the
2031 command (typically a hostname).
2038 command at boot time.
2044 .Pa /usr/sbin/ntpd ) .
2058 these are the flags to pass to the
2061 .It Va ntpd_sync_on_start
2068 flag, which syncs the system's clock on startup.
2071 for more information regarding the
2074 This is a preferred alternative to using
2079 .It Va nis_client_enable
2085 service at system boot time.
2086 .It Va nis_client_flags
2089 .Va nis_client_enable
2092 these are the flags to pass to the
2095 .It Va nis_ypset_enable
2101 daemon at system boot time.
2102 .It Va nis_ypset_flags
2105 .Va nis_ypset_enable
2108 these are the flags to pass to the
2111 .It Va nis_server_enable
2117 daemon at system boot time.
2118 .It Va nis_server_flags
2121 .Va nis_server_enable
2124 these are the flags to pass to the
2127 .It Va nis_ypxfrd_enable
2133 daemon at system boot time.
2134 .It Va nis_ypxfrd_flags
2137 .Va nis_ypxfrd_enable
2140 these are the flags to pass to the
2143 .It Va nis_yppasswdd_enable
2149 daemon at system boot time.
2150 .It Va nis_yppasswdd_flags
2153 .Va nis_yppasswdd_enable
2156 these are the flags to pass to the
2159 .It Va rpc_ypupdated_enable
2165 daemon at system boot time.
2166 .It Va bsnmpd_enable
2172 daemon at system boot time.
2173 Be sure to understand the security implications of running SNMP daemon
2181 these are the flags to pass to the
2184 .It Va defaultrouter
2188 create a default route to this host name or IP address
2189 (use an IP address if this router is also required to get to the
2191 .It Va ipv6_defaultrouter
2193 The IPv6 equivalent of
2195 .It Va static_routes
2197 Set to the list of static routes that are to be added at system
2201 then for each whitespace separated
2204 .Va route_ Ns Aq Ar element
2205 variable is assumed to exist
2206 whose contents will later be passed to a
2211 static_routes="mcast gif0local"
2212 route_mcast="-net 224.0.0.0/4 -iface gif0"
2213 route_gif0local="-host 169.254.1.1 -iface lo0"
2215 .It Va ipv6_static_routes
2217 The IPv6 equivalent of
2221 then for each whitespace separated
2224 .Va ipv6_route_ Ns Aq Ar element
2225 variable is assumed to exist
2226 whose contents will later be passed to a
2227 .Dq Nm route Cm add Fl inet6
2229 .It Va natm_static_routes
2235 If not empty then for each whitespace separated
2238 .Va route_ Ns Aq Ar element
2239 variable is assumed to exist whose contents will later be passed to a
2240 .Dq Nm atmconfig Cm natm Cm add
2242 .It Va gateway_enable
2246 configure host to act as an IP router, e.g.\& to forward packets
2248 .It Va ipv6_gateway_enable
2250 The IPv6 equivalent of
2251 .Va gateway_enable .
2252 .It Va router_enable
2256 run a routing daemon of some sort, based on the
2261 .It Va ipv6_router_enable
2263 The IPv6 equivalent of
2267 run a routing daemon of some sort, based on the
2271 .Va ipv6_router_flags .
2278 this is the name of the routing daemon to use.
2281 The IPv6 equivalent of
2289 these are the flags to pass to the routing daemon.
2290 .It Va ipv6_router_flags
2292 The IPv6 equivalent of
2294 .It Va mrouted_enable
2298 run the multicast routing daemon,
2300 .It Va mroute6d_enable
2302 The IPv6 equivalent of
2303 .Va mrouted_enable .
2306 run the IPv6 multicast routing daemon.
2308 Note that multicast routing daemons are no longer included in the
2310 base system, however, both
2314 may be installed from the
2317 .It Va mrouted_flags
2323 these are the flags to pass to the
2326 .It Va mroute6d_flags
2328 The IPv6 equivalent of
2334 these are the flags passed to the IPv6 multicast routing daemon.
2335 .It Va mroute6d_program
2341 this is the path to the IPv6 multicast routing daemon.
2342 .It Va rtadvd_enable
2348 daemon at boot time.
2351 .Va ipv6_gateway_enable
2356 utility sends router advertisement packets to the interfaces specified in
2357 .Va rtadvd_interfaces
2358 and should only be enabled with great care.
2359 You may want to fine-tune
2361 .It Va rtadvd_interfaces
2367 this is the list of interfaces to use.
2368 .It Va ipxgateway_enable
2372 enable the routing of IPX traffic.
2373 .It Va ipxrouted_enable
2379 daemon at system boot time.
2380 .It Va ipxrouted_flags
2383 .Va ipxrouted_enable
2386 these are the flags to pass to the
2393 enable global proxy ARP.
2394 .It Va forward_sourceroute
2402 source-routed packets are forwarded.
2403 .It Va accept_sourceroute
2407 the system will accept source-routed packets directed at it.
2414 daemon at system boot time.
2421 these are the flags to pass to the
2424 .It Va bootparamd_enable
2430 daemon at system boot time.
2431 .It Va bootparamd_flags
2434 .Va bootparamd_enable
2437 these are the flags to pass to the
2440 .It Va stf_interface_ipv4addr
2444 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2446 Specify this entry to enable the 6to4 interface.
2447 .It Va stf_interface_ipv4plen
2449 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2450 An effective value is 0-31.
2451 .It Va stf_interface_ipv6_ifid
2453 IPv6 interface ID for
2457 .It Va stf_interface_ipv6_slaid
2459 IPv6 Site Level Aggregator for
2461 .It Va ipv6_faith_prefix
2465 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2470 .It Va ipv6_ipv4mapping
2474 this enables IPv4 mapped IPv6 address communication (like
2475 .Li ::ffff:a.b.c.d ) .
2480 to enable the configuration of ATM interfaces at system boot time.
2481 For all of the ATM variables described below, please refer to the
2483 manual page for further details on the available command parameters.
2484 Also refer to the files in
2485 .Pa /usr/share/examples/atm
2486 for more detailed configuration information.
2489 This is a list of physical ATM interface drivers to load.
2494 .It Va atm_netif_ Ns Aq Ar intf
2496 For the ATM physical interface
2498 this variable defines the name prefix and count for the ATM network
2499 interfaces to be created.
2500 The value will be passed as the parameters of an
2501 .Dq Nm atm Cm "set netif" Ar intf
2503 .It Va atm_sigmgr_ Ns Aq Ar intf
2505 For the ATM physical interface
2507 this variable defines the ATM signalling manager to be used.
2508 The value will be passed as the parameters of an
2509 .Dq Nm atm Cm attach Ar intf
2511 .It Va atm_prefix_ Ns Aq Ar intf
2513 For the ATM physical interface
2515 this variable defines the NSAP prefix for interfaces using a UNI signalling
2519 the prefix will automatically be set via the
2522 Otherwise, the value will be passed as the parameters of an
2523 .Dq Nm atm Cm "set prefix" Ar intf
2525 .It Va atm_macaddr_ Ns Aq Ar intf
2527 For the ATM physical interface
2529 this variable defines the MAC address for interfaces using a UNI signalling
2533 the hardware MAC address contained in the ATM interface card will be used.
2534 Otherwise, the value will be passed as the parameters of an
2535 .Dq Nm atm Cm "set mac" Ar intf
2537 .It Va atm_arpserver_ Ns Aq Ar netif
2539 For the ATM network interface
2541 this variable defines the ATM address for a host which is to provide ATMARP
2543 This variable is only applicable to interfaces using a UNI signalling
2547 this host will become an ATMARP server.
2548 The value will be passed as the parameters of an
2549 .Dq Nm atm Cm "set arpserver" Ar netif
2551 .It Va atm_scsparp_ Ns Aq Ar netif
2555 SCSP/ATMARP service for the network interface
2557 will be initiated using the
2562 This variable is only applicable if
2563 .Va atm_arpserver_ Ns Aq Ar netif
2568 Set to the list of ATM PVCs to be added at system
2570 For each whitespace separated
2573 .Va atm_pvc_ Ns Aq Ar element
2574 variable is assumed to exist.
2575 The value of each of these variables
2576 will be passed as the parameters of an
2577 .Dq Nm atm Cm "add pvc"
2581 Set to the list of permanent ATM ARP entries to be added
2582 at system boot time.
2583 For each whitespace separated
2586 .Va atm_arp_ Ns Aq Ar element
2587 variable is assumed to exist.
2588 The value of each of these variables
2589 will be passed as the parameters of an
2590 .Dq Nm atm Cm "add arp"
2592 .It Va natm_interfaces
2596 interfaces that will also be used for HARP through
2598 If this list is not empty all interfaces in the list will be brought up
2604 For this to work the interface drivers must be either compiled into the
2605 kernel or must reside on the root partition.
2608 The keyboard bell sound.
2615 if the default behavior is desired.
2616 For details, refer to the
2621 If set to a non-null string, the virtual console's keyboard input is
2627 no keymap is installed, otherwise the value is used to install
2629 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
2632 The keyboard repeat speed.
2639 if the default behavior is desired.
2644 attempt to program the function keys with the value.
2646 be a single string of the form:
2647 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
2650 Can be set to the value of
2653 .Dq Li destructive ,
2656 to set the cursor behavior explicitly or choose the default behavior.
2661 no screen map is installed, otherwise the value is used to install
2662 the screen map file in
2663 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
2668 the default 8x16 font value is used for screen size requests, otherwise
2670 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2676 the default 8x14 font value is used for screen size requests, otherwise
2678 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2684 the default 8x8 font value is used for screen size requests, otherwise
2686 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2692 the default screen blanking interval is used, otherwise it is set
2700 this is the actual screen saver to use
2701 .Li ( blank , snake , daemon ,
2703 .It Va moused_nondefault_enable
2707 the mouse device specified on
2708 the command line is not automatically treated as enabled by the
2709 .Pa /etc/rc.d/moused
2711 Having this variable set to
2717 to be enabled as soon as it is plugged in.
2718 .It Va moused_enable
2724 daemon is started for doing cut/paste selection on the console.
2727 This is the protocol type of the mouse connected to this host.
2728 This variable must be set if
2735 is able to detect the appropriate mouse type automatically in many cases.
2736 Set this variable to
2738 to let the daemon detect it, or
2739 select one from the following list if the automatic detection fails.
2741 If the mouse is attached to the PS/2 mouse port, choose
2745 regardless of the brand and model of the mouse.
2747 mouse is attached to the bus mouse port, choose
2751 All other protocols are for serial mice and will not work with
2752 the PS/2 and bus mice.
2753 If this is a USB mouse,
2755 is the only protocol type which will work.
2757 .Bl -tag -width ".Li x10mouseremote" -compact
2759 Microsoft mouse (serial)
2761 Microsoft IntelliMouse (serial)
2763 Mouse systems Corp.\& mouse (serial)
2765 MM Series mouse (serial)
2767 Logitech mouse (serial)
2771 Logitech MouseMan and TrackMan (serial)
2773 ALPS GlidePoint (serial)
2774 .It Li thinkingmouse
2775 Kensington ThinkingMouse (serial)
2779 MM HitTablet (serial)
2780 .It Li x10mouseremote
2781 X10 MouseRemote (serial)
2783 Interlink VersaPad (serial)
2786 Even if the mouse is not in the above list, it may be compatible
2787 with one in the list.
2788 Refer to the manual page for
2790 for compatibility information.
2792 It should also be noted that while this is enabled, any
2793 other client of the mouse (such as an X server) should access
2794 the mouse through the virtual mouse device,
2796 and configure it as a
2798 type mouse, since all
2799 mouse data is converted to this single canonical format when
2802 If the client program does not support the
2808 It is the second preferred type.
2815 this is the actual port the mouse is on.
2818 for a COM1 serial mouse,
2822 for a bus mouse, for example.
2827 is set, its value is used as an additional set of flags to pass to the
2830 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
2832 .Va moused_nondefault_enable
2835 daemon is started for a non-default port, the
2836 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2837 set of options has precedence over and replaces the default
2838 .Va moused_flags (where
2840 is the name of the non-default port, i.e.\&
2843 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2844 it is possible to set up a different set of default flags for each
2847 For example, you can use
2851 to make your laptop's touchpad more comfortable to use,
2852 but an empty set of options for
2853 .Va moused_ums0_flags
2856 mouse has three or more buttons.
2857 .It Va mousechar_start
2861 the default mouse cursor character range
2862 .Li 0xd0 Ns - Ns Li 0xd3
2864 otherwise the range start is set
2869 Use if the default range is occupied in the language code table.
2870 .It Va allscreens_flags
2874 is run with these options for each of the virtual terminals
2878 will enable the mouse pointer on all virtual terminals
2883 .It Va allscreens_kbdflags
2887 is run with these options for each of the virtual terminals
2893 scrollback (history) buffer to 200 lines.
2900 daemon at system boot time.
2906 .Pa /usr/sbin/cron ) .
2913 these are the flags to pass to
2919 enable the special handling of transitions to and from the
2920 Daylight Saving Time in
2922 (equivalent to using the flag
2929 .Pa /usr/sbin/lpd ) .
2936 daemon at system boot time.
2943 these are the flags to pass to the
2946 .It Va chkprintcap_enable
2952 command before starting the
2955 .It Va chkprintcap_flags
2960 .Va chkprintcap_enable
2963 these are the flags to pass to the
2968 which causes missing directories to be created.
2969 .It Va mta_start_script
2971 This variable specifies the full path to the script to run to start
2972 a mail transfer agent.
2974 .Pa /etc/rc.sendmail .
2978 .Pa /etc/rc.sendmail
2979 uses are documented in the
2984 Indicates the device (usually a swap partition) to which a crash dump
2985 should be written in the event of a system crash.
2986 If the value of this variable is
2988 the first suitable swap device listed in
2990 will be used as dump device.
2991 Otherwise, the value of this variable is passed as the argument to
2993 To disable crash dumps, set this variable to
2997 When the system reboots after a crash and a crash dump is found on the
2998 device specified by the
3002 will save that crash dump and a copy of the kernel to the directory
3006 The default value is
3015 .It Va savecore_flags
3017 If crash dumps are enabled, these are the flags to pass to the
3024 to turn on user and group disk quotas on system startup via the
3026 command for all file systems marked as having quotas enabled in
3028 The kernel must be built with
3030 for disk quotas to function.
3035 to enable user and group disk quota checking via the
3038 .It Va quotacheck_flags
3048 these are the flags to pass to the
3053 which checks quotas for all file systems with quotas enabled in
3055 .It Va quotaon_flags
3061 these are the flags to pass to the
3066 which enables quotas for all file systems with quotas enabled in
3068 .It Va quotaoff_flags
3074 these are the flags to pass to the
3076 utility when shutting down the quota system.
3079 which disables quotas for all file systems with quotas enabled in
3081 .It Va accounting_enable
3085 to enable system accounting through the
3092 to enable iBCS2 (SCO) binary emulation at system initial boot
3094 .It Va ibcs2_loaders
3102 this specifies a list of additional iBCS2 loaders to enable.
3107 to enable Linux/ELF binary emulation at system initial
3113 enable SysVR4 emulation at boot time.
3114 .It Va sysvipc_enable
3118 load System V IPC primitives at boot time.
3119 .It Va kernel_symlink_enable
3125 to the directory that contains the kernel you booted from,
3128 already exists and is not a symbolic link.
3129 .It Va clear_tmp_enable
3140 to disable removing of X11 lock files,
3141 and the removal and (secure) recreation
3142 of the various socket directories for X11
3144 .It Va ldconfig_paths
3146 Set to the list of shared library paths to use with
3150 will always be added first, so it need not appear in this list.
3151 .It Va ldconfig32_paths
3153 Set to the list of 32-bit compatibility shared library paths to
3156 .It Va ldconfig_paths_aout
3158 Set to the list of shared library paths to use with
3163 .It Va ldconfig_insecure
3167 utility normally refuses to use directories
3168 which are writable by anyone except root.
3169 Set this variable to
3171 to disable that security check during system startup.
3172 .It Va ldconfig_local_dirs
3174 Set to the list of local
3177 The names of all files in the directories listed will be
3178 passed as arguments to
3180 .It Va ldconfig_local32_dirs
3182 Set to the list of local 32-bit compatibility
3185 The names of all files in the directories listed will be
3186 passed as arguments to
3187 .Dq Nm ldconfig Fl 32 .
3188 .It Va kern_securelevel_enable
3192 to set the kernel security level at system startup.
3193 .It Va kern_securelevel
3195 The kernel security level to set at startup.
3196 The allowed range of
3198 ranges from \-1 (the compile time default) to 3 (the
3202 for the list of possible security levels and their effect
3203 on system operation.
3206 Path to the SSH server program
3207 .Pa ( /usr/sbin/sshd
3215 at system boot time.
3222 these are the flags to pass to the
3227 Path to the FTP server program
3228 .Pa ( /usr/libexec/ftpd
3236 as a stand-alone daemon at system boot time.
3243 these are the additional flags to pass to the
3246 .It Va watchdogd_enable
3252 daemon at boot time.
3253 This requires that the kernel have been compiled with a
3256 .It Va watchdogd_flags
3259 .Va watchdogd_enable
3262 these are the flags passed to the
3265 .It Va performance_cx_lowest
3267 CPU idle state to use while on AC power.
3272 should use the lowest power state available while
3274 indicates that the lowest latency state (less power savings) should be used.
3275 .It Va performance_cpu_freq
3277 CPU clock frequency to use while on AC power.
3282 should use the lowest frequency available while
3284 indicates that the highest frequency (less power savings) should be used.
3285 .It Va economy_cx_lowest
3287 CPU idle state to use when off AC power.
3292 should use the lowest power state available while
3294 indicates that the lowest latency state (less power savings) should be used.
3295 .It Va economy_cpu_freq
3297 CPU clock frequency to use when off AC power.
3302 should use the lowest frequency available while
3304 indicates that the highest frequency (less power savings) should be used.
3309 any configured jails will not be started.
3312 A space separated list of names for jails.
3313 This is purely a configuration aid to help identify and
3314 configure multiple jails.
3315 The names specified in this list will be used to
3316 identify settings common to an instance of a jail.
3317 Assuming that the jail in question was named
3319 you would have the following dependent variables:
3321 jail_vjail_hostname="jail.example.com"
3322 jail_vjail_ip="192.168.1.100"
3323 jail_vjail_rootdir="/var/jails/vjail/root"
3329 When set, use as default value for
3330 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3333 .It Va jail_interface
3336 When set, use as default value for
3337 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3343 When set, use as default value for
3344 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3347 .It Va jail_mount_enable
3355 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3358 by default for every jail in
3360 .It Va jail_devfs_ruleset
3364 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3365 to given value for every jail in
3367 .It Va jail_devfs_enable
3375 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3378 by default for every jail in
3380 .It Va jail_fdescfs_enable
3388 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3391 by default for every jail in
3393 .It Va jail_procfs_enable
3401 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3404 by default for every jail in
3406 .It Va jail_exec_start
3409 When set, use as default value for
3410 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3413 .It Va jail_exec_afterstart Ns Aq Ar N
3416 When set, use as default value for
3417 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3420 .It Va jail_exec_stop
3422 When set, use as default value for
3423 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3426 .It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3429 Set to the root directory used by jail
3431 .It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3434 Set to the fully qualified domain name (FQDN) assigned to jail
3436 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3439 Set to the IP address assigned to jail
3441 .It Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3446 These are flags to pass to
3448 .It Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3451 When set, sets the interface to use when setting IP address alias.
3452 Note that the alias is created at jail startup and removed at jail shutdown.
3453 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3456 .Pa /etc/fstab. Ns Aq Ar jname
3458 This is the file system information file to use for jail
3460 .It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3467 mount all file systems from
3468 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3470 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3473 When set, defines the device file system ruleset file to use for jail
3475 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3482 mount the device file system inside jail
3485 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3492 mount the file-descriptor file system inside jail
3495 .It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable
3502 mount the process file system inside jail
3505 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3508 .Dq Li /bin/sh /etc/rc
3510 This is the command executed at jail startup.
3511 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3514 This is the command run as
3517 after jail startup, where
3520 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3523 .Dq Li /bin/sh /etc/rc.shutdown
3525 This is the command executed at jail shutdown.
3526 .It Va jail_set_hostname_allow
3530 do not allow the root user in a jail to set its hostname.
3531 .It Va jail_socket_unixiproute_only
3535 do not allow any sockets,
3536 besides UNIX/IP/route sockets,
3537 to be used within a jail.
3538 .It Va jail_sysvipc_allow
3542 allow applications within a jail to use System V IPC.
3543 .\" -----------------------------------------------------
3544 .It Va harvest_interrupt
3548 to use hardware interrupts as an entropy source.
3551 for more information.
3552 .It Va harvest_ethernet
3556 to use LAN traffic as an entropy source.
3559 for more information.
3560 .It Va harvest_p_to_p
3564 to use serial line traffic as an entropy source.
3567 for more information.
3572 to disable caching entropy via
3574 Otherwise set to the directory used to store entropy files in.
3579 to disable caching entropy through reboots.
3580 Otherwise set to the filename used to store cached entropy through
3582 This file should be located on the root file system to seed the
3584 device as early as possible in the boot process.
3585 .It Va entropy_save_sz
3587 Size of the entropy cache files saved by
3590 .It Va entropy_save_num
3592 Number of entropy cache files to save by
3606 Configuration file for
3615 .Pa /var/run/dmesg.boot
3617 .It Va rcshutdown_timeout
3619 If set, start a watchdog timer in the background which will terminate
3623 has not completed within the specified time (in seconds).
3624 Notice that in addition to this soft timeout,
3626 also applies a hard timeout for the execution of
3628 This is configured via
3631 .Va kern.init_shutdown_timeout
3632 and defaults to 120 seconds.
3633 Setting the value of
3634 .Va rcshutdown_timeout
3635 to more than 120 seconds will have no effect until the
3638 .Va kern.init_shutdown_timeout
3640 .It Va virecover_enable
3644 to prevent the system from trying to
3645 recover pre-maturely terminated
3648 .It Va ugidfw_enable
3653 .Xr mac_bsdextended 4
3654 module upon system initialization and load a default
3656 .It Va bsdextended_script
3659 .Xr mac_bsdextended 4
3660 ruleset file to load.
3661 The default value of this variable is
3662 .Pa /etc/rc.bsdextended .
3663 .It Va newsyslog_enable
3670 .It Va newsyslog_flags
3673 .Va newsyslog_enable
3676 these are the flags to pass to the
3681 which causes log files flagged with a
3684 .It Va mdconfig_md Ns Aq Ar X
3694 must be specified and either a
3696 for malloc or swap backed
3704 .Va mdconfig_md Ns Aq Ar X
3705 variables are evaluated until one variable is unset or null.
3706 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
3708 Optional arguments passed to
3714 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
3716 An ownership specification passed to
3725 device and the mount point will be changed.
3726 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
3728 A mode string passed to
3737 device and the mount point will be changed.
3738 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
3740 Files to be copied to the mount point of the
3744 after it has been mounted.
3745 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
3747 Command to execute after the specified
3752 Note that the command is passed to
3758 variables can be used to reference respectively the
3760 device and the mount point.
3765 one could set the following:
3767 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
3769 .It Va ramdisk_units
3771 A list of one or more ramdisk units to configure with
3775 in time to be mounted from
3779 must specify at least a
3782 .Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3784 Note that this way to configure ramdisks has been deprecated
3787 variables (see above).
3788 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3796 must be specified, where
3802 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs
3804 Optional arguments passed to
3806 to initialize ramdisk
3808 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner
3810 An ownership specification passed to
3812 after the specified ramdisk unit
3817 device and the mount point will be changed.
3818 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms
3820 A mode string passed to
3822 after the specified ramdisk unit
3827 device and the mount point will be changed.
3828 .It Va autobridge_interfaces
3830 Set to the list of bridge interfaces that will have newly arriving interfaces
3831 checked against to be automatically added.
3834 then for each whitespace separated
3837 .Va autobridge_ Ns Aq Ar element
3838 variable is assumed to exist which has a whitespace separated list of interface
3839 names to match, these names can use wildcards.
3842 autobridge_interfaces="bridge0"
3843 autobridge_bridge0="tap* dc0 vlan[345]"
3849 enable support for sound mixer.
3850 .It Va hcsecd_enable
3854 enable Bluetooth security daemon.
3855 .It Va hcsecd_config
3857 Configuration file for
3860 .Pa /etc/bluetooth/hcsecd.conf .
3865 enable Bluetooth Service Discovery Protocol daemon.
3873 .It Va sdpd_groupname
3877 group to run as after it initializes.
3880 .It Va sdpd_username
3884 user to run as after it initializes.
3887 .It Va bthidd_enable
3891 enable Bluetooth Human Interface Device daemon.
3892 .It Va bthidd_config
3894 Configuration file for
3897 .Pa /etc/bluetooth/bthidd.conf .
3900 Path to a file, where
3902 will store information about known HID devices.
3904 .Pa /var/db/bthidd.hids .
3905 .It Va rfcomm_pppd_server_enable
3909 enable Bluetooth RFCOMM PPP wrapper daemon.
3910 .It Va rfcomm_pppd_server_profile
3912 The name of the profile to use from
3913 .Pa /etc/ppp/ppp.conf .
3914 Multiple profiles can be specified here.
3915 Also used to specify per-profile overrides.
3916 When the profile name contains any of the characters
3918 they are translated to
3920 for the proposes of the override variable names.
3921 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _bdaddr
3923 Overrides local address to listen on.
3929 The address can be specified as BD_ADDR or name.
3930 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _channel
3932 Overrides local RFCOMM channel to listen on.
3935 will listen on RFCOMM channel 1.
3936 Must set properly if multiple profiles used in the same time.
3937 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_sp
3941 if it should register Serial Port service on the speficied RFCOMM channel.
3944 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_dun
3948 if it should register Dial-Up Networking service on the speficied
3954 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
3955 .It Pa /etc/defaults/rc.conf
3957 .It Pa /etc/rc.conf.local
3986 .Xr newsyslog.conf 5 ,
4051 .An Jordan K. Hubbard .