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.
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
113 mountcritlocal for the typical system,
114 and mountcritremote if the system needs remote file
115 systems mounted to get access to the
117 directories; for example when
124 NETWORKING is likely to be an appropriate value.
125 Extreme care should be taken when changing this value,
126 and before changing it one should ensure that there are
127 adequate provisions to recover from a failed boot
128 (such as physical contact with the machine,
129 or reliable remote console access).
134 no swapfile is installed, otherwise the value is used as the full
135 pathname to a file to use for additional swap space.
140 enable support for Automatic Power Management with
148 to handle APM event from userland.
149 This also enables support for APM.
156 these are the flags to pass to the
163 to handle device added, removed or unknown events from the kernel.
164 .It Va kldxref_enable
171 to automatically rebuild
176 .It Va kldxref_clobber
186 will overwrite existing
193 .It Va kldxref_module_path
198 delimited list of paths containing
210 enable PCCARD support at boot time.
213 Set to PCCARD controller memory address or
215 for the default value.
219 set the PCCARD controller to silent mode.
223 set it to melody mode.
226 Path to the configuration file for the
229 .Pa /etc/pccard.conf.sample ) .
236 these are the flags to pass to the
243 enable the system power control facility with the
252 these are the flags to pass to the
256 Controls the creation of a
259 Always happens if set to
261 and never happens if set to
263 If set to anything else, a memory file system is created if
267 Controls the size of a created
271 Extra options passed to the
273 utility when the memory file system for
278 which inhibits the use of softupdates on
280 so that file system space is freed without delay
281 after file truncation or deletion.
284 for other options you can use in
287 Controls the creation of a
290 Always happens if set to
292 and never happens if set to
294 If set to anything else, a memory file system is created if
298 Controls the size of a created
302 Extra options passed to the
304 utility when the memory file system for
309 which inhibits the use of softupdates on
311 so that file system space is freed without delay
312 after file truncation or deletion.
315 for other options you can use in
318 Controls the automatic population of the
321 Always happens if set to
323 and never happens if set to
325 If set to anything else, a memory file system is created if
328 Note that this process requires access to certain commands in
332 is mounted on normal systems.
333 .It Va cleanvar_enable
340 List of directories to search for startup script files.
341 .It Va script_name_sep
343 The field separator to use for breaking down the list of startup script files
344 into individual filenames.
345 The default is a space.
346 It is not necessary to change this unless there are startup scripts with names
348 .It Va hostapd_enable
357 The fully qualified domain name (FQDN) of this host on the network.
358 This should almost certainly be set to something meaningful, even if
359 there is no network connection.
362 is used to set the hostname via DHCP,
363 this variable should be set to an empty string.
366 Enable support for IPv6 networking.
367 Note that this requires that the kernel has been compiled with
368 .Cd "options INET6" .
371 The NIS domain name of this host, or
374 .It Va dhclient_program
376 Path to the DHCP client program
377 .Pa ( /sbin/dhclient ,
382 .It Va dhclient_flags
384 Additional flags to pass to the DHCP client program.
389 manpage for a description of the command line options available.
390 .It Va dhclient_flags_ Ns Aq Ar iface
391 Additional flags to pass to the DHCP client program running on
394 When specified, this variable overrides
396 .It Va background_dhclient
400 to start the DHCP client in background.
401 This can cause trouble with applications depending on
402 a working network, but it will provide a faster startup
404 .It Va background_dhclient_ Ns Aq Ar iface
405 When specified, this variable overrides the
406 .Va background_dhclient
407 variable for interface
410 .It Va synchronous_dhclient
416 only in response to interface events and not synchronously at startup.
417 This behavior can be overridden on a per-interface basis by replacing
421 .Va ifconfig_ Ns Aq Ar interface
426 .It Va firewall_enable
430 to load firewall rules at startup.
431 If the kernel was not built with
432 .Cd "options IPFIREWALL" ,
435 kernel module will be loaded.
437 .Va ipfilter_enable .
438 .It Va ipv6_firewall_enable
440 The IPv6 equivalent of
441 .Va firewall_enable .
444 to load IPv6 firewall rules at startup.
445 If the kernel was not built with
446 .Cd "options IPV6FIREWALL" ,
449 kernel module will be loaded.
450 .It Va firewall_script
452 This variable specifies the full path to the firewall script to run.
454 .Pa /etc/rc.firewall .
455 .It Va ipv6_firewall_script
457 The IPv6 equivalent of
458 .Va firewall_script .
461 Names the firewall type from the selection in
462 .Pa /etc/rc.firewall ,
463 or the file which contains the local firewall ruleset.
464 Valid selections from
468 .Bl -tag -width ".Li simple" -compact
470 unrestricted IP access
472 all IP services disabled, except via
475 basic protection for a workstation
477 basic protection for a LAN.
480 If a filename is specified, the full path
482 .It Va ipv6_firewall_type
484 The IPv6 equivalent of
486 .It Va firewall_quiet
490 to disable the display of firewall rules on the console during boot.
491 .It Va ipv6_firewall_quiet
493 The IPv6 equivalent of
495 .It Va firewall_logging
499 to enable firewall event logging.
500 This is equivalent to the
501 .Dv IPFIREWALL_VERBOSE
503 .It Va ipv6_firewall_logging
505 The IPv6 equivalent of
506 .Va firewall_logging .
507 .It Va firewall_flags
513 specifies a filename.
514 .It Va ipv6_firewall_flags
516 The IPv6 equivalent of
518 .It Va dummynet_enable
522 will automatically load the
543 sockets must be enabled in the kernel.
544 If the kernel was not built with
545 .Cd "options IPDIVERT" ,
548 kernel module will be loaded.
549 .It Va natd_interface
551 This is the name of the public interface on which
554 The interface may be given as an interface name or as an IP address.
559 flags should be placed here.
564 flag is automatically added with the above
567 .\" ----- ipfilter_enable setting --------------------------------
568 .It Va ipfilter_enable
579 Typical usage will require putting
581 ipfilter_enable="YES"
599 can be enabled independently.
603 both require at least one of
613 options IPFILTER_DEFAULT_BLOCK
616 in the kernel configuration file is a good idea, too.
617 .\" ----- ipfilter_program setting ------------------------------
618 .It Va ipfilter_program
624 .\" ----- ipfilter_rules setting --------------------------------
625 .It Va ipfilter_rules
630 This variable contains the name of the filter rule definition file.
631 The file is expected to be readable for the
634 .\" ----- ipv6_ipfilter_rules setting ---------------------------
635 .It Va ipv6_ipfilter_rules
640 This variable contains the IPv6 filter rule definition file.
641 The file is expected to be readable for the
644 .\" ----- ipfilter_flags setting --------------------------------
645 .It Va ipfilter_flags
648 This variable contains flags passed to the
651 .\" ----- ipnat_enable setting ----------------------------------
661 network address translation.
664 for a detailed discussion.
665 .\" ----- ipnat_program setting ---------------------------------
672 .\" ----- ipnat_rules setting -----------------------------------
678 This variable contains the name of the file
679 holding the network address translation definition.
680 This file is expected to be readable for the
683 .\" ----- ipnat_flags setting -----------------------------------
687 This variable contains flags passed to the
690 .\" ----- ipmon_enable setting ----------------------------------
705 Setting this variable needs setting
712 for a detailed discussion.
713 .\" ----- ipmon_program setting ---------------------------------
720 .\" ----- ipmon_flags setting -----------------------------------
726 This variable contains flags passed to the
729 Another typical example would be
730 .Dq Fl D Pa /var/log/ipflog
733 log directly to a file bypassing
736 .Pa /etc/newsyslog.conf
737 in such case like this:
739 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
741 .\" ----- ipfs_enable setting -----------------------------------
751 saving the filter and NAT state tables during shutdown
752 and reloading them during startup again.
753 Setting this variable needs setting
762 for a detailed discussion.
768 because the raised securelevel will prevent
770 from saving the state tables at shutdown time.
771 .\" ----- ipfs_program setting ----------------------------------
778 .\" ----- ipfs_flags setting ------------------------------------
782 This variable contains flags passed to the
785 .\" ----- end of added ipf hook ---------------------------------
797 Typical usage will require putting
812 Otherwise it is loaded from a module.
817 ruleset configuration file
832 these flags are passed to the
834 program when loading the ruleset.
844 which logs packets from the
857 .Pa /var/log/pflog ) .
859 .Pa /etc/newsyslog.conf
860 to adjust logfile rotation for this.
870 This variable contains additional flags passed to the
882 state changes to other hosts over the network by means of
887 must also be set then.
888 .It Va pfsync_syncdev
891 This variable specifies the name of the network interface
893 should operate through.
894 It must be set accordingly if
898 .It Va pfsync_syncpeer
901 This variable is optional.
902 By default, state change messages are sent out on the synchronisation
903 interface using IP multicast packets.
904 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
906 When a peer address is specified using the
908 option, the peer address is used as a destination for the pfsync
909 traffic, and the traffic can then be protected using
913 manpage for more details about using
918 .It Va pfsync_ifconfig
921 This variable can contain additional options to be passed to the
923 command used to set up
925 .It Va tcp_extensions
932 disables certain TCP options as described by
938 might help remedy such problems with connections as randomly hanging
939 or other weird behavior.
940 Some network devices are known
941 to be broken with respect to these options.
948 .Va net.inet.tcp.log_in_vain
950 .Va net.inet.udp.log_in_vain ,
955 are set to the given value.
963 will disable probing idle TCP connections to verify that the
964 peer is still up and reachable.
965 .It Va tcp_drop_synfin
972 will cause the kernel to ignore TCP frames that have both
973 the SYN and FIN flags set.
974 This prevents OS fingerprinting, but may
975 break some legitimate applications.
976 This option is only available if the
977 kernel was built with the
980 .It Va icmp_drop_redirect
987 will cause the kernel to ignore ICMP REDIRECT packets.
990 for more information.
991 .It Va icmp_log_redirect
998 will cause the kernel to log ICMP REDIRECT packets.
1000 the log messages are not rate-limited, so this option should only be used
1001 for troubleshooting networks.
1004 for more information.
1005 .It Va icmp_bmcastecho
1009 to respond to broadcast or multicast ICMP ping packets.
1012 for more information.
1013 .It Va ip_portrange_first
1017 this is the first port in the default portrange.
1020 for more information.
1021 .It Va ip_portrange_last
1025 this is the last port in the default portrange.
1028 for more information.
1029 .It Va network_interfaces
1031 Set to the list of network interfaces to configure on this host or
1033 (the default) for all current interfaces.
1035 .Va network_interfaces
1036 variable to anything other than the default is deprecated.
1037 Interfaces that the administrator wishes to store configration for,
1038 but not start at boot should be configured with the
1041 .Va ifconfig_ Ns Aq Ar interface
1042 variables as described below.
1045 .Va ifconfig_ Ns Aq Ar interface
1046 variable is also assumed to exist for each value of
1048 When an interface name contains any of the characters
1050 they are translated to
1053 The variable can contain arguments to
1055 as well as special case-insensitive keywords described below.
1056 Such keywords are removed before passing the value to
1058 while the order of the other arguments is preserved.
1060 One can configure more than one IPv4 address with the
1061 .Va ipv4_addrs_ Ns Aq Ar interface
1063 One or more IP addresses must be provided in Classless Inter-Domain
1064 Routing (CIDR) address notation, whose last byte can be a range like
1066 In this case the address 192.168.0.5 will be configured with the
1067 netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with
1068 the non-conflicting netmask /32 as explained in the
1071 With the interface in question being
1073 an example could look like:
1075 ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"
1078 It is also possible to add IP alias entries using
1081 Assuming that the interface in question was
1084 something like this:
1086 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1087 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1092 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1093 entry that is found,
1094 its contents are passed to
1096 Execution stops at the first unsuccessful access, so if
1097 something like this is present:
1099 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1100 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1101 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1102 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1105 Then note that alias4 would
1107 be added since the search would
1108 stop with the missing
1111 Due to this difficult to manage behavior, the
1112 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1116 .Pa /etc/start_if. Ns Aq Ar interface
1117 file is present, it is read and executed by the
1120 before configuring the interface as specified in the
1121 .Va ifconfig_ Ns Aq Ar interface
1123 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1127 .Va ifconfig_ Ns Aq Ar interface
1128 contains the keyword
1130 then the interface will not be configured
1132 .Pa /etc/pccard_ether
1134 .Va network_interfaces
1138 It is possible to bring up an interface with DHCP by adding
1141 .Va ifconfig_ Ns Aq Ar interface
1143 For instance, to initialize the
1146 it is possible to use something like:
1151 Also, if your interface needs WPA authentication, it is possible to add
1154 .Va ifconfig_ Ns Aq Ar interface
1157 Finally, you can add
1159 options in this variable, in addition to the
1160 .Pa /etc/start_if. Ns Aq Ar interface
1162 For instance, to initialize the
1164 device via DHCP, using WPA authentication and 802.11b mode, it is
1165 possible to use something like:
1167 ifconfig_wi0="DHCP WPA mode 11b"
1171 .Va ifconfig_ Ns Aq Ar interface
1172 form, a fallback variable
1173 .Va ifconfig_DEFAULT
1175 It will be used for all interfaces with no
1176 .Va ifconfig_ Ns Aq Ar interface
1178 This is intended to replace the no longer supported
1182 It is also possible to rename interface by doing:
1184 ifconfig_ed0_name="net0"
1185 ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
1187 .It Va ipv6_network_interfaces
1189 This is the IPv6 equivalent of
1190 .Va network_interfaces .
1191 Instead of setting the ifconfig variables as
1192 .Va ifconfig_ Ns Aq Ar interface
1193 they should be set as
1194 .Va ipv6_ifconfig_ Ns Aq Ar interface .
1195 Aliases should be set as
1196 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
1197 .Va ipv6_prefix_ Ns Aq Ar interface
1199 Interfaces that do not have a
1200 .Va ipv6_ifconfig_ Ns Aq Ar interface
1201 setting will be auto configured by
1204 .Va ipv6_gateway_enable
1207 Note that the IPv6 networking code does not support the
1208 .Pa /etc/start_if. Ns Aq Ar interface
1210 .It Va ipv6_default_interface
1214 this is the default output interface for scoped addresses.
1215 Now this works only for IPv6 link local multicast addresses.
1216 .It Va cloned_interfaces
1218 Set to the list of clonable network interfaces to create on this host.
1220 .Va cloned_interfaces
1221 are automatically appended to
1222 .Va network_interfaces
1224 .It Va gif_interfaces
1228 tunnel interfaces to configure on this host.
1230 .Va gifconfig_ Ns Aq Ar interface
1231 variable is assumed to exist for each value of
1233 The value of this variable is used to configure the link layer of the
1234 tunnel according to the syntax of the
1238 Additionally, this option ensures that each listed interface is created
1243 before attempting to configure it.
1244 .It Va sppp_interfaces
1248 interfaces to configure on this host.
1250 .Va spppconfig_ Ns Aq Ar interface
1251 variable is assumed to exist for each value of
1253 Each interface should also be configured by a general
1254 .Va ifconfig_ Ns Aq Ar interface
1258 for more information about available options.
1268 The name of the profile to use from
1269 .Pa /etc/ppp/ppp.conf .
1270 Also used for per-profile overrides of
1275 .Va ppp_ Ns Ao Ar profile Ac Ns _unit .
1276 When the profile name contains any of the characters
1278 they are translated to
1280 for the proposes of the override variable names.
1283 Mode in which to run the
1286 .It Va ppp_ Ns Ao Ar profile Ac Ns _mode
1288 Overrides the global
1298 See the manual for a full description.
1303 enables network address translation.
1304 Used in conjunction with
1306 allows hosts on private network addresses access to the Internet using
1307 this host as a network address translating router.
1308 .It Va ppp_ Ns Ao Ar profile Ac Ns _nat
1310 Overrides the global
1314 .It Va ppp_ Ns Ao Ar profile Ac Ns _unit
1316 Set the unit number to be used for this profile.
1317 See the manual description of
1322 The name of the user under which
1330 .It Va rc_conf_files
1332 This option is used to specify a list of files that will override
1334 .Pa /etc/defaults/rc.conf .
1335 The files will be read in the order in which they are specified and should
1336 include the full path to the file.
1337 By default, the files specified are
1340 .Pa /etc/rc.conf.local
1341 .It Va gbde_autoattach_all
1346 will attempt to automatically initialize your .bde devices in
1350 List the devices that the script should try to attach,
1355 The directory where the
1357 lockfiles are located.
1358 The default lockfile directory is
1361 The lockfile for each individual
1363 device can be overridden by setting the variable
1364 .Va gbde_lock_ Ns Aq Ar device ,
1367 is the encrypted device without the
1372 .It Va gbde_attach_attempts
1374 Number of times to attempt attaching to a
1376 device, i.e., how many times the user is asked for the pass-phrase.
1380 List of devices to automatically attach on boot.
1381 Note that .eli devices from
1383 are automatically appended to this list.
1386 Number of times user is asked for the pass-phrase.
1387 If empty, it will be taken from
1388 .Va kern.geom.eli.tries
1390 .It Va geli_default_flags
1392 Default flags to use by
1394 when configuring disk encryption.
1395 Flags can be configured for every device separately by defining
1396 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1398 .It Va geli_autodetach
1400 Specifies if GELI devices should be marked for detach on last close after
1401 file systems are mounted.
1404 This can be changed for every device separately by defining
1405 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1407 .It Va geli_swap_flags
1408 Options passed to the
1410 utility when encrypted GEOM providers for swap partitions are created.
1412 .Dq Li "-a aes -l 256 -s 4096 -d" .
1413 .It Va root_rw_mount
1418 After the file systems are checked at boot time, the root file system
1419 is remounted as read-write if this is set to
1421 Diskless systems that mount their root file system from a read-only remote
1422 NFS share should set this to
1426 .It Va fsck_y_enable
1431 will be run with the
1433 flag if the initial preen
1434 of the file systems fails.
1435 .It Va background_fsck
1439 the system will attempt to run
1441 in the background where possible.
1442 .It Va background_fsck_delay
1444 The amount of time in seconds to sleep before starting a background
1446 It defaults to sixty seconds to allow large applications such as
1447 the X server to start before disk I/O bandwidth is monopolized by
1451 List of file system types that are network-based.
1452 This list should generally not be modified by end users.
1454 .Va extra_netfs_types
1456 .It Va extra_netfs_types
1458 If set to something other than
1461 this variable extends the list of file system types
1462 for which automatic mounting at startup by
1464 should be delayed until the network is initialized.
1466 a whitespace-separated list of network file system descriptor pairs,
1467 each consisting of a file system type as passed to
1469 and a human-readable, one-word description,
1472 Extending the default list in this way is only necessary
1473 when third party file system types are used.
1474 .It Va syslogd_enable
1481 .It Va syslogd_program
1486 .Pa /usr/sbin/syslogd ) .
1487 .It Va syslogd_flags
1493 these are the flags to pass to
1502 .It Va inetd_program
1507 .Pa /usr/sbin/inetd ) .
1514 these are the flags to pass to
1523 .It Va named_program
1528 .Pa /usr/sbin/named ) .
1535 these are the flags to pass to
1537 .It Va named_pidfile
1539 This is the default path to the
1542 This must match the location in
1546 The user that the named process should be run as.
1547 .It Va named_chrootdir
1549 The root directory for a name server run in a
1551 environment (default
1555 will not be run in a
1558 .It Va named_chroot_autoupdate
1562 to disable automatic update of the
1565 .It Va named_symlink_enable
1569 to disable symlinking of
1574 .It Va kerberos5_server_enable
1578 to start a Kerberos 5 authentication server
1580 .It Va kerberos5_server
1583 .Va kerberos5_server_enable
1586 this is the path to Kerberos 5 Authentication Server.
1587 .It Va kerberos5_server_flags
1590 This variable contains additional flags to be passed to the Kerberos 5
1591 authentication server.
1592 .It Va kadmind5_server_enable
1598 the Kerberos 5 Administration Daemon; set to
1601 .It Va kadmind5_server
1604 .Va kadmind5_server_enable
1607 this is the path to Kerberos 5 Administration Daemon.
1608 .It Va kpasswdd_server_enable
1614 the Kerberos 5 Password-Changing Daemon; set to
1617 .It Va kpasswdd_server
1620 .Va kpasswdd_server_enable
1623 this is the path to Kerberos 5 Password-Changing Daemon.
1630 daemon at boot time.
1637 these are the flags to pass to it.
1644 daemon at boot time.
1651 these are the flags to pass to it.
1654 manpage for more information.
1655 .It Va amd_map_program
1658 the specified program is run to get the list of
1663 maps are stored in NIS, one can set this to
1676 will be updated at boot time to reflect the kernel release
1681 will not be updated.
1682 .It Va nfs_client_enable
1686 run the NFS client daemons at boot time.
1687 .It Va nfs_access_cache
1690 .Va nfs_client_enable
1695 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1697 results should be cached.
1698 A value of 2-10 seconds will substantially reduce network
1699 traffic for many NFS operations.
1700 .It Va nfs_server_enable
1704 run the NFS server daemons at boot time.
1705 .It Va nfs_server_flags
1708 .Va nfs_server_enable
1711 these are the flags to pass to the
1714 .It Va mountd_enable
1719 .Va nfs_server_enable
1725 It is commonly needed to run CFS without real NFS used.
1732 these are the flags to pass to the
1735 .It Va weak_mountd_authentication
1739 allow services like PCNFSD to make non-privileged mount
1741 .It Va nfs_reserved_port_only
1745 provide NFS services only on a secure port.
1746 .It Va nfs_bufpackets
1748 If set to a number, indicates the number of packets worth of
1749 socket buffer space to reserve on an NFS client.
1750 The kernel default is typically 4.
1751 Using a higher number may be
1752 useful on gigabit networks to improve performance.
1753 The minimum value is
1754 2 and the maximum is 64.
1755 .It Va rpc_lockd_enable
1759 and also an NFS server or client, run
1762 .It Va rpc_lockd_flags
1765 .Va rpc_lockd_enable
1768 these are the flags to pass to the
1771 .It Va rpc_statd_enable
1775 and also an NFS server or client, run
1778 .It Va rpc_statd_flags
1781 .Va rpc_statd_enable
1784 these are the flags to pass to the
1787 .It Va rpcbind_program
1792 .Pa /usr/sbin/rpcbind ) .
1793 .It Va rpcbind_enable
1799 service at boot time.
1800 .It Va rpcbind_flags
1806 these are the flags to pass to the
1809 .It Va keyserv_enable
1815 daemon on boot for running Secure RPC.
1816 .It Va keyserv_flags
1822 these are the flags to pass to
1825 .It Va pppoed_enable
1831 daemon at boot time to provide PPP over Ethernet services.
1832 .It Va pppoed_ Ns Ar provider
1835 listens to requests to this
1841 argument of the same name.
1844 Additional flags to pass to
1846 .It Va pppoed_interface
1848 The network interface to run
1851 This is mandatory when
1861 service at boot time.
1862 This command is intended for networks of
1863 machines where a consistent
1865 for all hosts must be established.
1866 This is often useful in large NFS
1867 environments where time stamps on files are expected to be consistent
1875 these are the flags to pass to the
1878 .It Va ntpdate_enable
1885 This command is intended to
1886 synchronize the system clock only
1888 from some standard reference.
1889 An option to set this up initially
1890 (from a list of known servers) is also provided by the
1892 program when the system is first installed.
1893 .It Va ntpdate_config
1894 Configuration file for
1898 .Pa /etc/ntp.conf ).
1899 .It Va ntpdate_hosts
1901 A whitespace-separated list of NTP servers to synchronize with at startup.
1902 The default is to use the servers listed in
1903 .Va ntpdate_config ,
1904 if that file exists.
1905 .It Va ntpdate_program
1910 .Pa /usr/sbin/ntpdate ) .
1911 .It Va ntpdate_flags
1917 these are the flags to pass to the
1919 command (typically a hostname).
1926 command at boot time.
1932 .Pa /usr/sbin/ntpd ) .
1939 .Pa /etc/ntp.conf ) .
1946 these are the flags to pass to the
1949 .It Va ntpd_sync_on_start
1956 flag, which syncs the system's clock on startup.
1959 for more information regarding the
1962 This is a preferred alternative to using
1967 .It Va nis_client_enable
1973 service at system boot time.
1974 .It Va nis_client_flags
1977 .Va nis_client_enable
1980 these are the flags to pass to the
1983 .It Va nis_ypset_enable
1989 daemon at system boot time.
1990 .It Va nis_ypset_flags
1993 .Va nis_ypset_enable
1996 these are the flags to pass to the
1999 .It Va nis_server_enable
2005 daemon at system boot time.
2006 .It Va nis_server_flags
2009 .Va nis_server_enable
2012 these are the flags to pass to the
2015 .It Va nis_ypxfrd_enable
2021 daemon at system boot time.
2022 .It Va nis_ypxfrd_flags
2025 .Va nis_ypxfrd_enable
2028 these are the flags to pass to the
2031 .It Va nis_yppasswdd_enable
2037 daemon at system boot time.
2038 .It Va nis_yppasswdd_flags
2041 .Va nis_yppasswdd_enable
2044 these are the flags to pass to the
2047 .It Va rpc_ypupdated_enable
2053 daemon at system boot time.
2054 .It Va bsnmpd_enable
2060 daemon at system boot time.
2061 Be sure to understand the security implications of running SNMP daemon
2069 these are the flags to pass to the
2072 .It Va defaultrouter
2076 create a default route to this host name or IP address
2077 (use an IP address if this router is also required to get to the
2079 .It Va ipv6_defaultrouter
2081 The IPv6 equivalent of
2083 .It Va static_routes
2085 Set to the list of static routes that are to be added at system
2089 then for each whitespace separated
2092 .Va route_ Ns Aq Ar element
2093 variable is assumed to exist
2094 whose contents will later be passed to a
2099 static_routes="mcast gif0local"
2100 route_mcast="-net 224.0.0.0/4 -iface gif0"
2101 route_gif0local="-host 169.254.1.1 -iface lo0"
2103 .It Va ipv6_static_routes
2105 The IPv6 equivalent of
2109 then for each whitespace separated
2112 .Va ipv6_route_ Ns Aq Ar element
2113 variable is assumed to exist
2114 whose contents will later be passed to a
2115 .Dq Nm route Cm add Fl inet6
2117 .It Va natm_static_routes
2123 If not empty then for each whitespace separated
2126 .Va route_ Ns Aq Ar element
2127 variable is assumed to exist whose contents will later be passed to a
2128 .Dq Nm atmconfig Cm natm Cm add
2130 .It Va gateway_enable
2134 configure host to act as an IP router, e.g.\& to forward packets
2136 .It Va ipv6_gateway_enable
2138 The IPv6 equivalent of
2139 .Va gateway_enable .
2140 .It Va router_enable
2144 run a routing daemon of some sort, based on the
2149 .It Va ipv6_router_enable
2151 The IPv6 equivalent of
2155 run a routing daemon of some sort, based on the
2159 .Va ipv6_router_flags .
2166 this is the name of the routing daemon to use.
2169 The IPv6 equivalent of
2177 these are the flags to pass to the routing daemon.
2178 .It Va ipv6_router_flags
2180 The IPv6 equivalent of
2182 .It Va mrouted_enable
2186 run the multicast routing daemon,
2188 .It Va mroute6d_enable
2190 The IPv6 equivalent of
2191 .Va mrouted_enable .
2194 run the IPv6 multicast routing daemon.
2195 Note that no IPv6 multicast routing daemon is included in the
2199 can be installed from the
2202 .It Va mrouted_flags
2208 these are the flags to pass to the
2211 .It Va mroute6d_flags
2213 The IPv6 equivalent of
2219 these are the flags passed to the IPv6 multicast routing daemon.
2220 .It Va mroute6d_program
2226 this is the path to the IPv6 multicast routing daemon.
2227 .It Va rtadvd_enable
2233 daemon at boot time.
2236 .Va ipv6_gateway_enable
2241 utility sends router advertisement packets to the interfaces specified in
2242 .Va rtadvd_interfaces
2243 and should only be enabled with great care.
2244 You may want to fine-tune
2246 .It Va rtadvd_interfaces
2252 this is the list of interfaces to use.
2253 .It Va ipxgateway_enable
2257 enable the routing of IPX traffic.
2258 .It Va ipxrouted_enable
2264 daemon at system boot time.
2265 .It Va ipxrouted_flags
2268 .Va ipxrouted_enable
2271 these are the flags to pass to the
2278 enable global proxy ARP.
2279 .It Va forward_sourceroute
2287 source-routed packets are forwarded.
2288 .It Va accept_sourceroute
2292 the system will accept source-routed packets directed at it.
2299 daemon at system boot time.
2306 these are the flags to pass to the
2309 .It Va bootparamd_enable
2315 daemon at system boot time.
2316 .It Va bootparamd_flags
2319 .Va bootparamd_enable
2322 these are the flags to pass to the
2325 .It Va stf_interface_ipv4addr
2329 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2331 Specify this entry to enable the 6to4 interface.
2332 .It Va stf_interface_ipv4plen
2334 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2335 An effective value is 0-31.
2336 .It Va stf_interface_ipv6_ifid
2338 IPv6 interface ID for
2342 .It Va stf_interface_ipv6_slaid
2344 IPv6 Site Level Aggregator for
2346 .It Va ipv6_faith_prefix
2350 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2355 .It Va ipv6_ipv4mapping
2359 this enables IPv4 mapped IPv6 address communication (like
2360 .Li ::ffff:a.b.c.d ) .
2365 to enable the configuration of ATM interfaces at system boot time.
2366 For all of the ATM variables described below, please refer to the
2368 manual page for further details on the available command parameters.
2369 Also refer to the files in
2370 .Pa /usr/share/examples/atm
2371 for more detailed configuration information.
2374 This is a list of physical ATM interface drivers to load.
2379 .It Va atm_netif_ Ns Aq Ar intf
2381 For the ATM physical interface
2383 this variable defines the name prefix and count for the ATM network
2384 interfaces to be created.
2385 The value will be passed as the parameters of an
2386 .Dq Nm atm Cm "set netif" Ar intf
2388 .It Va atm_sigmgr_ Ns Aq Ar intf
2390 For the ATM physical interface
2392 this variable defines the ATM signalling manager to be used.
2393 The value will be passed as the parameters of an
2394 .Dq Nm atm Cm attach Ar intf
2396 .It Va atm_prefix_ Ns Aq Ar intf
2398 For the ATM physical interface
2400 this variable defines the NSAP prefix for interfaces using a UNI signalling
2404 the prefix will automatically be set via the
2407 Otherwise, the value will be passed as the parameters of an
2408 .Dq Nm atm Cm "set prefix" Ar intf
2410 .It Va atm_macaddr_ Ns Aq Ar intf
2412 For the ATM physical interface
2414 this variable defines the MAC address for interfaces using a UNI signalling
2418 the hardware MAC address contained in the ATM interface card will be used.
2419 Otherwise, the value will be passed as the parameters of an
2420 .Dq Nm atm Cm "set mac" Ar intf
2422 .It Va atm_arpserver_ Ns Aq Ar netif
2424 For the ATM network interface
2426 this variable defines the ATM address for a host which is to provide ATMARP
2428 This variable is only applicable to interfaces using a UNI signalling
2432 this host will become an ATMARP server.
2433 The value will be passed as the parameters of an
2434 .Dq Nm atm Cm "set arpserver" Ar netif
2436 .It Va atm_scsparp_ Ns Aq Ar netif
2440 SCSP/ATMARP service for the network interface
2442 will be initiated using the
2447 This variable is only applicable if
2448 .Va atm_arpserver_ Ns Aq Ar netif
2453 Set to the list of ATM PVCs to be added at system
2455 For each whitespace separated
2458 .Va atm_pvc_ Ns Aq Ar element
2459 variable is assumed to exist.
2460 The value of each of these variables
2461 will be passed as the parameters of an
2462 .Dq Nm atm Cm "add pvc"
2466 Set to the list of permanent ATM ARP entries to be added
2467 at system boot time.
2468 For each whitespace separated
2471 .Va atm_arp_ Ns Aq Ar element
2472 variable is assumed to exist.
2473 The value of each of these variables
2474 will be passed as the parameters of an
2475 .Dq Nm atm Cm "add arp"
2477 .It Va natm_interfaces
2481 interfaces that will also be used for HARP through
2483 If this list is not empty all interfaces in the list will be brought up
2489 For this to work the interface drivers must be either compiled into the
2490 kernel or must reside on the root partition.
2493 The keyboard bell sound.
2500 if the default behavior is desired.
2501 For details, refer to the
2506 If set to a non-null string, the virtual console's keyboard input is
2512 no keymap is installed, otherwise the value is used to install
2514 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
2517 The keyboard repeat speed.
2524 if the default behavior is desired.
2529 attempt to program the function keys with the value.
2531 be a single string of the form:
2532 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
2535 Can be set to the value of
2538 .Dq Li destructive ,
2541 to set the cursor behavior explicitly or choose the default behavior.
2546 no screen map is installed, otherwise the value is used to install
2547 the screen map file in
2548 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
2553 the default 8x16 font value is used for screen size requests, otherwise
2555 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2561 the default 8x14 font value is used for screen size requests, otherwise
2563 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2569 the default 8x8 font value is used for screen size requests, otherwise
2571 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2577 the default screen blanking interval is used, otherwise it is set
2585 this is the actual screen saver to use
2586 .Li ( blank , snake , daemon ,
2588 .It Va moused_nondefault_enable
2592 the mouse device specified on
2593 the command line is not automatically treated as enabled by the
2594 .Pa /etc/rc.d/moused
2596 Having this variable set to
2602 to be enabled as soon as it is plugged in.
2603 .It Va moused_enable
2609 daemon is started for doing cut/paste selection on the console.
2612 This is the protocol type of the mouse connected to this host.
2613 This variable must be set if
2620 is able to detect the appropriate mouse type automatically in many cases.
2621 Set this variable to
2623 to let the daemon detect it, or
2624 select one from the following list if the automatic detection fails.
2626 If the mouse is attached to the PS/2 mouse port, choose
2630 regardless of the brand and model of the mouse.
2632 mouse is attached to the bus mouse port, choose
2636 All other protocols are for serial mice and will not work with
2637 the PS/2 and bus mice.
2638 If this is a USB mouse,
2640 is the only protocol type which will work.
2642 .Bl -tag -width ".Li x10mouseremote" -compact
2644 Microsoft mouse (serial)
2646 Microsoft IntelliMouse (serial)
2648 Mouse systems Corp.\& mouse (serial)
2650 MM Series mouse (serial)
2652 Logitech mouse (serial)
2656 Logitech MouseMan and TrackMan (serial)
2658 ALPS GlidePoint (serial)
2659 .It Li thinkingmouse
2660 Kensington ThinkingMouse (serial)
2664 MM HitTablet (serial)
2665 .It Li x10mouseremote
2666 X10 MouseRemote (serial)
2668 Interlink VersaPad (serial)
2671 Even if the mouse is not in the above list, it may be compatible
2672 with one in the list.
2673 Refer to the manual page for
2675 for compatibility information.
2677 It should also be noted that while this is enabled, any
2678 other client of the mouse (such as an X server) should access
2679 the mouse through the virtual mouse device,
2681 and configure it as a
2683 type mouse, since all
2684 mouse data is converted to this single canonical format when
2687 If the client program does not support the
2693 It is the second preferred type.
2700 this is the actual port the mouse is on.
2703 for a COM1 serial mouse,
2707 for a bus mouse, for example.
2712 is set, its value is used as an additional set of flags to pass to the
2715 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
2717 .Va moused_nondefault_enable
2720 daemon is started for a non-default port, the
2721 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2722 set of options has precedence over and replaces the default
2723 .Va moused_flags (where
2725 is the name of the non-default port, i.e.\&
2728 .Va "moused_" Ns Ar XXX Ns Va "_flags"
2729 it is possible to set up a different set of default flags for each
2732 For example, you can use
2736 to make your laptop's touchpad more comfortable to use,
2737 but an empty set of options for
2738 .Va moused_ums0_flags
2741 mouse has three or more buttons.
2742 .It Va mousechar_start
2746 the default mouse cursor character range
2747 .Li 0xd0 Ns - Ns Li 0xd3
2749 otherwise the range start is set
2754 Use if the default range is occupied in the language code table.
2755 .It Va allscreens_flags
2759 is run with these options for each of the virtual terminals
2763 will enable the mouse pointer on all virtual terminals
2768 .It Va allscreens_kbdflags
2772 is run with these options for each of the virtual terminals
2778 scrollback (history) buffer to 200 lines.
2785 daemon at system boot time.
2791 .Pa /usr/sbin/cron ) .
2798 these are the flags to pass to
2804 enable the special handling of transitions to and from the
2805 Daylight Saving Time in
2807 (equivalent to using the flag
2814 .Pa /usr/sbin/lpd ) .
2821 daemon at system boot time.
2828 these are the flags to pass to the
2831 .It Va chkprintcap_enable
2837 command before starting the
2840 .It Va chkprintcap_flags
2845 .Va chkprintcap_enable
2848 these are the flags to pass to the
2853 which causes missing directories to be created.
2854 .It Va mta_start_script
2856 This variable specifies the full path to the script to run to start
2857 a mail transfer agent.
2859 .Pa /etc/rc.sendmail .
2863 .Pa /etc/rc.sendmail
2864 uses are documented in the
2869 Indicates the device (usually a swap partition) to which a crash dump
2870 should be written in the event of a system crash.
2871 If the value of this variable is
2873 the first suitable swap device listed in
2875 will be used as dump device.
2876 Otherwise, the value of this variable is passed as the argument to
2878 To disable crash dumps, set this variable to
2882 When the system reboots after a crash and a crash dump is found on the
2883 device specified by the
2887 will save that crash dump and a copy of the kernel to the directory
2891 The default value is
2900 .It Va savecore_flags
2902 If crash dumps are enabled, these are the flags to pass to the
2905 .It Va enable_quotas
2909 to turn on user disk quotas on system startup via the
2916 to enable user disk quota checking via the
2919 .It Va accounting_enable
2923 to enable system accounting through the
2930 to enable iBCS2 (SCO) binary emulation at system initial boot
2932 .It Va ibcs2_loaders
2940 this specifies a list of additional iBCS2 loaders to enable.
2945 to enable Linux/ELF binary emulation at system initial
2951 to enable OSF/1 (Digital UNIX) binary emulation at system
2958 enable SysVR4 emulation at boot time.
2959 .It Va sysvipc_enable
2963 load System V IPC primitives at boot time.
2964 .It Va clear_tmp_enable
2975 to disable removing of X11 lock files,
2976 and the removal and (secure) recreation
2977 of the various socket directories for X11
2979 .It Va ldconfig_paths
2981 Set to the list of shared library paths to use with
2985 will always be added first, so it need not appear in this list.
2986 .It Va ldconfig32_paths
2988 Set to the list of 32-bit compatibility shared library paths to
2991 .It Va ldconfig_paths_aout
2993 Set to the list of shared library paths to use with
2998 .It Va ldconfig_insecure
3002 utility normally refuses to use directories
3003 which are writable by anyone except root.
3004 Set this variable to
3006 to disable that security check during system startup.
3007 .It Va ldconfig_local_dirs
3009 Set to the list of local
3012 The names of all files in the directories listed will be
3013 passed as arguments to
3015 .It Va ldconfig_local32_dirs
3017 Set to the list of local 32-bit compatibility
3020 The names of all files in the directories listed will be
3021 passed as arguments to
3024 .It Va kern_securelevel_enable
3028 to set the kernel security level at system startup.
3029 .It Va kern_securelevel
3031 The kernel security level to set at startup.
3032 The allowed range of
3034 ranges from \-1 (the compile time default) to 3 (the
3038 for the list of possible security levels and their effect
3039 on system operation.
3042 Path to the SSH server program
3043 .Pa ( /usr/sbin/sshd
3051 at system boot time.
3058 these are the flags to pass to the
3063 Path to the FTP server program
3064 .Pa ( /usr/libexec/ftpd
3072 as a stand-alone daemon at system boot time.
3079 these are the additional flags to pass to the
3088 daemon at boot time.
3095 these are the flags passed to the
3098 .It Va watchdogd_enable
3104 daemon at boot time.
3105 This requires that the kernel have been compiled with a
3108 .It Va watchdogd_flags
3111 .Va watchdogd_enable
3114 these are the flags passed to the
3117 .It Va performance_cx_lowest
3119 CPU idle state to use while on AC power.
3124 should use the lowest power state available while
3126 indicates that the lowest latency state (less power savings) should be used.
3127 .It Va performance_cpu_freq
3129 CPU clock frequency to use while on AC power.
3134 should use the lowest frequency available while
3136 indicates that the highest frequency (less power savings) should be used.
3137 .It Va economy_cx_lowest
3139 CPU idle state to use when off AC power.
3144 should use the lowest power state available while
3146 indicates that the lowest latency state (less power savings) should be used.
3147 .It Va economy_cpu_freq
3149 CPU clock frequency to use when off AC power.
3154 should use the lowest frequency available while
3156 indicates that the highest frequency (less power savings) should be used.
3161 any configured jails will not be started.
3164 A space separated list of names for jails.
3165 This is purely a configuration aid to help identify and
3166 configure multiple jails.
3167 The names specified in this list will be used to
3168 identify settings common to an instance of a jail.
3169 Assuming that the jail in question was named
3171 you would have the following dependent variables:
3173 jail_vjail_hostname="jail.example.com"
3174 jail_vjail_ip="192.168.1.100"
3175 jail_vjail_rootdir="/var/jails/vjail/root"
3181 When set, use as default value for
3182 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3185 .It Va jail_interface
3188 When set, use as default value for
3189 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3195 When set, use as default value for
3196 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3199 .It Va jail_mount_enable
3207 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3208 to YES by default for every jail in
3210 .It Va jail_devfs_ruleset
3214 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3215 to given value for every jail in
3217 .It Va jail_devfs_enable
3225 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3226 to YES by default for every jail in
3228 .It Va jail_fdescfs_enable
3236 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3237 to YES by default for every jail in
3239 .It Va jail_procfs_enable
3247 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3248 to YES by default for every jail in
3250 .It Va jail_exec_start
3253 When set, use as default value for
3254 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3257 .It Va jail_exec_stop
3259 When set, use as default value for
3260 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3263 .It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3266 Set to the root directory used by jail
3268 .It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3271 Set to the fully qualified domain name (FQDN) assigned to jail
3273 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3276 Set to the IP address assigned to jail
3278 .It Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3283 These are flags to pass to
3285 .It Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3288 When set, sets the interface to use when setting IP address alias.
3289 Note that the alias is created at jail startup and removed at jail shutdown.
3290 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3293 .Pa /etc/fstab. Ns Ao Ar jname Ac
3295 This is the file system information file to use for jail
3297 .It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3304 mount all file systems from
3305 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3307 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3310 When set, defines the device file system ruleset file to use for jail
3312 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3319 mount the device file system inside jail
3322 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3329 mount the file-descriptor file system inside jail
3332 .It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable
3339 mount the process file system inside jail
3342 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3345 .Dq Li /bin/sh /etc/rc
3347 This is the command executed at jail startup.
3348 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3351 .Dq Li /bin/sh /etc/rc.shutdown
3353 This is the command executed at jail shutdown.
3354 .It Va jail_set_hostname_allow
3358 do not allow the root user in a jail to set its hostname.
3359 .It Va jail_socket_unixiproute_only
3363 do not allow any sockets,
3364 besides UNIX/IP/route sockets,
3365 to be used within a jail.
3366 .It Va jail_sysvipc_allow
3370 allow applications within a jail to use System V IPC.
3371 .It Va unaligned_print
3375 unaligned access warnings will not be printed.
3377 .\" ----- ISDN settings ---------------------------------
3388 at system boot time.
3392 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
3394 Additional flags to pass to
3400 for certain tunable parameters).
3406 The terminal type of the output device when
3408 operates in full-screen mode.
3409 .It Va isdn_screenflags
3414 The video mode for full-screen mode (only for
3424 The output device for
3426 in full-screen mode (or
3436 enables the ISDN protocol trace utility
3438 at system boot time.
3439 .It Va isdn_traceflags
3442 .Dq Fl f Pa /var/tmp/isdntrace0
3446 .\" -----------------------------------------------------
3454 verbose messages about the actions done by the start script are displayed.
3458 driver must be compiled into the kernel before the
3461 options described here take any effect.
3467 Use this to configure a national keyboard mapping found in the
3468 .Pa /usr/share/misc/keycap.pcvt
3469 file of keyboard mappings.
3470 (See also the manual pages
3476 keycap database and the manual page
3480 for national keyboard mapping configuration.)
3486 Used to set the keyboard key repeat delay value.
3488 in the range 0..3 for delay values of 250, 500, 750 and 1000 msec.
3497 Used to set the keyboard key repetition rate value.
3499 in the range 0..31 for repetition values of 2..30 characters per second.
3500 .It Va pcvt_keyrepeat
3507 to enable automatic keyboard key repeating.
3517 to use 24 lines only (in 25 lines mode) for compatibility
3528 to enable the display and functionality of function key labels (as found
3531 terminals such as the
3542 by default resulting in a value of 25.
3543 Used to set the number of lines on the screen.
3544 For VGA displays, valid
3545 values are 25, 28, 40 and 50 lines.
3549 .It Va pcvt_blanktime
3554 Used to set the screen saver timeout in seconds for values greater than
3561 Used to set the cursor top scanline.
3570 Used to set the cursor bottom scanline.
3571 .It Va pcvt_monohigh
3578 to set intensity to high on monochrome monitors.
3583 for more information on changing VGA palette
3585 .It Va harvest_interrupt
3589 to use hardware interrupts as an entropy source.
3592 for more information.
3593 .It Va harvest_ethernet
3597 to use LAN traffic as an entropy source.
3600 for more information.
3601 .It Va harvest_p_to_p
3605 to use serial line traffic as an entropy source.
3608 for more information.
3613 to disable caching entropy via
3615 Otherwise set to the directory used to store entropy files in.
3620 to disable caching entropy through reboots.
3621 Otherwise set to the filename used to store cached entropy through
3623 This file should be located on the root file system to seed the
3625 device as early as possible in the boot process.
3626 .It Va entropy_save_sz
3628 Size of the entropy cache files saved by
3631 .It Va entropy_save_num
3633 Number of entropy cache files to save by
3647 Configuration file for
3656 .Pa /var/run/dmesg.boot
3658 .It Va rcshutdown_timeout
3660 If set, start a watchdog timer in the background which will terminate
3664 has not completed within the specified time (in seconds).
3665 Notice that in addition to this soft timeout,
3667 also applies a hard timeout for the execution of
3669 This is configured via
3672 .Va kern.init_shutdown_timeout
3673 and defaults to 120 seconds.
3674 Setting the value of
3675 .Va rcshutdown_timeout
3676 to more than 120 seconds will have no effect until the
3679 .Va kern.init_shutdown_timeout
3681 .It Va virecover_enable
3685 to prevent the system from trying to
3686 recover pre-maturely terminated
3689 .It Va ugidfw_enable
3694 .Xr mac_bsdextended 4
3695 module upon system initialization and load a default
3697 .It Va bsdextended_script
3700 .Xr mac_bsdextended 4
3701 ruleset file to load.
3702 The default value of this variable is
3703 .Pa /etc/rc.bsdextended .
3704 .It Va newsyslog_enable
3711 .It Va newsyslog_flags
3714 .Va newsyslog_enable
3717 these are the flags to pass to the
3722 which causes log files flagged with a
3725 .It Va mdconfig_md Ns Ao Ar X Ac
3735 must be specified and either a
3737 for malloc or swap backed
3745 .Va mdconfig_md Ns Ao Ar X Ac
3746 variables are evaluated until one variable is unset or null.
3747 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
3749 Optional arguments passed to
3755 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
3757 An ownership specification passed to
3766 device and the mount point will be changed.
3767 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
3769 A mode string passed to
3778 device and the mount point will be changed.
3779 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
3781 Files to be copied to the mount point of the
3785 after it has been mounted.
3786 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
3788 Command to execute after the specified
3793 Note that the command is passed to
3799 variables can be used to reference respectively the
3801 device and the mount point.
3806 one could set the following:
3808 mdconfig_md0_cmd="tar xfzC /var/file.tgz \\${_mp}"
3810 .It Va ramdisk_units
3812 A list of one or more ramdisk units to configure with
3816 in time to be mounted from
3820 must specify at least a
3823 .Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3825 Note that this way to configure ramdisks has been deprecated
3826 in favor of new mdconfig variables (see above).
3827 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3835 must be specified, where
3841 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs
3843 Optional arguments passed to
3845 to initialize ramdisk
3847 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner
3849 An ownership specification passed to
3851 after the specified ramdisk unit
3856 device and the mount point will be changed.
3857 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms
3859 A mode string passed to
3861 after the specified ramdisk unit
3866 device and the mount point will be changed.
3867 .It Va autobridge_interfaces
3869 Set to the list of bridge interfaces that will have newly arriving interfaces
3870 checked against to be automatically added.
3873 then for each whitespace separated
3876 .Va autobridge_ Ns Aq Ar element
3877 variable is assumed to exist which has a whitespace separated list of interface
3878 names to match, these names can use wildcards.
3881 autobridge_interfaces="bridge0"
3882 autobridge_bridge0="tap* dc0 vlan[345]"
3888 enable support for sound mixer.
3889 .It Va hcsecd_enable
3893 enable Bluetooth security daemon.
3894 .It Va hcsecd_config
3896 Configuration file for
3899 .Pa /etc/bluetooth/hcsecd.conf .
3904 enable Bluetooth Service Discovery Protocol daemon.
3912 .It Va sdpd_groupname
3916 group to run as after it initializes.
3919 .It Va sdpd_username
3923 user to run as after it initializes.
3926 .It Va bthidd_enable
3930 enable Bluetooth Human Interface Device daemon.
3931 .It Va bthidd_config
3933 Configuration file for
3936 .Pa /etc/bluetooth/bthidd.conf .
3939 Path to a file, where
3941 will store information about known HID devices.
3943 .Pa /var/db/bthidd.hids .
3944 .It Va rfcomm_pppd_server_enable
3948 enable Bluetooth RFCOMM PPP wrapper daemon.
3949 .It Va rfcomm_pppd_server_profile
3951 The name of the profile to use from
3952 .Pa /etc/ppp/ppp.conf .
3953 Multiple profiles can be specified here.
3954 Also used to specify per-profile overrides.
3955 When the profile name contains any of the characters
3957 they are translated to
3959 for the proposes of the override variable names.
3960 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _bdaddr
3962 Overrides local address to listen on.
3968 The address can be specified as BD_ADDR or name.
3969 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _channel
3971 Overrides local RFCOMM channel to listen on.
3974 will listen on RFCOMM channel 1.
3975 Must set properly if multiple profiles used in the same time.
3976 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_sp
3980 if it should register Serial Port service on the speficied RFCOMM channel.
3983 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_dun
3987 if it should register Dial-Up Networking service on the speficied
3993 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
3994 .It Pa /etc/defaults/rc.conf
3996 .It Pa /etc/rc.conf.local
4024 .Xr newsyslog.conf 5 ,
4092 .An Jordan K. Hubbard .