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