1.\" Copyright (c) 1995 2.\" Jordan K. Hubbard 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 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. 12.\" 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 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD: src/share/man/man5/rc.conf.5,v 1.197 2003/07/28 13:56:00 mbr Exp $ 26.\" 27.Dd December 21, 2014 28.Dt RC.CONF 5 29.Os 30.Sh NAME 31.Nm rc.conf 32.Nd system configuration information 33.Sh DESCRIPTION 34The file 35.Nm 36contains descriptive information about the local host name, configuration 37details for any potential network interfaces and which services should be 38started up at system initial boot time. 39In new installations, the 40.Nm 41file is generally initialized by the installer. 42.Pp 43The purpose of 44.Nm 45is not to run commands or perform system startup actions directly. 46Instead, it is included by the various generic startup scripts in 47.Pa /etc 48which conditionalize their 49internal actions according to the settings found there. 50.Pp 51The 52.Pa /etc/defaults/rc.conf 53file specifies the default settings for all the available options, 54the 55.Pa /etc/rc.conf 56file specifies override settings. 57Options need only be specified in 58.Pa /etc/rc.conf 59when the system administrator wishes to override the defaults. 60The file 61.Pa /etc/rc.conf.local 62is used to override settings in 63.Pa /etc/rc.conf 64for historical reasons. 65In addition to 66.Pa /etc/rc.conf.local 67you can also place smaller configuration files for each 68.Xr rc 8 69script in the 70.Pa /etc/rc.conf.d 71directory, which will be included by the 72.Va load_rc_config 73function. 74For jail configurations you could use the file 75.Pa /etc/rc.conf.d/jail 76to store jail specific configuration options. 77Also see the 78.Va rc_conf_files 79variable below. 80.Pp 81The following list provides a name and short description for each 82variable that can be set in the 83.Nm 84file. 85To set a variable of 86.Vt bool 87type, specify either 88.Dq Li YES , 89.Dq Li TRUE , 90.Dq Li ON , 91or 92.Dq Li 1 . 93To unset, specify 94.Dq Li NO , 95.Dq Li FALSE , 96.Dq Li OFF , 97or 98.Dq Li 0 . 99These values are case insensitive. 100The 101.Va _enable 102postfix in the name of a variable for starting a service can be 103omitted (as in 104.Nx ) . 105.Bl -tag -width indent-two 106.It Va rc_debug 107.Pq Vt bool 108If set to 109.Dq Li YES , 110enable output of debug messages from rc scripts. 111This variable can be helpful in diagnosing mistakes when 112editing or integrating new scripts. 113Beware that this produces copious output to the terminal and 114.Xr syslog 3 . 115.It Va rc_info 116.Pq Vt bool 117If set to 118.Dq Li NO , 119disable informational messages from the rc scripts. 120Informational messages are displayed when 121a condition that is not serious enough to warrant a warning or an error occurs. 122.It Va rc_startmsgs 123.Pq Vt bool 124If set to 125.Dq Li YES , 126show 127.Dq Starting foo: 128when faststart is used (e.g., at boot time). 129.It Va swapfile 130.Pq Vt str 131If set to 132.Dq Li NO , 133no swapfile is installed, otherwise the value is used as the full 134pathname to a file to use for additional swap space. 135The 136.Xr vn 4 137driver is needed for a swapfile and will be loaded if it is not 138already compiled into the kernel or loaded via 139.Xr loader.conf 5 . 140.It Va apm_enable 141.Pq Vt bool 142If set to 143.Dq Li YES , 144enable support for Automatic Power Management with the 145.Xr apm 8 146command. 147.It Va apmd_enable 148.Pq Vt bool 149Run 150.Xr apmd 8 151to handle APM event from userland. 152This also enables support for APM. 153.It Va apmd_flags 154.Pq Vt str 155If 156.Va apmd_enable 157is set to 158.Dq Li YES , 159these are the flags to pass to the 160.Xr apmd 8 161daemon. 162.It Va battd_enable 163Enable 164.Xr battd 8 165to monitor the status of batteries present in the system. 166This also enables support for APM. 167.It Va battd_flags 168.Pq Vt str 169If 170.Va battd_enable 171is set to 172.Dq Li YES , 173these are the flags to pass to the 174.Xr battd 8 175daemon. 176.It Va devd_enable 177.Pq Vt bool 178Run 179.Xr devd 8 180to handle device added, removed or unknown events from the kernel. 181.It Va devd_flags 182.Pq Vt str 183If 184.Va devd_enable 185is set to 186.Dq Li YES , 187these are the flags to pass to the 188.Xr devd 8 189daemon. 190.It Va powerd_enable 191.Pq Vt bool 192Set to 193.Dq Li NO 194by default. 195Setting this to 196.Dq Li YES 197enables 198.Xr powerd 8 , 199a CPU speed control daemon. 200.It Va sensorsd_enable 201.Pq Vt bool 202Set to 203.Dq Li NO 204by default. 205Setting this to 206.Dq Li YES 207enables 208.Xr sensorsd 8 , 209a sensors monitoring and logging daemon. 210.It Va sensorsd_flags 211.Pq Vt str 212Empty by default. 213Additional flags passed to the 214.Xr sensorsd 8 215program. 216.It Va sysvipcd_enable 217.Pq Vt bool 218Set to 219.Dq Li NO 220by default. 221Setting this to 222.Dq Li YES 223enables 224.Xr sysvipcd 8 , 225a daemon needed for the userspace implementation of the XSI Interprocess 226Communication functions. 227.It Va sysvipcd_flags 228.Pq Vt str 229Empty by default. 230Additional flags passed to the 231.Xr sysvipcd 8 232program. 233.It Va hotplugd_enable 234.Pq Vt bool 235Set to 236.Dq Li NO 237by default. 238Setting this to 239.Dq Li YES 240enables 241.Xr hotplugd 8 , 242a devices hot plugging monitoring daemon. 243.It Va hotplugd_flags 244.Pq Vt str 245Empty by default. 246Additional flags passed to the 247.Xr hotplugd 8 248program. 249.It Va pccard_ifconfig 250.Pq Vt str 251List of arguments to be passed to 252.Xr ifconfig 8 253at boot time or on insertion of the card (e.g.\& 254.Dq Cm inet Li 192.168.1.1 Cm netmask Li 255.255.255.0 255for a fixed address or 256.Dq Li DHCP 257for a DHCP client). 258.It Va pccard_ether_delay 259.Pq Vt str 260Set the delay before starting 261.Xr dhclient 8 262in the 263.Pa /etc/pccard_ether 264script. 265This defaults to 5 seconds to work around a bug in the 266.Xr ed 4 267driver which can lead to system hangs when using some newer 268.Xr ed 4 269based cards. 270.It Va removable_interfaces 271.Pq Vt str 272List of removable network interfaces to be supported by 273.Pa /etc/pccard_ether . 274.It Va local_startup 275.Pq Vt str 276List of directories to search for startup script files. 277.It Va script_name_sep 278.Pq Vt str 279The field separator to use for breaking down the list of startup script files 280into individual filenames. 281The default is a space. 282It is not necessary to change this unless there are startup scripts with names 283containing spaces. 284.It Va hostapd_enable 285.Pq Vt bool 286Set to 287.Dq Li YES 288to start 289.Xr hostapd 8 290at system boot time. 291.It Va hostname 292.Pq Vt str 293The fully qualified domain name (FQDN) of this host on the network. 294This should almost certainly be set to something meaningful, even if 295there is no network connection. 296If 297.Xr dhclient 8 298is used to set the hostname via DHCP, 299this variable should be set to an empty string. 300.It Va ipv6_enable 301.Pq Vt bool 302Enable support for IPv6 networking. 303Note that this requires that the kernel have been compiled with 304.Cd "options INET6" . 305.It Va nisdomainname 306.Pq Vt str 307The NIS domain name of this host, or 308.Dq Li NO 309if NIS is not used. 310.It Va dhclient_program 311.Pq Vt str 312Path to the DHCP client program 313(default 314.Pa /sbin/dhclient ) . 315.It Va dhclient_flags 316.Pq Vt str 317Additional flags to pass to the DHCP client program. 318.It Va pf_enable 319.Pq Vt bool 320Set to 321.Dq Li YES 322to load 323.Xr pf 4 324at startup. 325If the kernel was not built with 326.Cd "device pf" , 327the 328.Pa pf.ko 329kernel module will be loaded. 330See also 331.Va firewall_enable . 332.It Va pf_rules 333.Pq Vt str 334Path to the 335.Xr pf 4 336ruleset definition file. 337.It Va pf_program 338.Pq Vt str 339Path to 340.Xr pfctl 8 . 341.It Va pf_flags 342.Pq Vt str 343If 344.Va pf_enable 345is set to 346.Dq Li YES , 347these are the flags to pass to 348.Xr pfctl 8 349when loading the ruleset. 350.It Va pflog_enable 351.Pq Vt bool 352Set this to 353.Dq Li YES 354to enable 355.Xr pflogd 8 356which logs packets from 357.Xr pf 4 . 358.It Va pflog_logfile 359.Pq Vt str 360If 361.Va pflog_enable 362is set to 363.Dq Li YES 364this specifies the path of the log file. 365.It Va pflog_program 366.Pq Vt str 367Path to 368.Xr pflogd 8 . 369.It Va pflog_flags 370.Pq Vt str 371If 372.Va pflog_enable 373is set to 374.Dq Li YES , 375these are the flags to pass to 376.Xr pflogd 8 . 377.It Va firewall_enable 378.Pq Vt bool 379Set to 380.Dq Li YES 381to load firewall rules at startup. 382If the kernel was not built with 383.Cd "options IPFIREWALL" , 384the 385.Pa ipfw.ko 386kernel module will be loaded. 387See also 388.Va pf_enable . 389.It Va ipv6_firewall_enable 390.Pq Vt bool 391The IPv6 equivalent of 392.Va firewall_enable . 393Set to 394.Dq Li YES 395to load IPv6 firewall rules at startup. 396If the kernel was not built with 397.Cd "options IPV6FIREWALL" , 398the 399.Pa ip6fw.ko 400kernel module will be loaded. 401.It Va firewall_script 402.Pq Vt str 403The full path to the firewall script to run 404(default 405.Pa /etc/rc.firewall ) . 406.It Va ipv6_firewall_script 407.Pq Vt str 408The IPv6 equivalent of 409.Va firewall_script . 410.It Va firewall_type 411.Pq Vt str 412Names the firewall type from the selection in 413.Pa /etc/rc.firewall , 414or the file which contains the local firewall ruleset. 415Valid selections from 416.Pa /etc/rc.firewall 417are: 418.Pp 419.Bl -tag -width ".Li simple" -compact 420.It Li open 421unrestricted IP access 422.It Li closed 423all IP services disabled, except via 424.Dq Li lo0 425.It Li client 426basic protection for a workstation on a LAN 427.It Li simple 428alias for 429.Li client . 430.El 431.Pp 432If a filename is specified, the full path must be given. 433.It Va firewall_trusted_nets 434.Pq Vt str 435List of trusted networks (if 436.Va firewall_type 437is set to 438.Li client ) . 439.It Va firewall_trusted_interfaces 440.Pq Vt str 441List of trusted network interfaces (if 442.Va firewall_type 443is set to 444.Li client ) . 445.It Va firewall_allowed_icmp_types 446.Pq Vt str 447List of allowed ICMP types (if 448.Va firewall_type 449is set to 450.Li client ) . 451.It Va firewall_open_tcp_ports 452.Pq Vt str 453List of TCP ports to open (if 454.Va firewall_type 455is set to 456.Li client ) . 457.It Va firewall_open_udp_ports 458.Pq Vt str 459List of UDP ports to open (if 460.Va firewall_type 461is set to 462.Li client ) . 463.It Va ipv6_firewall_type 464.Pq Vt str 465The IPv6 equivalent of 466.Va firewall_type . 467.It Va firewall_quiet 468.Pq Vt bool 469Set to 470.Dq Li YES 471to disable the display of firewall rules on the console during boot. 472.It Va ipv6_firewall_quiet 473.Pq Vt bool 474The IPv6 equivalent of 475.Va firewall_quiet . 476.It Va firewall_logging 477.Pq Vt bool 478Set to 479.Dq Li YES 480to enable firewall event logging. 481This is equivalent to the 482.Dv IPFIREWALL_VERBOSE 483kernel option. 484.It Va ipv6_firewall_logging 485.Pq Vt bool 486The IPv6 equivalent of 487.Va firewall_logging . 488.It Va firewall_flags 489.Pq Vt str 490Flags passed to 491.Xr ipfw 8 492if 493.Va firewall_type 494specifies a filename. 495.It Va ipv6_firewall_flags 496.Pq Vt str 497The IPv6 equivalent of 498.Va firewall_flags . 499.It Va natd_program 500.Pq Vt str 501Path to 502.Xr natd 8 . 503.It Va natd_enable 504.Pq Vt bool 505Set to 506.Dq Li YES 507to enable 508.Xr natd 8 . 509.Va firewall_enable 510must also be set to 511.Dq Li YES , 512and 513.Xr divert 4 514sockets must be enabled in the kernel. 515.It Va natd_interface 516.Pq Vt str 517This is the name of the public interface on which 518.Xr natd 8 519should run. 520The interface may be given as an interface name or as an IP address. 521.It Va natd_flags 522.Pq Vt str 523Additional 524.Xr natd 8 525flags should be placed here. 526The 527.Fl n 528or 529.Fl a 530flag is automatically added with the above 531.Va natd_interface 532as an argument. 533.It Va tcp_extensions 534.Pq Vt bool 535Set to 536.Dq Li YES 537by default. 538Setting this to 539.Dq Li NO 540disables certain TCP options as described by 541.Rs 542.%T "RFC 1323" 543.Re 544Setting this to 545.Dq Li NO 546might help remedy such problems with connections as randomly hanging 547or other weird behavior. 548Some network devices are known to be broken with respect to these options. 549.It Va log_in_vain 550.Pq Vt int 551Set to 0 by default. 552The 553.Xr sysctl 8 554variables, 555.Va net.inet.tcp.log_in_vain 556and 557.Va net.inet.udp.log_in_vain , 558as described in 559.Xr tcp 4 560and 561.Xr udp 4 , 562are set to the given value. 563.It Va tcp_keepalive 564.Pq Vt bool 565Set to 566.Dq Li YES 567by default. 568Setting to 569.Dq Li NO 570will disable probing idle TCP connections to verify that the 571peer is still up and reachable. 572.It Va tcp_drop_synfin 573.Pq Vt bool 574Set to 575.Dq Li NO 576by default. 577Setting to 578.Dq Li YES 579will cause the kernel to ignore TCP frames that have both 580the SYN and FIN flags set. 581This prevents OS fingerprinting, but may break some legitimate applications. 582This option is only available if the kernel was built with the 583.Dv TCP_DROP_SYNFIN 584option. 585.It Va icmp_drop_redirect 586.Pq Vt bool 587Set to 588.Dq Li NO 589by default. 590Setting to 591.Dq Li YES 592will cause the kernel to ignore ICMP REDIRECT packets. 593Refer to 594.Xr icmp 4 595for more information. 596.It Va icmp_log_redirect 597.Pq Vt bool 598Set to 599.Dq Li NO 600by default. 601Setting to 602.Dq Li YES 603will cause the kernel to log ICMP REDIRECT packets. 604Note that 605the log messages are not rate-limited, so this option should only be used 606for troubleshooting networks. 607Refer to 608.Xr icmp 4 609for more information. 610.It Va icmp_bmcastecho 611.Pq Vt bool 612Set to 613.Dq Li YES 614to respond to broadcast or multicast ICMP ping packets. 615Refer to 616.Xr icmp 4 617for more information. 618.It Va ip_portrange_first 619.Pq Vt int 620If not set to 621.Dq Li NO , 622this is the first port in the default portrange. 623Refer to 624.Xr ip 4 625for more information. 626.It Va ip_portrange_last 627.Pq Vt int 628If not set to 629.Dq Li NO , 630this is the last port in the default portrange. 631Refer to 632.Xr ip 4 633for more information. 634.\" 635.It Va ifconfig_ Ns Aq Ar interface 636.Pq Vt str 637Configuration for 638.Dq interface . 639Typically includes IP address. 640Assuming that the interface in question was 641.Li ed0 , 642it might look something like this: 643.Bd -literal 644ifconfig_ed0="inet 10.0.0.1 netmask 0xffff0000" 645.Ed 646.Pp 647If the 648.Pa /etc/start_if. Ns Aq Ar interface 649file is present, it is read and executed by the 650.Xr sh 1 651interpreter before configuring the interface as specified in the 652.Va ifconfig_ Ns Aq Ar interface 653and 654.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 655variables. 656.Pp 657It is possible to bring up an interface with DHCP by adding 658.Dq Li DHCP 659to the 660.Va ifconfig_ Ns Aq Ar interface 661variable. 662For instance, to initialize the 663.Li ed0 664device via DHCP, it is possible to use something like: 665.Bd -literal 666ifconfig_ed0="DHCP" 667.Ed 668.Pp 669If a 670.Va vlans_ Ns Aq Ar interface 671variable is set, 672a 673.Xr vlan 4 674interface will be created for each item in the list with the 675.Ar vlandev 676argument set to 677.Ar interface . 678If a vlan interface's name is a number, 679then that number is used as the vlan tag and the new vlan interface is 680named 681.Ar interface . Ns Ar tag . 682Otherwise, 683the vlan tag must be specified via a 684.Va vlan 685parameter in the 686.Va create_args_ Ns Aq Ar interface 687variable. 688.Pp 689To create a vlan device named 690.Li em0.101 691on 692.Li em0 693with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24: 694.Bd -literal 695vlans_em0="101" 696ifconfig_em0_101="inet 192.0.2.1/24" 697.Ed 698.Pp 699To create a vlan device named 700.Li myvlan 701on 702.Li em0 703with the vlan tag 102: 704.Bd -literal 705vlans_em0="myvlan" 706create_args_myvlan="vlan 102" 707.Ed 708.Pp 709If a 710.Va wlans_ Ns Aq Ar interface 711variable is set, 712an 713.Xr wlan 4 714interface will be created for each item in the list with the 715.Ar wlandev 716argument set to 717.Ar interface . 718Further wlan cloning arguments may be passed to the 719.Xr ifconfig 8 720.Cm create 721command by setting the 722.Va create_args_ Ns Aq Ar interface 723variable. 724One or more 725.Xr wlan 4 726devices must be created for each wireless devices as of 727.Dx 2.5 . 728Debugging flags for 729.Xr wlan 4 730devices as set by 731.Xr wlandebug 8 732may be specified with an 733.Va wlandebug_ Ns Aq Ar interface 734variable. 735The contents of this variable will be passed directly to 736.Xr wlandebug 8 . 737.Pp 738Also, if your interface needs WPA authentication, it is possible to add 739.Dq Li WPA 740to the 741.Va ifconfig_ Ns Aq Ar interface 742variable. 743This will start 744.Xr wpa_supplicant 8 . 745See 746.Xr wpa_supplicant.conf 5 747for configuring authentication information. 748.Pp 749Finally, you can add 750.Xr ifconfig 8 751options in this variable, in addition to the 752.Pa /etc/start_if. Ns Aq Ar interface 753file. 754For instance, to initialize the 755.Li wi0 756device via DHCP, using WPA authentication and 802.11b mode, it is 757possible to use something like: 758.Bd -literal 759wlans_wi0="wlan0" 760ifconfig_wlan0="up DHCP WPA mode 11b" 761.Ed 762.It Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 763.Pq Vt str 764Configuration to establish an additional network address for 765.Dq interface . 766Assuming that the interface in question was 767.Li ed0 , 768it might look something like this: 769.Bd -literal 770ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff" 771ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff" 772.Ed 773.Pp 774And so on. 775For each 776.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 777entry that is found, its contents are passed to 778.Xr ifconfig 8 . 779Execution stops at the first unsuccessful access, so if 780something like this is present: 781.Bd -literal 782ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff" 783ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff" 784ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff" 785ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff" 786.Ed 787.Pp 788Then note that alias4 would 789.Em not 790be added since the search would stop with the missing alias3 entry. 791.It Va ifconfig_ Ns Ao Ar interface Ac Ns Va _name 792.Pq Vt str 793New name for 794.Dq interface . 795It is possible to rename interface by doing: 796.Bd -literal 797ifconfig_ed0_name="net0" 798ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000" 799.Ed 800.It Va network_interfaces 801.Pq Vt str 802The list of network interfaces to configure on this host, 803or 804.Dq Li auto 805to configure all network interfaces 806(default 807.Dq Li auto ) . 808For example, if the only network devices to be configured are the loopback device 809.Pq Li lo0 810and a NIC using the 811.Xr ed 4 812driver, this could be set to 813.Dq Li "lo0 ed0" . 814An 815.Va ifconfig_ Ns Aq Ar interface 816variable is assumed to exist for each value of 817.Ar interface . 818.It Va ipv6_network_interfaces 819.Pq Vt str 820This is the IPv6 equivalent of 821.Va network_interfaces . 822Instead of setting the ifconfig variables as 823.Va ifconfig_ Ns Aq Ar interface 824they should be set as 825.Va ipv6_ifconfig_ Ns Aq Ar interface . 826Aliases should be set as 827.Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n . 828Interfaces that do not have a 829.Va ipv6_ifconfig_ Ns Aq Ar interface 830setting will be auto configured by 831.Xr rtsol 8 832if the 833.Va ipv6_gateway_enable 834is set to 835.Dq Li NO . 836Note that the IPv6 networking code does not support the 837.Pa /etc/start_if. Ns Aq Ar interface 838files. 839.It Va ipv6_prefix_ Ns Aq Ar interface 840.Pq Vt str 841Assign prefix to 842.Ar interface , 843prefixlen 64 is used. 844.It Va ipv6_default_interface 845.Pq Vt str 846If not set to 847.Dq Li NO , 848this is the default output interface for scoped addresses. 849Now this works only for IPv6 link local multicast addresses. 850.It Va cloned_interfaces 851.Pq Vt str 852Set to the list of clonable network interfaces to create on this host. 853Entries in 854.Va cloned_interfaces 855are automatically appended to 856.Va network_interfaces 857for configuration. 858.It Va gif_interfaces 859.Pq Vt str 860Set to the list of 861.Xr gif 4 862tunnel interfaces to configure on this host. 863A 864.Va gifconfig_ Ns Aq Ar interface 865variable is assumed to exist for each value of 866.Ar interface . 867The value of this variable is used to configure the link layer of the 868tunnel according to the syntax of the 869.Cm tunnel 870option to 871.Xr ifconfig 8 . 872Additionally, this option ensures that each listed interface is created via the 873.Cm create 874option to 875.Xr ifconfig 8 876before attempting to configure it. 877.It Va sppp_interfaces 878.Pq Vt str 879Set to the list of 880.Xr sppp 4 881interfaces to configure on this host. 882A 883.Va spppconfig_ Ns Aq Ar interface 884variable is assumed to exist for each value of 885.Ar interface . 886Each interface should also be configured by a general 887.Va ifconfig_ Ns Aq Ar interface 888setting. 889Refer to 890.Xr spppcontrol 8 891for more information about available options. 892.It Va ppp_enable 893.Pq Vt bool 894If set to 895.Dq Li YES , 896run the 897.Xr ppp 8 898daemon. 899.It Va ppp_mode 900.Pq Vt str 901Mode in which to run the 902.Xr ppp 8 903daemon. 904Accepted modes are 905.Dq Li auto , 906.Dq Li ddial , 907.Dq Li direct 908and 909.Dq Li dedicated . 910See the manual for a full description. 911.It Va ppp_nat 912.Pq Vt bool 913If set to 914.Dq Li YES , 915enables network address translation. 916Used in conjunction with 917.Va gateway_enable 918allows hosts on private network addresses access to the Internet using 919this host as a network address translating router. 920.It Va ppp_profile 921.Pq Vt str 922The name of the profile to use from 923.Pa /etc/ppp/ppp.conf . 924Also used for per-profile overrides of 925.Va ppp_ Ns Ao Ar profile Ac Ns _unit . 926Where the profile contains any of the characters 927.Dq Li .-/+ 928they are translated to 929.Dq Li _ 930for the purposes of the override variable names. 931.It Va ppp_ Ns Ao Ar profile Ac Ns _unit 932.Pq Vt int 933Set the unit number to be used for this profile. 934See the manual description of 935.Fl unit Ns Ar N 936in 937.Xr ppp 8 938for details. 939.It Va ppp_user 940.Pq Vt str 941The name of the user under which 942.Xr ppp 8 943should be started. 944By default, 945.Xr ppp 8 946is started as 947.Dq Li root . 948.It Va rc_conf_files 949.Pq Vt str 950This option is used to specify a list of files that will override 951the settings in 952.Pa /etc/defaults/rc.conf . 953The files will be read in the order in which they are specified and should 954include the full path to the file. 955By default, the files specified are 956.Pa /etc/rc.conf 957and 958.Pa /etc/rc.conf.local 959.It Va fsck_y_enable 960.Pq Vt bool 961If set to 962.Dq Li YES , 963.Xr fsck 8 964will be run with the 965.Fl y 966flag if the initial preen of the file systems fails. 967.It Va netfs_types 968.Pq Vt str 969List of file system types that are network-based. 970This list should generally not be modified by end users. 971Use 972.Va extra_netfs_types 973instead. 974.It Va extra_netfs_types 975.Pq Vt str 976If set to something other than 977.Dq Li NO 978(the default), this variable extends the list of file system types 979for which automatic mounting at startup by 980.Xr rc 8 981should be delayed until the network is initialized. 982It should contain 983a whitespace-separated list of network file system descriptor pairs, 984each consisting of a file system type as passed to 985.Xr mount 8 986and a human-readable, one-word description, joined with a colon 987.Pq Ql \&: . 988Extending the default list in this way is only necessary 989when third party file system types are used. 990.It Va devfs_config_files 991.Pq Vt str 992This option is used to specify a list of configuration files containing 993.Xr devfs 5 994rules that will be applied by 995.Xr devfsctl 8 996in the order in which they are specified and must include the full path 997to the file. 998.It Va syslogd_enable 999.Pq Vt bool 1000If set to 1001.Dq Li YES , 1002run the 1003.Xr syslogd 8 1004daemon. 1005.It Va syslogd_program 1006.Pq Vt str 1007Path to 1008.Xr syslogd 8 1009(default 1010.Pa /usr/sbin/syslogd ) . 1011.It Va syslogd_flags 1012.Pq Vt str 1013If 1014.Va syslogd_enable 1015is set to 1016.Dq Li YES , 1017these are the flags to pass to 1018.Xr syslogd 8 . 1019.It Va inetd_enable 1020.Pq Vt bool 1021If set to 1022.Dq Li YES , 1023run the 1024.Xr inetd 8 1025daemon. 1026.It Va inetd_program 1027.Pq Vt str 1028Path to 1029.Xr inetd 8 1030(default 1031.Pa /usr/sbin/inetd ) . 1032.It Va inetd_flags 1033.Pq Vt str 1034If 1035.Va inetd_enable 1036is set to 1037.Dq Li YES , 1038these are the flags to pass to 1039.Xr inetd 8 . 1040.It Va rwhod_enable 1041.Pq Vt bool 1042If set to 1043.Dq Li YES , 1044run the 1045.Xr rwhod 8 1046daemon at boot time. 1047.It Va rwhod_flags 1048.Pq Vt str 1049If 1050.Va rwhod_enable 1051is set to 1052.Dq Li YES , 1053these are the flags to pass to it. 1054.It Va amd_enable 1055.Pq Vt bool 1056If set to 1057.Dq Li YES , 1058run the 1059.Xr amd 8 1060daemon at boot time. 1061.It Va amd_flags 1062.Pq Vt str 1063If 1064.Va amd_enable 1065is set to 1066.Dq Li YES , 1067these are the flags to pass to it. 1068See the 1069.Xr amd 8 1070manpage for more information. 1071.It Va amd_map_program 1072.Pq Vt str 1073If set, the specified program is run to get the list of 1074.Xr amd 8 1075maps. 1076For example, if the 1077.Xr amd 8 1078maps are stored in NIS, one can set this to run 1079.Xr ypcat 1 1080to get a list of 1081.Xr amd 8 1082maps from the 1083.Pa amd.master 1084NIS map. 1085.It Va update_motd 1086.Pq Vt bool 1087If set to 1088.Dq Li YES , 1089.Pa /etc/motd 1090will be updated at boot time to reflect the kernel release being run. 1091If set to 1092.Dq Li NO , 1093.Pa /etc/motd 1094will not be updated. 1095.It Va nfs_client_enable 1096.Pq Vt bool 1097If set to 1098.Dq Li YES , 1099setup NFS client parameters at boot time. 1100.It Va nfs_access_cache 1101.Pq Vt int 1102If 1103.Va nfs_client_enable 1104is set to 1105.Dq Li YES , 1106this can be set to 1107.Dq Li 0 1108to disable NFS ACCESS RPC caching, or to the number of seconds for which 1109NFS ACCESS results should be cached. 1110A value of 2-10 seconds will substantially reduce network traffic for 1111many NFS operations. 1112The default is 5 seconds. 1113Note that the attribute cache holds stat information only. 1114The NFS data cache is independent of the attribute cache and is only 1115invalidated when the client detects that the server has modified the 1116underlying file. 1117This value specifies a maximum timeout. 1118The NFS client will automatically use a shorter timeout for files which 1119have been recently modified. 1120.It Va nfs_neg_cache 1121.Pq Vt int 1122If 1123.Va nfs_client_enable 1124is set to 1125.Dq Li YES , 1126this can be set to 1127.Dq Li 0 1128to disable the caching of NEGATIVE LOOKUPS (lookups of non-existent 1129filenames), or to the number of seconds for which negative lookups should 1130be cached. 1131A value of 2-10 seconds will substantially reduce network 1132traffic for many NFS operations, especially source code builds. 1133The default is 3 seconds. 1134.It Va nfs_server_enable 1135.Pq Vt bool 1136If set to 1137.Dq Li YES , 1138run the NFS server daemons at boot time. 1139.It Va nfs_server_flags 1140.Pq Vt str 1141If 1142.Va nfs_server_enable 1143is set to 1144.Dq Li YES , 1145these are the flags to pass to the 1146.Xr nfsd 8 1147daemon. 1148.It Va mountd_enable 1149.Pq Vt bool 1150If set to 1151.Dq Li YES , 1152and no 1153.Va nfs_server_enable 1154is set, start 1155.Xr mountd 8 , 1156but not 1157.Xr nfsd 8 1158daemon. 1159It is commonly needed to run CFS without real NFS used. 1160.It Va mountd_flags 1161.Pq Vt str 1162If 1163.Va mountd_enable 1164is set to 1165.Dq Li YES , 1166these are the flags to pass to the 1167.Xr mountd 8 1168daemon. 1169.It Va weak_mountd_authentication 1170.Pq Vt bool 1171If set to 1172.Dq Li YES , 1173allow services like PCNFSD to make non-privileged mount requests. 1174.It Va nfs_reserved_port_only 1175.Pq Vt bool 1176If set to 1177.Dq Li YES , 1178provide NFS services only on a secure port. 1179.It Va nfs_bufpackets 1180.Pq Vt int 1181If set to a number, indicates the number of packets worth of 1182socket buffer space to reserve on an NFS client. 1183The kernel default is typically 4. 1184Using a higher number may be useful on gigabit networks to improve performance. 1185The minimum value is 2 and the maximum is 64. 1186.It Va rpc_umntall_enable 1187.Pq Vt bool 1188If set to 1189.Dq Li YES 1190(default) and we are also an NFS client, run 1191.Xr rpc.umntall 8 1192at boot time to clear out old mounts on remote servers. 1193If set to 1194.Dq Li NO 1195then 1196.Xr rpc.umntall 8 1197will not be run at boot time. 1198.It Va rpc_lockd_enable 1199.Pq Vt bool 1200If set to 1201.Dq Li YES 1202and also an NFS server, run 1203.Xr rpc.lockd 8 1204at boot time. 1205.It Va rpc_lockd_flags 1206.Pq Vt str 1207If 1208.Va rpc_lockd_enable 1209is set to 1210.Dq Li YES , 1211these are the flags to pass to 1212.Xr rpc.lockd 8 . 1213.It Va rpc_statd_enable 1214.Pq Vt bool 1215If set to 1216.Dq Li YES 1217and also an NFS server, run 1218.Xr rpc.statd 8 1219at boot time. 1220.It Va rpc_statd_flags 1221.Pq Vt str 1222If 1223.Va rpc_statd_enable 1224is set to 1225.Dq Li YES , 1226these are the flags to pass to 1227.Xr rpc.statd 8 . 1228.It Va rpcbind_program 1229.Pq Vt str 1230Path to program for rpcbind daemon 1231(default 1232.Pa /usr/sbin/rpcbind ) . 1233.It Va rpcbind_enable 1234.Pq Vt bool 1235If set to 1236.Dq Li YES , 1237run 1238.Va rpcbind_program 1239at boot time. 1240.It Va rpcbind_flags 1241.Pq Vt str 1242If 1243.Va rpcbind_enable 1244is set to 1245.Dq Li YES , 1246these are the flags to pass to 1247.Va rpcbind_program . 1248.It Va keyserv_enable 1249.Pq Vt bool 1250If set to 1251.Dq Li YES , 1252run the 1253.Xr keyserv 8 1254daemon on boot for running Secure RPC. 1255.It Va keyserv_flags 1256.Pq Vt str 1257If 1258.Va keyserv_enable 1259is set to 1260.Dq Li YES , 1261these are the flags to pass to 1262.Xr keyserv 8 1263daemon. 1264.It Va pppoed_enable 1265.Pq Vt bool 1266If set to 1267.Dq Li YES , 1268run the 1269.Xr pppoed 8 1270daemon at boot time to provide PPP over Ethernet services. 1271.It Va pppoed_provider 1272.Pq Vt str 1273.Xr pppoed 8 1274listens to requests to this provider and ultimately runs 1275.Xr ppp 8 1276with a 1277.Ar system 1278argument of the same name. 1279.It Va pppoed_flags 1280.Pq Vt str 1281Additional flags to pass to 1282.Xr pppoed 8 . 1283.It Va pppoed_interface 1284.Pq Vt str 1285The network interface to run 1286.Xr pppoed 8 1287on. 1288This is mandatory when 1289.Va pppoed_enable 1290is set to 1291.Dq Li YES . 1292.It Va timed_enable 1293.Pq Vt bool 1294If set to 1295.Dq Li YES , 1296run the 1297.Xr timed 8 1298service at boot time. 1299This command is intended for networks of machines where a consistent 1300.Dq "network time" 1301for all hosts must be established. 1302This is often useful in large NFS environments where time stamps on 1303files are expected to be consistent network-wide. 1304.It Va timed_flags 1305.Pq Vt str 1306If 1307.Va timed_enable 1308is set to 1309.Dq Li YES , 1310these are the flags to pass to the 1311.Xr timed 8 1312service. 1313.It Va dntpd_enable 1314.Pq Vt bool 1315If set to 1316.Dq Li YES , 1317run 1318.Xr dntpd 8 1319at system boot time. 1320.It Va dntpd_program 1321.Pq Vt str 1322Path to 1323.Xr dntpd 8 1324(default 1325.Pa /usr/sbin/dntpd ) . 1326.It Va dntpd_flags 1327.Pq Vt str 1328If 1329.Va dntpd_enable 1330is set to 1331.Dq Li YES , 1332these are the flags to pass to the 1333.Xr dntpd 8 1334daemon. 1335.It Va btconfig_enable 1336.Pq Vt bool 1337If set to 1338.Dq Li YES , 1339configure Bluetooth devices via 1340.Xr btconfig 8 1341at system boot time. 1342.It Va btconfig_devices 1343.Pq Vt str 1344If 1345.Va btconfig_enable 1346is set to 1347.Dq Li YES , 1348this is the list of Bluetooth devices to configure. 1349If 1350.Va btconfig_devices 1351is not specified, all devices known to the system will be configured. 1352A 1353.Va btconfig_ Ns Aq Ar device 1354variable can be set to specify parameters to be passed to 1355.Ar device . 1356.It Va btconfig_args 1357.Pq Vt str 1358If 1359.Va btconfig_enable 1360is set to 1361.Dq Li YES , 1362this is the list of configuration parameters to pass to all Bluetooth 1363devices. 1364.It Va sdpd_enable 1365.Pq Vt bool 1366If set to 1367.Dq Li YES , 1368run the Service Discovery Profile daemon 1369.Xr ( sdpd 8 ) 1370at system boot time. 1371.It Va sdpd_flags 1372.Pq Vt str 1373If 1374.Va sdpd_enable 1375is set to 1376.Dq Li YES , 1377these are the flags to pass to the 1378.Xr sdpd 8 1379daemon. 1380.It Va bthcid_enable 1381.Pq Vt bool 1382If set to 1383.Dq Li YES , 1384run the Bluetooth Link Key/PIN Code Manager daemon 1385.Xr ( bthcid 8 ) 1386at system boot time. 1387.It Va bthcid_flags 1388.Pq Vt str 1389If 1390.Va bthcid_enable 1391is set to 1392.Dq Li YES , 1393these are the flags to pass to the 1394.Xr bthcid 8 1395daemon. 1396.It Va nis_client_enable 1397.Pq Vt bool 1398If set to 1399.Dq Li YES , 1400run the 1401.Xr ypbind 8 1402service at system boot time. 1403.It Va nis_client_flags 1404.Pq Vt str 1405If 1406.Va nis_client_enable 1407is set to 1408.Dq Li YES , 1409these are the flags to pass to the 1410.Xr ypbind 8 1411service. 1412.It Va nis_ypset_enable 1413.Pq Vt bool 1414If set to 1415.Dq Li YES , 1416run the 1417.Xr ypset 8 1418daemon at system boot time. 1419.It Va nis_ypset_flags 1420.Pq Vt str 1421If 1422.Va nis_ypset_enable 1423is set to 1424.Dq Li YES , 1425these are the flags to pass to the 1426.Xr ypset 8 1427daemon. 1428.It Va nis_server_enable 1429.Pq Vt bool 1430If set to 1431.Dq Li YES , 1432run the 1433.Xr ypserv 8 1434daemon at system boot time. 1435.It Va nis_server_flags 1436.Pq Vt str 1437If 1438.Va nis_server_enable 1439is set to 1440.Dq Li YES , 1441these are the flags to pass to the 1442.Xr ypserv 8 1443daemon. 1444.It Va nis_ypxfrd_enable 1445.Pq Vt bool 1446If set to 1447.Dq Li YES , 1448run the 1449.Xr rpc.ypxfrd 8 1450daemon at system boot time. 1451.It Va nis_ypxfrd_flags 1452.Pq Vt str 1453If 1454.Va nis_ypxfrd_enable 1455is set to 1456.Dq Li YES , 1457these are the flags to pass to the 1458.Xr rpc.ypxfrd 8 1459daemon. 1460.It Va nis_yppasswdd_enable 1461.Pq Vt bool 1462If set to 1463.Dq Li YES , 1464run the 1465.Xr rpc.yppasswdd 8 1466daemon at system boot time. 1467.It Va nis_yppasswdd_flags 1468.Pq Vt str 1469If 1470.Va nis_yppasswdd_enable 1471is set to 1472.Dq Li YES , 1473these are the flags to pass to the 1474.Xr rpc.yppasswdd 8 1475daemon. 1476.It Va rpc_ypupdated_enable 1477.Pq Vt bool 1478If set to 1479.Dq Li YES , 1480run the 1481.Nm rpc.ypupdated 1482daemon at system boot time. 1483.It Va defaultrouter 1484.Pq Vt str 1485If not set to 1486.Dq Li NO , 1487create a default route to this host name or IP address 1488(use an IP address if this router is also required to get to the 1489name server!). 1490.It Va ipv6_defaultrouter 1491.Pq Vt str 1492The IPv6 equivalent of 1493.Va defaultrouter . 1494.It Va static_routes 1495.Pq Vt str 1496Set to the list of static routes that are to be added at system boot time. 1497If not set to 1498.Dq Li NO 1499then for each whitespace separated 1500.Ar element 1501in the value, a 1502.Va route_ Ns Aq Ar element 1503variable is assumed to exist whose contents will later be passed to a 1504.Dq Nm route Cm add 1505operation. 1506.It Va change_routes 1507.Pq Vt str 1508Set to the list of static routes that are to be changed at system boot time 1509(such as those added by the kernel). 1510If not set to 1511.Dq Li NO 1512then for each whitespace separated 1513.Ar element 1514in the value, a 1515.Va change_route_ Ns Aq Ar element 1516variable is assumed to exist whose contents will later be passed to a 1517.Dq Nm route Cm change 1518operation. 1519.It Va ipv6_static_routes 1520.Pq Vt str 1521The IPv6 equivalent of 1522.Va static_routes . 1523If not set to 1524.Dq Li NO 1525then for each whitespace separated 1526.Ar element 1527in the value, a 1528.Va ipv6_route_ Ns Aq Ar element 1529variable is assumed to exist whose contents will later be passed to a 1530.Dq Nm route Cm add Fl inet6 1531operation. 1532.It Va gateway_enable 1533.Pq Vt bool 1534If set to 1535.Dq Li YES , 1536configure host to act as an IP router, e.g. to forward packets 1537between interfaces. 1538.It Va ipv6_gateway_enable 1539.Pq Vt bool 1540The IPv6 equivalent of 1541.Va gateway_enable . 1542.It Va router_enable 1543.Pq Vt bool 1544If set to 1545.Dq Li YES , 1546run a routing daemon of some sort, based on the settings of 1547.Va router_program 1548and 1549.Va router_flags . 1550.It Va ipv6_router_enable 1551.Pq Vt bool 1552The IPv6 equivalent of 1553.Va router_enable . 1554If set to 1555.Dq Li YES , 1556run a routing daemon of some sort, based on the settings of 1557.Va ipv6_router_program 1558and 1559.Va ipv6_router_flags . 1560.It Va router_program 1561.Pq Vt str 1562If 1563.Va router_enable 1564is set to 1565.Dq Li YES , 1566this is the name of the routing daemon to use 1567(default 1568.Pa /sbin/routed ) . 1569.It Va ipv6_router_program 1570.Pq Vt str 1571The IPv6 equivalent of 1572.Va router_program 1573(default 1574.Pa /sbin/route6d ) . 1575.It Va router_flags 1576.Pq Vt str 1577If 1578.Va router_enable 1579is set to 1580.Dq Li YES , 1581these are the flags to pass to the routing daemon. 1582.It Va ipv6_router_flags 1583.Pq Vt str 1584The IPv6 equivalent of 1585.Va router_flags . 1586.It Va mrouted_enable 1587.Pq Vt bool 1588If set to 1589.Dq Li YES , 1590run the multicast routing daemon, 1591.Xr mrouted 8 . 1592.It Va mroute6d_enable 1593.Pq Vt bool 1594The IPv6 equivalent of 1595.Va mrouted_enable . 1596If set to 1597.Dq Li YES , 1598run the IPv6 multicast routing daemon. 1599Note that no IPv6 multicast routing daemon is included in the 1600.Dx 1601base system but 1602.Xr pim6dd 8 1603can be installed from the 1604.Xr dports 7 1605collection 1606.Pa ( net/mcast-tools ) . 1607.It Va mrouted_flags 1608.Pq Vt str 1609If 1610.Va mrouted_enable 1611is set to 1612.Dq Li YES , 1613these are the flags to pass to the 1614.Xr mrouted 8 1615daemon. 1616.It Va mroute6d_flags 1617.Pq Vt str 1618The IPv6 equivalent of 1619.Va mrouted_flags . 1620If 1621.Va mroute6d_enable 1622is set to 1623.Dq Li YES , 1624these are the flags passed to the IPv6 multicast routing daemon. 1625.It Va mroute6d_program 1626.Pq Vt str 1627If 1628.Va mroute6d_enable 1629is set to 1630.Dq Li YES , 1631this is the path to the IPv6 multicast routing daemon. 1632.It Va rtadvd_enable 1633.Pq Vt bool 1634If set to 1635.Dq Li YES , 1636run the 1637.Xr rtadvd 8 1638daemon at boot time. 1639.Xr rtadvd 8 1640will only run if 1641.Va ipv6_gateway_enable 1642is also set to 1643.Dq Li YES . 1644The 1645.Xr rtadvd 8 1646utility sends router advertisement packets to the interfaces specified in 1647.Va rtadvd_interfaces . 1648.Xr rtadvd 8 1649and should only be enabled with great care. 1650You may want to fine-tune 1651.Xr rtadvd.conf 5 . 1652.It Va rtadvd_interfaces 1653.Pq Vt str 1654If 1655.Va rtadvd_enable 1656is set to 1657.Dq Li YES 1658this is the list of interfaces to use. 1659.It Va rtsold_enable 1660.Pq Vt bool 1661If set to 1662.Dq Li YES , 1663run the 1664.Xr rtsold 8 1665daemon at boot time. 1666The 1667.Xr rtsold 8 1668daemon is used for automatic discovery of non-link local addresses. 1669.It Va rtsold_flags 1670.Pq Vt str 1671If 1672.Va rtsold_enable 1673is set to 1674.Dq Li YES , 1675these are the flags to pass to the 1676.Xr rtsold 8 1677daemon. 1678.It Va arpproxy_all 1679.Pq Vt bool 1680If set to 1681.Dq Li YES , 1682enable global proxy ARP. 1683.It Va forward_sourceroute 1684.Pq Vt bool 1685If set to 1686.Dq Li YES 1687and 1688.Va gateway_enable 1689is also set to 1690.Dq Li YES , 1691source-routed packets are forwarded. 1692.It Va accept_sourceroute 1693.Pq Vt bool 1694If set to 1695.Dq Li YES , 1696the system will accept source-routed packets directed at it. 1697.It Va rarpd_enable 1698.Pq Vt bool 1699If set to 1700.Dq Li YES , 1701run the 1702.Xr rarpd 8 1703daemon at system boot time. 1704.It Va rarpd_flags 1705.Pq Vt str 1706If 1707.Va rarpd_enable 1708is set to 1709.Dq Li YES , 1710these are the flags to pass to the 1711.Xr rarpd 8 1712daemon. 1713.It Va bootparamd_enable 1714.Pq Vt bool 1715If set to 1716.Dq Li YES , 1717run the 1718.Xr bootparamd 8 1719daemon at system boot time. 1720.It Va bootparamd_flags 1721.Pq Vt str 1722If 1723.Va bootparamd_enable 1724is set to 1725.Dq Li YES , 1726these are the flags to pass to the 1727.Xr bootparamd 8 1728daemon. 1729.It Va stf_interface_ipv4addr 1730.Pq Vt str 1731If not set to 1732.Dq Li NO , 1733this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling interface). 1734Specify this entry to enable the 6to4 interface. 1735.It Va stf_interface_ipv4plen 1736.Pq Vt int 1737Prefix length for 6to4 IPv4 addresses, to limit peer address range. 1738An effective value is 0-31. 1739.It Va stf_interface_ipv6_ifid 1740.Pq Vt str 1741IPv6 interface ID for 1742.Xr stf 4 . 1743This can be set to 1744.Dq Li AUTO . 1745.It Va stf_interface_ipv6_slaid 1746.Pq Vt str 1747IPv6 Site Level Aggregator for 1748.Xr stf 4 . 1749.It Va ipv6_faith_prefix 1750.Pq Vt str 1751If not set to 1752.Dq Li NO , 1753this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP translator. 1754You also need 1755.Xr faithd 8 1756setup. 1757.It Va keybell 1758.Pq Vt str 1759The keyboard bell sound. 1760Set to 1761.Dq Li normal , 1762.Dq Li visual , 1763.Dq Li off , 1764or 1765.Dq Li NO 1766if the default behavior is desired. 1767For details, refer to the 1768.Xr kbdcontrol 1 1769manpage. 1770.It Va keymap 1771.Pq Vt str 1772If set to 1773.Dq Li NO , 1774no keymap is installed, otherwise the value is used to install 1775the keymap file in 1776.Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd . 1777.It Va keyrate 1778.Pq Vt str 1779The keyboard repeat speed. 1780Set to 1781.Dq Li slow , 1782.Dq Li normal , 1783.Dq Li fast , 1784or 1785.Dq Li NO 1786if the default behavior is desired. 1787.It Va keychange 1788.Pq Vt str 1789If not set to 1790.Dq Li NO , 1791attempt to program the function keys with the value. 1792The value should be a single string of the form: 1793.Dq Ar funkey_number new_value Op Ar funkey_number new_value ... . 1794.It Va cursor 1795.Pq Vt str 1796Can be set to the value of 1797.Dq Li normal , 1798.Dq Li blink , 1799.Dq Li destructive , 1800or 1801.Dq Li NO 1802to set the cursor behavior explicitly or choose the default behavior. 1803.It Va scrnmap 1804.Pq Vt str 1805If set to 1806.Dq Li NO , 1807no screen map is installed, otherwise the value is used to install 1808the screen map file in 1809.Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value . 1810.It Va font8x16 1811.Pq Vt str 1812If set to 1813.Dq Li NO , 1814the default 8x16 font value is used for screen size requests, otherwise 1815the value in 1816.Pa /usr/share/syscons/fonts/ Ns Aq Ar value 1817is used. 1818.It Va font8x14 1819.Pq Vt str 1820If set to 1821.Dq Li NO , 1822the default 8x14 font value is used for screen size requests, otherwise 1823the value in 1824.Pa /usr/share/syscons/fonts/ Ns Aq Ar value 1825is used. 1826.It Va font8x8 1827.Pq Vt str 1828If set to 1829.Dq Li NO , 1830the default 8x8 font value is used for screen size requests, otherwise 1831the value in 1832.Pa /usr/share/syscons/fonts/ Ns Aq Ar value 1833is used. 1834.It Va blanktime 1835.Pq Vt int 1836If set to 1837.Dq Li NO , 1838the default screen blanking interval is used, otherwise it is set to 1839.Ar value 1840seconds. 1841.It Va saver 1842.Pq Vt str 1843If not set to 1844.Dq Li NO , 1845this is the actual screen saver to use 1846.Li ( blank , snake , daemon , 1847etc). 1848.It Va moused_nondefault_enable 1849.Pq Vt str 1850If set to 1851.Dq Li NO , 1852the mouse device specified on 1853the command line is not automatically treated as enabled by the 1854.Pa /etc/rc.d/moused 1855script. 1856Having this variable set to 1857.Dq Li YES 1858allows a 1859.Xr usb 4 1860mouse, 1861for example, 1862to be enabled as soon as it is plugged in. 1863.It Va moused_enable 1864.Pq Vt str 1865If set to 1866.Dq Li YES , 1867the 1868.Xr moused 8 1869daemon is started for doing cut/paste selection on the console. 1870.It Va moused_type 1871.Pq Vt str 1872This is the protocol type of the mouse connected to this host. 1873This variable must be set if 1874.Va moused_enable 1875is set to 1876.Dq Li YES . 1877The 1878.Xr moused 8 1879daemon 1880is able to detect the appropriate mouse type automatically in many cases. 1881Set this variable to 1882.Dq Li auto 1883to let the daemon detect it, or 1884select one from the following list if the automatic detection fails. 1885.Pp 1886If the mouse is attached to the PS/2 mouse port, choose 1887.Dq Li auto 1888or 1889.Dq Li ps/2 , 1890regardless of the brand and model of the mouse. 1891Likewise, if the mouse is attached to the bus mouse port, choose 1892.Dq Li auto 1893or 1894.Dq Li busmouse . 1895All other protocols are for serial mice and will not work with 1896the PS/2 and bus mice. 1897If this is a USB mouse, 1898.Dq Li auto 1899is the only protocol type which will work. 1900.Pp 1901.Bl -tag -width ".Li x10mouseremote" -compact 1902.It Li microsoft 1903Microsoft mouse (serial) 1904.It Li intellimouse 1905Microsoft IntelliMouse (serial) 1906.It Li mousesystems 1907Mouse systems Corp. mouse (serial) 1908.It Li mmseries 1909MM Series mouse (serial) 1910.It Li logitech 1911Logitech mouse (serial) 1912.It Li busmouse 1913A bus mouse 1914.It Li mouseman 1915Logitech MouseMan and TrackMan (serial) 1916.It Li glidepoint 1917ALPS GlidePoint (serial) 1918.It Li thinkingmouse 1919Kensington ThinkingMouse (serial) 1920.It Li ps/2 1921PS/2 mouse 1922.It Li mmhittab 1923MM HitTablet (serial) 1924.It Li x10mouseremote 1925X10 MouseRemote (serial) 1926.It Li versapad 1927Interlink VersaPad (serial) 1928.El 1929.Pp 1930Even if the mouse is not in the above list, it may be compatible 1931with one in the list. 1932Refer to the man page for 1933.Xr moused 8 1934for compatibility information. 1935.Pp 1936It should also be noted that while this is enabled, any 1937other client of the mouse (such as an X server) should access 1938the mouse through the virtual mouse device, 1939.Pa /dev/sysmouse , 1940and configure it as a 1941.Dq Li sysmouse 1942type mouse, since all 1943mouse data is converted to this single canonical format when using 1944.Xr moused 8 . 1945If the client program does not support the 1946.Dq Li sysmouse 1947type, specify the 1948.Dq Li mousesystems 1949type. 1950It is the second preferred type. 1951.It Va moused_port 1952.Pq Vt str 1953If 1954.Va moused_enable 1955is set to 1956.Dq Li YES , 1957this is the actual port the mouse is on. 1958It might be 1959.Pa /dev/cuaa0 1960for a COM1 serial mouse or 1961.Pa /dev/psm0 1962for a PS/2 mouse, for example. 1963.It Va moused_flags 1964.Pq Vt str 1965If 1966.Va moused_type 1967is set, these are the additional flags to pass to the 1968.Xr moused 8 1969daemon. 1970.It Va mousechar_start 1971.Pq Vt int 1972If set to 1973.Dq Li NO , 1974the default mouse cursor character range 1975.Li 0xd0 Ns - Ns Li 0xd3 1976is used, otherwise the range start is set to 1977.Ar value 1978character, see 1979.Xr vidcontrol 1 . 1980Use if the default range is occupied in the language code table. 1981.It Va vidhistory 1982.Pq Vt int 1983Set the size of the history (scrollback) buffer in lines. 1984.It Va allscreens_flags 1985.Pq Vt str 1986If set, 1987.Xr vidcontrol 1 1988is run with these options for each of the virtual terminals 1989.Pq Pa /dev/ttyv* . 1990For example, 1991.Dq Fl m Cm on 1992will enable the mouse pointer on all virtual terminals if 1993.Va moused_enable 1994is set to 1995.Dq Li YES . 1996.It Va allscreens_kbdflags 1997.Pq Vt str 1998If set, 1999.Xr kbdcontrol 1 2000is run with these options for each of the virtual terminals 2001.Pq Pa /dev/ttyv* . 2002For example, 2003.Dq Fl h Li 200 2004will set the 2005.Xr syscons 4 2006scrollback (history) buffer to 200 lines. 2007.It Va cron_enable 2008.Pq Vt bool 2009If set to 2010.Dq Li YES , 2011run the 2012.Xr cron 8 2013daemon at system boot time. 2014.It Va cron_program 2015.Pq Vt str 2016Path to 2017.Xr cron 8 2018(default 2019.Pa /usr/sbin/cron ) . 2020.It Va cron_flags 2021.Pq Vt str 2022If 2023.Va cron_enable 2024is set to 2025.Dq Li YES , 2026these are the flags to pass to 2027.Xr cron 8 . 2028.It Va lpd_program 2029.Pq Vt str 2030Path to 2031.Xr lpd 8 2032(default 2033.Pa /usr/sbin/lpd ) . 2034.It Va lpd_enable 2035.Pq Vt bool 2036If set to 2037.Dq Li YES , 2038run the 2039.Xr lpd 8 2040daemon at system boot time. 2041.It Va lpd_flags 2042.Pq Vt str 2043If 2044.Va lpd_enable 2045is set to 2046.Dq Li YES , 2047these are the flags to pass to the 2048.Xr lpd 8 2049daemon. 2050.It Va nscd_enable 2051.Pq Vt bool 2052If set to 2053.Dq Li YES , 2054run the 2055.Xr nscd 8 2056daemon at system boot time. 2057.It Va mixer_enable 2058.Pq Vt bool 2059If set to 2060.Dq Li YES , 2061preserve 2062.Xr mixer 8 2063settings across reboots. 2064.It Va mta_start_script 2065.Pq Vt str 2066The full path to the script to run to start 2067a mail transfer agent. 2068The default is 2069.Pa /etc/rc.sendmail . 2070The 2071.Va sendmail_* 2072variables which 2073.Pa /etc/rc.sendmail 2074uses are documented in the 2075.Xr rc.sendmail 8 2076man page. 2077.It Va fixbootfile 2078.Pq Vt bool 2079In a 2080.Sq HAMMER ROOT with UFS /boot 2081setup, the boot loader will not set up the 2082.Va kern.bootfile 2083sysctl correctly. 2084The system will attempt to fix this on its own. 2085Set this variable to 2086.Dq Li NO 2087to turn this behavior off. 2088.It Va dumpdev 2089.Pq Vt str 2090Indicates the device (usually a swap partition) to which a crash dump 2091should be written in the event of a system crash. 2092The value of this variable is passed as the argument to 2093.Xr dumpon 8 2094and 2095.Xr savecore 8 . 2096To disable crash dumps, set this variable to 2097.Dq Li NO . 2098.It Va dumpdir 2099.Pq Vt str 2100When the system reboots after a crash and a crash dump is found on the 2101device specified by the 2102.Va dumpdev 2103variable, 2104.Xr savecore 8 2105will save that crash dump and a copy of the kernel to the directory 2106specified by the 2107.Va dumpdir 2108variable. 2109The default value is 2110.Pa /var/crash . 2111Set to 2112.Dq Li NO 2113to not run 2114.Xr savecore 8 2115at boot time when 2116.Va dumpdir 2117is set. 2118.It Va savecore_flags 2119.Pq Vt str 2120If crash dumps are enabled, these are the flags to pass to the 2121.Xr savecore 8 2122utility. 2123.It Va crashinfo_enable 2124.Pq Vt bool 2125Set to 2126.Dq Li YES 2127to turn on automatic crash dump summary generation using the utility 2128specified by the 2129.Va crashinfo_program 2130variable. 2131.It Va crashinfo_program 2132.Pq Vt str 2133Program to run to generate a crash dump summary if the variable 2134.Va crashinfo_enable 2135is set to 2136.Dq Li YES . 2137The default value is 2138.Pa /usr/sbin/crashinfo . 2139.It Va enable_quotas 2140.Pq Vt bool 2141Set to 2142.Dq Li YES 2143to turn on user disk quotas on system startup via the 2144.Xr quotaon 8 2145command. 2146.It Va check_quotas 2147.Pq Vt bool 2148Set to 2149.Dq Li YES 2150to enable user disk quota checking via the 2151.Xr quotacheck 8 2152command. 2153.It Va accounting_enable 2154.Pq Vt bool 2155Set to 2156.Dq Li YES 2157to enable system accounting through the 2158.Xr accton 8 2159facility. 2160.It Va linux_enable 2161.Pq Vt bool 2162Set to 2163.Dq Li YES 2164to enable Linux/ELF binary emulation at system initial boot time. 2165.\" ----- cleanvar_enable setting-------------------------------- 2166.It Va cleanvar_enable 2167.Pq Vt bool 2168Set to 2169.Dq Li YES 2170to have 2171.Pa /var/run , 2172.Pa /var/spool/lock 2173and 2174.Pa /var/spool/uucp/.Temp/* 2175cleaned at startup. 2176.\" ----- clear_tmp_enable setting------------------------------- 2177.It Va clear_tmp_enable 2178.Pq Vt bool 2179Set to 2180.Dq Li YES 2181to have 2182.Pa /tmp 2183cleaned at startup. 2184.\" ----- ldconfig_paths setting -------------------------------- 2185.It Va ldconfig_paths 2186.Pq Vt str 2187Set to the list of shared library paths to use with 2188.Xr ldconfig 8 . 2189NOTE: 2190.Pa /usr/lib 2191will always be added first, so it need not appear in this list. 2192.It Va ldconfig_insecure 2193.Pq Vt bool 2194The 2195.Xr ldconfig 8 2196utility normally refuses to use directories 2197which are writable by anyone except root. 2198Set this variable to 2199.Dq Li YES 2200to disable that security check during system startup. 2201.It Va ldconfig_local_dirs 2202.Pq Vt str 2203Set to the list of local 2204.Xr ldconfig 8 2205directories. 2206The names of all files in the directories listed will be 2207passed as arguments to 2208.Xr ldconfig 8 . 2209.It Va kern_securelevel 2210.Pq Vt int 2211The kernel security level to set at startup. 2212The allowed range of 2213.Ar value 2214ranges from \-1 (the compile time default) to 3 (the most secure). 2215See 2216.Xr init 8 2217for the list of possible security levels and their effect on system operation. 2218.It Va start_vinum 2219.Pq Vt bool 2220Set to 2221.Dq Li YES 2222to start 2223.Xr vinum 8 2224at system boot time. 2225.It Va sshd_enable 2226.Pq Vt bool 2227Set to 2228.Dq Li YES 2229to start 2230.Xr sshd 8 2231at system boot time. 2232.It Va sshd_program 2233.Pq Vt str 2234Path to the SSH server program 2235(default 2236.Pa /usr/sbin/sshd ) . 2237.It Va sshd_flags 2238.Pq Vt str 2239If 2240.Va sshd_enable 2241is set to 2242.Dq Li YES , 2243these are the flags to pass to the 2244.Xr sshd 8 2245daemon. 2246.It Va ftpd_enable 2247.Pq Vt bool 2248Set to 2249.Dq Li YES 2250to start 2251.Xr ftpd 8 2252at system boot time. 2253.It Va ftpd_flags 2254.Pq Vt str 2255If 2256.Va ftpd_enable 2257is set to 2258.Dq Li YES , 2259these are the flags to pass to the 2260.Xr ftpd 8 2261daemon. 2262.It Va watchdogd_enable 2263.Pq Vt bool 2264If set to 2265.Dq Li YES , 2266start the 2267.Xr watchdogd 8 2268daemon at boot time. 2269This requires that the kernel have been compiled with 2270.Cd "options WATCHDOG" . 2271.It Va jail_enable 2272.Pq Vt bool 2273If set to 2274.Dq Li NO , 2275any configured jails will not be started. 2276.It Va jail_list 2277.Pq Vt str 2278A space separated list of names for jails. 2279This is purely a configuration aid to help identify and 2280configure multiple jails. 2281The names specified in this list will be used to 2282identify settings common to an instance of a jail. 2283Assuming that the jail in question was named 2284.Li vjail , 2285you would have the following dependent variables: 2286.Bd -literal 2287jail_vjail_hostname="jail.example.com" 2288jail_vjail_ip="192.168.1.100" 2289jail_vjail_rootdir="/var/jails/vjail/root" 2290.Ed 2291.It Va jail_flags 2292.Pq Vt str 2293Unset by default. 2294When set, use as default value for 2295.Va jail_ Ns Ao Ar jname Ac Ns Va _flags 2296for every jail in 2297.Va jail_list . 2298.It Va jail_interface 2299.Pq Vt str 2300Unset by default. 2301When set, use as default value for 2302.Va jail_ Ns Ao Ar jname Ac Ns Va _interface 2303for every jail in 2304.Va jail_list . 2305.It Va jail_fstab 2306.Pq Vt str 2307Unset by default. 2308When set, use as default value for 2309.Va jail_ Ns Ao Ar jname Ac Ns Va _fstab 2310for every jail in 2311.Va jail_list . 2312.It Va jail_mount_enable 2313.Pq Vt bool 2314Set to 2315.Dq Li NO 2316by default. 2317When set to 2318.Dq Li YES , 2319sets 2320.Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable 2321to 2322.Dq Li YES 2323by default for every jail in 2324.Va jail_list . 2325.It Va jail_procfs_enable 2326.Pq Vt bool 2327Set to 2328.Dq Li NO 2329by default. 2330When set to 2331.Dq Li YES , 2332sets 2333.Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable 2334to 2335.Dq Li YES 2336by default for every jail in 2337.Va jail_list . 2338.It Va jail_devfs_enable 2339.Pq Vt bool 2340Set to 2341.Dq Li NO 2342by default. 2343When set to 2344.Dq Li YES , 2345sets 2346.Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable 2347to 2348.Dq Li YES 2349by default for every jail in 2350.Va jail_list . 2351.It Va jail_exec_start 2352.Pq Vt str 2353Unset by default. 2354When set, use as default value for 2355.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start 2356for every jail in 2357.Va jail_list . 2358.It Va jail_exec_stop 2359Unset by default. 2360When set, use as default value for 2361.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop 2362for every jail in 2363.Va jail_list . 2364.It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir 2365.Pq Vt str 2366Unset by default. 2367Set to the root directory used by jail 2368.Va jname . 2369.It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname 2370.Pq Vt str 2371Unset by default. 2372Set to the fully qualified domain name (FQDN) assigned to jail 2373.Va jname . 2374.It Va jail_ Ns Ao Ar jname Ac Ns Va _ip 2375.Pq Vt str 2376Unset by default. 2377Set to the IP address assigned to jail 2378.Va jname . 2379.It Va jail_ Ns Ao Ar jname Ac Ns Va _flags 2380.Pq Vt str 2381Set to 2382.Dq Li -l -U root 2383by default. 2384These are flags to pass to 2385.Xr jail 8 . 2386.It Va jail_ Ns Ao Ar jname Ac Ns Va _interface 2387.Pq Vt str 2388Unset by default. 2389When set, sets the interface to use when setting IP address alias. 2390Note that the alias is created at jail startup and removed at jail shutdown. 2391.It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab 2392.Pq Vt str 2393Set to 2394.Pa /etc/fstab. Ns Aq Ar jname 2395by default. 2396This is the file system information file to use for jail 2397.Va jname . 2398.It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable 2399.Pq Vt bool 2400Set to 2401.Dq Li NO 2402by default. 2403When set to 2404.Dq Li YES , 2405mount all file systems from 2406.Va jail_ Ns Ao Ar jname Ac Ns Va _fstab 2407at jail startup. 2408.It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable 2409.Pq Vt bool 2410Set to 2411.Dq Li NO 2412by default. 2413When set to 2414.Dq Li YES , 2415mount the process file system inside jail 2416.Ar jname 2417at jail startup. 2418.It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable 2419.Pq Vt bool 2420Set to 2421.Dq Li NO 2422by default. 2423When set to 2424.Dq Li YES , 2425mount the device file system inside jail 2426.Ar jname 2427at jail startup. 2428.It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start 2429.Pq Vt str 2430Set to 2431.Dq Li /bin/sh /etc/rc 2432by default. 2433This is the command executed at jail startup. 2434.It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop 2435.Pq Vt str 2436Set to 2437.Dq Li /bin/sh /etc/rc.shutdown 2438by default. 2439This is the command executed at jail shutdown. 2440.It Va jail_set_hostname_allow 2441.Pq Vt bool 2442If set to 2443.Dq Li NO , 2444do not allow the root user in a jail to set its hostname. 2445.It Va jail_socket_unixiproute_only 2446.Pq Vt bool 2447If set to 2448.Dq Li YES , 2449do not allow any sockets, 2450besides UNIX/IP/route sockets, 2451to be used within a jail. 2452.It Va jail_sysvipc_allow 2453.Pq Vt bool 2454If set to 2455.Dq Li YES , 2456allow applications within a jail to use System V IPC. 2457.It Va lvm_enable 2458.Pq Vt bool 2459If set to 2460.Dq Li YES 2461LVM volumes will be discovered and configured on boot. 2462.It Va newsyslog_enable 2463.Pq Vt bool 2464If set to 2465.Dq Li YES , 2466run 2467.Xr newsyslog 8 2468before syslogd starts. 2469.It Va newsyslog_flags 2470.Pq Vt str 2471If 2472.Va newsyslog_enable 2473is set to 2474.Dq Li YES , 2475these are the flags passed to 2476.Xr newsyslog 8 . 2477.It Va resident_enable 2478.Pq Vt bool 2479If set to 2480.Dq Li YES , 2481make the dynamic binaries listed in 2482.Pa /etc/resident.conf 2483resident. 2484.It Va varsym_enable 2485.Pq Vt bool 2486If set to 2487.Dq Li YES , 2488process 2489.Pa /etc/varsym.conf 2490to set system-wide variables for variant symlinks. 2491.It Va rand_irqs 2492.Pq Vt str 2493Set either to 2494.Dq Li NO 2495or a whitespace separated list of IRQ numbers which will be used as a source of 2496randomness. 2497.\" ----------------------------------------------------- 2498.It Va entropy_dir 2499.Pq Vt str 2500Set to 2501.Dq Li NO 2502to disable caching entropy via 2503.Xr cron 8 . 2504Otherwise set to the directory used to store entropy files in. 2505.It Va entropy_file 2506.Pq Vt str 2507Set to 2508.Dq Li NO 2509to disable caching entropy through reboots. 2510Otherwise set to the filename used to store cached entropy through reboots. 2511This file should be located on the root file system to seed the 2512.Xr random 4 2513device as early as possible in the boot process. 2514.It Va entropy_save_sz 2515.Pq Vt int 2516Determines the size of the entropy cache files used for entropy cached 2517through reboots and also entropy cached via 2518.Xr cron 8 . 2519The entropy is fed to the system in blocks of 512 bytes, so this number 2520should be large enough to fill as many of the entropy pools in the kernel 2521CSPRNG as possible. 2522By default, it is set to 16384, which should be able to seed all 32 entropy 2523pools in the Fortuna CSPRNG. 2524.It Va ipsec_enable 2525.Pq Vt bool 2526Set to 2527.Dq Li YES 2528to run 2529.Xr setkey 8 2530on 2531.Va ipsec_file 2532at boot time. 2533.It Va ipsec_file 2534.Pq Vt str 2535Configuration file for 2536.Xr setkey 8 . 2537.It Va dmesg_enable 2538.Pq Vt bool 2539Set to 2540.Dq Li YES 2541to save 2542.Xr dmesg 8 2543to 2544.Pa /var/run/dmesg.boot 2545on boot. 2546.It Va rcshutdown_timeout 2547.Pq Vt int 2548If set, start a watchdog timer in the background which will terminate 2549.Pa rc.shutdown 2550if 2551.Xr shutdown 8 2552has not completed within the specified time (in seconds). 2553Notice that in addition to this soft timeout, 2554.Xr init 8 2555also applies a hard timeout for the execution of 2556.Pa rc.shutdown . 2557This is configured via 2558.Xr sysctl 8 2559variable 2560.Va kern.init_shutdown_timeout 2561and defaults to 120 seconds. Setting the value of 2562.Va rcshutdown_timeout 2563to more than 120 seconds will have no effect until the 2564.Xr sysctl 8 2565variable 2566.Va kern.init_shutdown_timeout 2567is also increased. 2568.It Va udevd_enable 2569.Pq Vt bool 2570If set to 2571.Dq Li YES , 2572the udevd daemon will be started on boot. 2573.It Va vfs_quota_enable 2574.Pq Vt bool 2575If set to 2576.Dq Li YES , 2577vfs quota rc.d scripts will be run on boot. 2578.It Va vfs_quota_sync 2579.Pq Vt str 2580List of mount points whose counters are to be synchronized with on-disk 2581usage during system startup. See also 2582.Xr vquota 8 . 2583.It Va vknetd_enable 2584.Pq Vt bool 2585If set to 2586.Dq Li YES , 2587.Xr vknetd 8 2588will be started on boot. 2589.It Va vknetd_flags 2590.Pq Vt bool 2591Additional flags passed to 2592.Xr vknetd 8 . 2593Usually address/cidrbits is specified here. 2594When no flags are passed, default option 2595.Fl U 2596will be used. 2597.It Va vkernel_enable 2598.Pq Vt bool 2599If set to 2600.Dq Li NO , 2601any configured vkernels will not be started. 2602.It Va vkernel_kill_timeout 2603.Pq Vt int 2604This defines the default number of seconds that we will wait for the 2605vkernel to shut down on it's own. If after this time it's still alive, 2606it will be killed with SIGKILL. 2607.It Va vkernel_bin 2608.Pq Vt str 2609Defines the default path to the vkernel binary. 2610.It Va vkernel_list 2611.Pq Vt str 2612A space separated list of names for vkernels. 2613This is purely a configuration aid to help identify and 2614configure multiple vkernels. 2615The names specified in this list will be used to 2616identify settings common to a vkernel instance. 2617Assuming that the vkernel in question was named 2618.Li example , 2619you would have the following dependent variables 2620(filled with reference values in this text): 2621.Bd -literal 2622vkernel_example_bin="/usr/obj/usr/src/sys/VKERNEL/kernel.debug" 2623vkernel_example_memsize="64m" 2624vkernel_example_rootimg_list="/var/vkernel/rootimg.01" 2625vkernel_example_iface_list="auto:bridge0" 2626vkernel_example_logfile="/dev/null" 2627vkernel_example_flags="-U" 2628vkernel_example_kill_timeout="45" 2629.Ed 2630.Pp 2631The last five are optional. 2632They default to an empty string if not set, except for logfile which defaults to 2633.Pa /dev/null 2634if it is not set. 2635.El 2636.Sh FILES 2637.Bl -tag -width ".Pa /etc/start_if. Ns Aq Ar interface" -compact 2638.It Pa /etc/defaults/rc.conf 2639.It Pa /etc/rc.conf 2640.It Pa /etc/rc.conf.local 2641.It Pa /etc/start_if. Ns Aq Ar interface 2642.El 2643.Sh SEE ALSO 2644.Xr catman 1 , 2645.Xr gdb 1 , 2646.Xr info 1 , 2647.Xr kbdcontrol 1 , 2648.Xr varsym 1 , 2649.Xr vidcontrol 1 , 2650.Xr ip 4 , 2651.Xr ipfw 4 , 2652.Xr kld 4 , 2653.Xr pf 4 , 2654.Xr tcp 4 , 2655.Xr udp 4 , 2656.Xr vlan 4 , 2657.Xr exports 5 , 2658.Xr motd 5 , 2659.Xr resident.conf 5 , 2660.Xr varsym.conf 5 , 2661.Xr accton 8 , 2662.Xr amd 8 , 2663.Xr apm 8 , 2664.Xr btconfig 8 , 2665.Xr bthcid 8 , 2666.Xr cron 8 , 2667.Xr devd 8 , 2668.Xr dhclient 8 , 2669.Xr dntpd 8 , 2670.Xr ftpd 8 , 2671.Xr ifconfig 8 , 2672.Xr inetd 8 , 2673.Xr jail 8 , 2674.Xr lpd 8 , 2675.Xr makewhatis 8 , 2676.Xr mixer 8 , 2677.Xr mountd 8 , 2678.Xr moused 8 , 2679.Xr mrouted 8 , 2680.Xr named 8 , 2681.Xr nfsd 8 , 2682.Xr pcnfsd 8 , 2683.Xr pfctl 8 , 2684.Xr pflogd 8 , 2685.Xr quotacheck 8 , 2686.Xr quotaon 8 , 2687.Xr rc 8 , 2688.Xr rc.sendmail 8 , 2689.Xr resident 8 , 2690.Xr rndcontrol 8 , 2691.Xr route 8 , 2692.Xr routed 8 , 2693.Xr rpcbind 8 , 2694.Xr rpc.lockd 8 , 2695.Xr rpc.statd 8 , 2696.Xr rtadvd 8 , 2697.Xr rtsold 8 , 2698.Xr rwhod 8 , 2699.Xr savecore 8 , 2700.Xr sdpd 8 , 2701.Xr sensorsd 8 , 2702.Xr sshd 8 , 2703.Xr swapon 8 , 2704.Xr sysctl 8 , 2705.Xr syslogd 8 , 2706.Xr sysvipcd 8 , 2707.Xr timed 8 , 2708.Xr vinum 8 , 2709.Xr yp 8 , 2710.Xr ypbind 8 , 2711.Xr ypserv 8 , 2712.Xr ypset 8 2713.Sh HISTORY 2714The 2715.Nm 2716file appeared in 2717.Fx 2.2.2 . 2718.Sh AUTHORS 2719.An Jordan K. Hubbard . 2720