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$ 26.\" 27.Dd April 6, 2007 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 system installation utility, 42.Xr sysinstall 8 . 43.Pp 44The purpose of 45.Nm 46is not to run commands or perform system startup actions 47directly. 48Instead, it is included by the 49various generic startup scripts in 50.Pa /etc 51which conditionalize their 52internal actions according to the settings found there. 53.Pp 54The 55.Pa /etc/rc.conf 56file is included from the file 57.Pa /etc/defaults/rc.conf , 58which specifies the default settings for all the available options. 59Options need only be specified in 60.Pa /etc/rc.conf 61when the system administrator wishes to override these defaults. 62The file 63.Pa /etc/rc.conf.local 64is used to override settings in 65.Pa /etc/rc.conf 66for historical reasons. 67See the 68.Va rc_conf_files 69variable below. 70.Pp 71Options are set with 72.Dq Ar name Ns Li = Ns Ar value 73assignments that use 74.Xr sh 1 75syntax. 76The following list provides a name and short description for each 77variable that can be set in the 78.Nm 79file: 80.Bl -tag -width indent-two 81.It Va rc_debug 82.Pq Vt bool 83If set to 84.Dq Li YES , 85enable output of debug messages from rc scripts. 86This variable can be helpful in diagnosing mistakes when 87editing or integrating new scripts. 88Beware that this produces copious output to the terminal and 89.Xr syslog 3 . 90.It Va rc_info 91.Pq Vt bool 92If set to 93.Dq Li NO , 94disable informational messages from the rc scripts. 95Informational messages are displayed when 96a condition that is not serious enough to warrant a warning or 97an error occurs. 98.It Va early_late_divider 99.Pq Vt str 100The name of the script that should be used as the 101delimiter between the 102.Dq early 103and 104.Dq late 105stages of the boot process. 106The early stage should contain all the services needed to 107get the disks (local or remote) mounted so that the late 108stage can include scripts contained in the directories 109listed in the 110.Va local_startup 111variable (see below). 112Thus, the two likely candidates for this value are 113.Pa mountcritlocal 114for the typical system, and 115.Pa mountcritremote 116if the system needs remote file 117systems mounted to get access to the 118.Va local_startup 119directories; for example when 120.Pa /usr/local 121is NFS mounted. 122For 123.Pa rc.conf 124within a 125.Xr jail 8 126.Pa NETWORKING 127is likely to be an appropriate value. 128Extreme care should be taken when changing this value, 129and before changing it one should ensure that there are 130adequate provisions to recover from a failed boot 131(such as physical contact with the machine, 132or reliable remote console access). 133.It Va swapfile 134.Pq Vt str 135If set to 136.Dq Li NO , 137no swapfile is installed, otherwise the value is used as the full 138pathname to a file to use for additional swap space. 139.It Va apm_enable 140.Pq Vt bool 141If set to 142.Dq Li YES , 143enable support for Automatic Power Management with 144the 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 devd_enable 163.Pq Vt bool 164Run 165.Xr devd 8 166to handle device added, removed or unknown events from the kernel. 167.It Va kldxref_enable 168.Pq Vt bool 169Set to 170.Dq Li NO 171by default. 172Set to 173.Dq Li YES 174to automatically rebuild 175.Pa linker.hints 176files with 177.Xr kldxref 8 178at boot time. 179.It Va kldxref_clobber 180.Pq Vt bool 181Set to 182.Dq Li NO 183by default. 184If 185.Va kldxref_enable 186is true, 187setting to 188.Dq Li YES 189will overwrite existing 190.Pa linker.hints 191files at boot time. 192Otherwise, 193only missing 194.Pa linker.hints 195files are generated. 196.It Va kldxref_module_path 197.Pq Vt str 198Empty by default. 199A semi-colon 200.Pq Ql \&; 201delimited list of paths containing 202.Xr kld 4 203modules. 204If empty, 205the contents of the 206.Va kern.module_path 207.Xr sysctl 8 208are used. 209.It Va powerd_enable 210.Pq Vt bool 211If set to 212.Dq Li YES , 213enable the system power control facility with the 214.Xr powerd 8 215daemon. 216.It Va powerd_flags 217.Pq Vt str 218If 219.Va powerd_enable 220is set to 221.Dq Li YES , 222these are the flags to pass to the 223.Xr powerd 8 224daemon. 225.It Va tmpmfs 226Controls the creation of a 227.Pa /tmp 228memory file system. 229Always happens if set to 230.Dq Li YES 231and never happens if set to 232.Dq Li NO . 233If set to anything else, a memory file system is created if 234.Pa /tmp 235is not writable. 236.It Va tmpsize 237Controls the size of a created 238.Pa /tmp 239memory file system. 240.It Va tmpmfs_flags 241Extra options passed to the 242.Xr mdmfs 8 243utility when the memory file system for 244.Pa /tmp 245is created. 246The default is 247.Dq Li "-S" , 248which inhibits the use of softupdates on 249.Pa /tmp 250so that file system space is freed without delay 251after file truncation or deletion. 252See 253.Xr mdmfs 8 254for other options you can use in 255.Va tmpmfs_flags . 256.It Va varmfs 257Controls the creation of a 258.Pa /var 259memory file system. 260Always happens if set to 261.Dq Li YES 262and never happens if set to 263.Dq Li NO . 264If set to anything else, a memory file system is created if 265.Pa /var 266is not writable. 267.It Va varsize 268Controls the size of a created 269.Pa /var 270memory file system. 271.It Va varmfs_flags 272Extra options passed to the 273.Xr mdmfs 8 274utility when the memory file system for 275.Pa /var 276is created. 277The default is 278.Dq Li "-S" , 279which inhibits the use of softupdates on 280.Pa /var 281so that file system space is freed without delay 282after file truncation or deletion. 283See 284.Xr mdmfs 8 285for other options you can use in 286.Va varmfs_flags . 287.It Va populate_var 288Controls the automatic population of the 289.Pa /var 290file system. 291Always happens if set to 292.Dq Li YES 293and never happens if set to 294.Dq Li NO . 295If set to anything else, a memory file system is created if 296.Pa /var 297is not writable. 298Note that this process requires access to certain commands in 299.Pa /usr 300before 301.Pa /usr 302is mounted on normal systems. 303.It Va cleanvar_enable 304.Pq Vt bool 305Clean the 306.Pa /var 307directory. 308.It Va local_startup 309.Pq Vt str 310List of directories to search for startup script files. 311.It Va script_name_sep 312.Pq Vt str 313The field separator to use for breaking down the list of startup script files 314into individual filenames. 315The default is a space. 316It is not necessary to change this unless there are startup scripts with names 317containing spaces. 318.It Va hostapd_enable 319.Pq Vt bool 320Set to 321.Dq Li YES 322to start 323.Xr hostapd 8 324at system boot time. 325.It Va hostname 326.Pq Vt str 327The fully qualified domain name (FQDN) of this host on the network. 328This should almost certainly be set to something meaningful, even if 329there is no network connection. 330If 331.Xr dhclient 8 332is used to set the hostname via DHCP, 333this variable should be set to an empty string. 334.It Va ipv6_enable 335.Pq Vt bool 336Enable support for IPv6 networking. 337Note that this requires that the kernel has been compiled with 338.Cd "options INET6" . 339.It Va nisdomainname 340.Pq Vt str 341The NIS domain name of this host, or 342.Dq Li NO 343if NIS is not used. 344.It Va dhclient_program 345.Pq Vt str 346Path to the DHCP client program 347.Pa ( /sbin/dhclient , 348the 349.Ox 350DHCP client, 351is the default). 352.It Va dhclient_flags 353.Pq Vt str 354Additional flags to pass to the DHCP client program. 355For the 356.Ox 357DHCP client, see the 358.Xr dhclient 8 359manpage for a description of the command line options available. 360.It Va dhclient_flags_ Ns Aq Ar iface 361Additional flags to pass to the DHCP client program running on 362.Ar iface 363only. 364When specified, this variable overrides 365.Va dhclient_flags . 366.It Va background_dhclient 367.Pq Vt bool 368Set to 369.Dq Li YES 370to start the DHCP client in background. 371This can cause trouble with applications depending on 372a working network, but it will provide a faster startup 373in many cases. 374.It Va background_dhclient_ Ns Aq Ar iface 375When specified, this variable overrides the 376.Va background_dhclient 377variable for interface 378.Ar iface 379only. 380.It Va synchronous_dhclient 381.Pq Bt bool 382Set to 383.Dq Li NO 384to start 385.Xr dhclient 8 386only in response to interface events and not synchronously at startup. 387This behavior can be overridden on a per-interface basis by replacing 388the 389.Dq Li DHCP 390keyword in the 391.Va ifconfig_ Ns Aq Ar interface 392variable with 393.Dq Li SYNCDHCP 394or 395.Dq Li NOSYNCDHCP . 396.It Va firewall_enable 397.Pq Vt bool 398Set to 399.Dq Li YES 400to load firewall rules at startup. 401If the kernel was not built with 402.Cd "options IPFIREWALL" , 403the 404.Pa ipfw.ko 405kernel module will be loaded. 406See also 407.Va ipfilter_enable . 408.It Va ipv6_firewall_enable 409.Pq Vt bool 410The IPv6 equivalent of 411.Va firewall_enable . 412Set to 413.Dq Li YES 414to load IPv6 firewall rules at startup. 415If the kernel was not built with 416.Cd "options IPV6FIREWALL" , 417the 418.Pa ipfw.ko 419kernel module will be loaded. 420.It Va firewall_script 421.Pq Vt str 422This variable specifies the full path to the firewall script to run. 423The default is 424.Pa /etc/rc.firewall . 425.It Va ipv6_firewall_script 426.Pq Vt str 427The IPv6 equivalent of 428.Va firewall_script . 429.It Va firewall_type 430.Pq Vt str 431Names the firewall type from the selection in 432.Pa /etc/rc.firewall , 433or the file which contains the local firewall ruleset. 434Valid selections from 435.Pa /etc/rc.firewall 436are: 437.Pp 438.Bl -tag -width ".Li simple" -compact 439.It Li open 440unrestricted IP access 441.It Li closed 442all IP services disabled, except via 443.Dq Li lo0 444.It Li client 445basic protection for a workstation 446.It Li simple 447basic protection for a LAN. 448.El 449.Pp 450If a filename is specified, the full path 451must be given. 452.It Va ipv6_firewall_type 453.Pq Vt str 454The IPv6 equivalent of 455.Va firewall_type . 456.It Va firewall_quiet 457.Pq Vt bool 458Set to 459.Dq Li YES 460to disable the display of firewall rules on the console during boot. 461.It Va ipv6_firewall_quiet 462.Pq Vt bool 463The IPv6 equivalent of 464.Va firewall_quiet . 465.It Va firewall_logging 466.Pq Vt bool 467Set to 468.Dq Li YES 469to enable firewall event logging. 470This is equivalent to the 471.Dv IPFIREWALL_VERBOSE 472kernel option. 473.It Va ipv6_firewall_logging 474.Pq Vt bool 475The IPv6 equivalent of 476.Va firewall_logging . 477.It Va firewall_flags 478.Pq Vt str 479Flags passed to 480.Xr ipfw 8 481if 482.Va firewall_type 483specifies a filename. 484.It Va ipv6_firewall_flags 485.Pq Vt str 486The IPv6 equivalent of 487.Va firewall_flags . 488.It Va natd_program 489.Pq Vt str 490Path to 491.Xr natd 8 . 492.It Va natd_enable 493.Pq Vt bool 494Set to 495.Dq Li YES 496to enable 497.Xr natd 8 . 498.Va firewall_enable 499must also be set to 500.Dq Li YES , 501and 502.Xr divert 4 503sockets must be enabled in the kernel. 504If the kernel was not built with 505.Cd "options IPDIVERT" , 506the 507.Pa ipdivert.ko 508kernel module will be loaded. 509.It Va natd_interface 510.Pq Vt str 511This is the name of the public interface on which 512.Xr natd 8 513should run. 514The interface may be given as an interface name or as an IP address. 515.It Va natd_flags 516.Pq Vt str 517Additional 518.Xr natd 8 519flags should be placed here. 520The 521.Fl n 522or 523.Fl a 524flag is automatically added with the above 525.Va natd_interface 526as an argument. 527.\" ----- ipfilter_enable setting -------------------------------- 528.It Va ipfilter_enable 529.Pq Vt bool 530Set to 531.Dq Li NO 532by default. 533Setting this to 534.Dq Li YES 535enables 536.Xr ipf 8 537packet filtering. 538.Pp 539Typical usage will require putting 540.Bd -literal 541ipfilter_enable="YES" 542ipnat_enable="YES" 543ipmon_enable="YES" 544ipfs_enable="YES" 545.Ed 546.Pp 547into 548.Pa /etc/rc.conf 549and editing 550.Pa /etc/ipf.rules 551and 552.Pa /etc/ipnat.rules 553appropriately. 554.Pp 555Note that 556.Va ipfilter_enable 557and 558.Va ipnat_enable 559can be enabled independently. 560.Va ipmon_enable 561and 562.Va ipfs_enable 563both require at least one of 564.Va ipfilter_enable 565and 566.Va ipnat_enable 567to be enabled. 568.Pp 569Having 570.Bd -literal 571options IPFILTER 572options IPFILTER_LOG 573options IPFILTER_DEFAULT_BLOCK 574.Ed 575.Pp 576in the kernel configuration file is a good idea, too. 577.\" ----- ipfilter_program setting ------------------------------ 578.It Va ipfilter_program 579.Pq Vt str 580Path to 581.Xr ipf 8 582(default 583.Pa /sbin/ipf ) . 584.\" ----- ipfilter_rules setting -------------------------------- 585.It Va ipfilter_rules 586.Pq Vt str 587Set to 588.Pa /etc/ipf.rules 589by default. 590This variable contains the name of the filter rule definition file. 591The file is expected to be readable for the 592.Xr ipf 8 593command to execute. 594.\" ----- ipv6_ipfilter_rules setting --------------------------- 595.It Va ipv6_ipfilter_rules 596.Pq Vt str 597Set to 598.Pa /etc/ipf6.rules 599by default. 600This variable contains the IPv6 filter rule definition file. 601The file is expected to be readable for the 602.Xr ipf 8 603command to execute. 604.\" ----- ipfilter_flags setting -------------------------------- 605.It Va ipfilter_flags 606.Pq Vt str 607Empty by default. 608This variable contains flags passed to the 609.Xr ipf 8 610program. 611.\" ----- ipnat_enable setting ---------------------------------- 612.It Va ipnat_enable 613.Pq Vt bool 614Set to 615.Dq Li NO 616by default. 617Set it to 618.Dq Li YES 619to enable 620.Xr ipnat 8 621network address translation. 622See 623.Va ipfilter_enable 624for a detailed discussion. 625.\" ----- ipnat_program setting --------------------------------- 626.It Va ipnat_program 627.Pq Vt str 628Path to 629.Xr ipnat 8 630(default 631.Pa /sbin/ipnat ) . 632.\" ----- ipnat_rules setting ----------------------------------- 633.It Va ipnat_rules 634.Pq Vt str 635Set to 636.Pa /etc/ipnat.rules 637by default. 638This variable contains the name of the file 639holding the network address translation definition. 640This file is expected to be readable for the 641.Xr ipnat 8 642command to execute. 643.\" ----- ipnat_flags setting ----------------------------------- 644.It Va ipnat_flags 645.Pq Vt str 646Empty by default. 647This variable contains flags passed to the 648.Xr ipnat 8 649program. 650.\" ----- ipmon_enable setting ---------------------------------- 651.It Va ipmon_enable 652.Pq Vt bool 653Set to 654.Dq Li NO 655by default. 656Set it to 657.Dq Li YES 658to enable 659.Xr ipmon 8 660monitoring (logging 661.Xr ipf 8 662and 663.Xr ipnat 8 664events). 665Setting this variable needs setting 666.Va ipfilter_enable 667or 668.Va ipnat_enable 669too. 670See 671.Va ipfilter_enable 672for a detailed discussion. 673.\" ----- ipmon_program setting --------------------------------- 674.It Va ipmon_program 675.Pq Vt str 676Path to 677.Xr ipmon 8 678(default 679.Pa /sbin/ipmon ) . 680.\" ----- ipmon_flags setting ----------------------------------- 681.It Va ipmon_flags 682.Pq Vt str 683Set to 684.Dq Li -Ds 685by default. 686This variable contains flags passed to the 687.Xr ipmon 8 688program. 689Another typical example would be 690.Dq Fl D Pa /var/log/ipflog 691to have 692.Xr ipmon 8 693log directly to a file bypassing 694.Xr syslogd 8 . 695Make sure to adjust 696.Pa /etc/newsyslog.conf 697in such case like this: 698.Bd -literal 699/var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid 700.Ed 701.\" ----- ipfs_enable setting ----------------------------------- 702.It Va ipfs_enable 703.Pq Vt bool 704Set to 705.Dq Li NO 706by default. 707Set it to 708.Dq Li YES 709to enable 710.Xr ipfs 8 711saving the filter and NAT state tables during shutdown 712and reloading them during startup again. 713Setting this variable needs setting 714.Va ipfilter_enable 715or 716.Va ipnat_enable 717to 718.Dq Li YES 719too. 720See 721.Va ipfilter_enable 722for a detailed discussion. 723Note that if 724.Va kern_securelevel 725is set to 3, 726.Va ipfs_enable 727cannot be used 728because the raised securelevel will prevent 729.Xr ipfs 8 730from saving the state tables at shutdown time. 731.\" ----- ipfs_program setting ---------------------------------- 732.It Va ipfs_program 733.Pq Vt str 734Path to 735.Xr ipfs 8 736(default 737.Pa /sbin/ipfs ) . 738.\" ----- ipfs_flags setting ------------------------------------ 739.It Va ipfs_flags 740.Pq Vt str 741Empty by default. 742This variable contains flags passed to the 743.Xr ipfs 8 744program. 745.\" ----- end of added ipf hook --------------------------------- 746.It Va pf_enable 747.Pq Vt bool 748Set to 749.Dq Li NO 750by default. 751Setting this to 752.Dq Li YES 753enables 754.Xr pf 4 755packet filtering. 756.Pp 757Typical usage will require putting 758.Pp 759.Dl pf_enable="YES" 760.Pp 761into 762.Pa /etc/rc.conf 763and editing 764.Pa /etc/pf.conf 765appropriately. 766.Pp 767.Dl "device pf" 768.Pp 769builds 770.Xr pf 4 771into the kernel. 772Otherwise it is loaded from a module. 773.It Va pf_rules 774.Pq Vt str 775Path to 776.Xr pf 4 777ruleset configuration file 778(default 779.Pa /etc/pf.conf ) . 780.It Va pf_program 781.Pq Vt str 782Path to 783.Xr pfctl 8 784(default 785.Pa /sbin/pfctl ) . 786.It Va pf_flags 787.Pq Vt str 788If 789.Va pf_enable 790is set to 791.Dq Li YES , 792these flags are passed to the 793.Xr pfctl 8 794program when loading the ruleset. 795.It Va pflog_enable 796.Pq Vt bool 797Set to 798.Dq Li NO 799by default. 800Setting this to 801.Dq Li YES 802enables 803.Xr pflogd 8 804which logs packets from the 805.Xr pf 4 806packet filter. 807.It Va pflog_logfile 808.Pq Vt str 809If 810.Va pflog_enable 811is set to 812.Dq Li YES 813this controls where 814.Xr pflogd 8 815stores the logfile 816(default 817.Pa /var/log/pflog ) . 818Check 819.Pa /etc/newsyslog.conf 820to adjust logfile rotation for this. 821.It Va pflog_program 822.Pq Vt str 823Path to 824.Xr pflogd 8 825(default 826.Pa /sbin/pflogd ) . 827.It Va pflog_flags 828.Pq Vt str 829Empty by default. 830This variable contains additional flags passed to the 831.Xr pflogd 8 832program. 833.It Va pfsync_enable 834.Pq Vt bool 835Set to 836.Dq Li NO 837by default. 838Setting this to 839.Dq Li YES 840enables exposing 841.Xr pf 4 842state changes to other hosts over the network by means of 843.Xr pfsync 4 . 844The 845.Va pfsync_syncdev 846variable 847must also be set then. 848.It Va pfsync_syncdev 849.Pq Vt str 850Empty by default. 851This variable specifies the name of the network interface 852.Xr pfsync 4 853should operate through. 854It must be set accordingly if 855.Va pfsync_enable 856is set to 857.Dq Li YES . 858.It Va pfsync_ifconfig 859.Pq Vt str 860Empty by default. 861This variable can contain additional options to be passed to the 862.Xr ifconfig 8 863command used to set up 864.Xr pfsync 4 . 865.It Va tcp_extensions 866.Pq Vt bool 867Set to 868.Dq Li YES 869by default. 870Setting this to 871.Dq Li NO 872disables certain TCP options as described by 873.Rs 874.%T "RFC 1323" 875.Re 876Setting this to 877.Dq Li NO 878might help remedy such problems with connections as randomly hanging 879or other weird behavior. 880Some network devices are known 881to be broken with respect to these options. 882.It Va log_in_vain 883.Pq Vt int 884Set to 0 by default. 885The 886.Xr sysctl 8 887variables, 888.Va net.inet.tcp.log_in_vain 889and 890.Va net.inet.udp.log_in_vain , 891as described in 892.Xr tcp 4 893and 894.Xr udp 4 , 895are set to the given value. 896.It Va tcp_keepalive 897.Pq Vt bool 898Set to 899.Dq Li YES 900by default. 901Setting to 902.Dq Li NO 903will disable probing idle TCP connections to verify that the 904peer is still up and reachable. 905.It Va tcp_drop_synfin 906.Pq Vt bool 907Set to 908.Dq Li NO 909by default. 910Setting to 911.Dq Li YES 912will cause the kernel to ignore TCP frames that have both 913the SYN and FIN flags set. 914This prevents OS fingerprinting, but may 915break some legitimate applications. 916This option is only available if the 917kernel was built with the 918.Dv TCP_DROP_SYNFIN 919option. 920.It Va icmp_drop_redirect 921.Pq Vt bool 922Set to 923.Dq Li NO 924by default. 925Setting to 926.Dq Li YES 927will cause the kernel to ignore ICMP REDIRECT packets. 928Refer to 929.Xr icmp 4 930for more information. 931.It Va icmp_log_redirect 932.Pq Vt bool 933Set to 934.Dq Li NO 935by default. 936Setting to 937.Dq Li YES 938will cause the kernel to log ICMP REDIRECT packets. 939Note that 940the log messages are not rate-limited, so this option should only be used 941for troubleshooting networks. 942Refer to 943.Xr icmp 4 944for more information. 945.It Va icmp_bmcastecho 946.Pq Vt bool 947Set to 948.Dq Li YES 949to respond to broadcast or multicast ICMP ping packets. 950Refer to 951.Xr icmp 4 952for more information. 953.It Va ip_portrange_first 954.Pq Vt int 955If not set to 956.Dq Li NO , 957this is the first port in the default portrange. 958Refer to 959.Xr ip 4 960for more information. 961.It Va ip_portrange_last 962.Pq Vt int 963If not set to 964.Dq Li NO , 965this is the last port in the default portrange. 966Refer to 967.Xr ip 4 968for more information. 969.It Va network_interfaces 970.Pq Vt str 971Set to the list of network interfaces to configure on this host or 972.Dq Li AUTO 973(the default) for all current interfaces. 974Setting the 975.Va network_interfaces 976variable to anything other than the default is deprecated. 977Interfaces that the administrator wishes to store configuration for, 978but not start at boot should be configured with the 979.Dq Li NOAUTO 980keyword in their 981.Va ifconfig_ Ns Aq Ar interface 982variables as described below. 983.Pp 984An 985.Va ifconfig_ Ns Aq Ar interface 986variable is also assumed to exist for each value of 987.Ar interface . 988When an interface name contains any of the characters 989.Dq Li .-/+ 990they are translated to 991.Dq Li _ 992before lookup. 993The variable can contain arguments to 994.Xr ifconfig 8 , 995as well as special case-insensitive keywords described below. 996Such keywords are removed before passing the value to 997.Xr ifconfig 8 998while the order of the other arguments is preserved. 999.Pp 1000One can configure more than one IPv4 address with the 1001.Va ipv4_addrs_ Ns Aq Ar interface 1002variable. 1003One or more IP addresses must be provided in Classless Inter-Domain 1004Routing (CIDR) address notation, whose last byte can be a range like 1005192.168.0.5-23/24. 1006In this case the address 192.168.0.5 will be configured with the 1007netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with 1008the non-conflicting netmask /32 as explained in the 1009.Xr ifconfig 8 1010alias section. 1011With the interface in question being 1012.Li ed0 , 1013an example could look like: 1014.Bd -literal 1015ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28" 1016.Ed 1017.Pp 1018It is also possible to add IP alias entries using 1019.Xr ifconfig 8 1020syntax. 1021Assuming that the interface in question was 1022.Li ed0 , 1023it might look 1024something like this: 1025.Bd -literal 1026ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff" 1027ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff" 1028.Ed 1029.Pp 1030And so on. 1031For each 1032.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 1033entry that is found, 1034its contents are passed to 1035.Xr ifconfig 8 . 1036Execution stops at the first unsuccessful access, so if 1037something like this is present: 1038.Bd -literal 1039ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff" 1040ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff" 1041ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff" 1042ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff" 1043.Ed 1044.Pp 1045Then note that alias4 would 1046.Em not 1047be added since the search would 1048stop with the missing 1049.Dq Li alias3 1050entry. 1051Due to this difficult to manage behavior, the 1052.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 1053form is deprecated. 1054.Pp 1055If the 1056.Pa /etc/start_if. Ns Aq Ar interface 1057file is present, it is read and executed by the 1058.Xr sh 1 1059interpreter 1060before configuring the interface as specified in the 1061.Va ifconfig_ Ns Aq Ar interface 1062and 1063.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n 1064variables. 1065.Pp 1066If the 1067.Va ifconfig_ Ns Aq Ar interface 1068contains the keyword 1069.Dq Li NOAUTO 1070then the interface will not be configured 1071at boot or by 1072.Pa /etc/pccard_ether 1073when 1074.Va network_interfaces 1075is set to 1076.Dq Li AUTO . 1077.Pp 1078It is possible to bring up an interface with DHCP by adding 1079.Dq Li DHCP 1080to the 1081.Va ifconfig_ Ns Aq Ar interface 1082variable. 1083For instance, to initialize the 1084.Li ed0 1085device via DHCP, 1086it is possible to use something like: 1087.Bd -literal 1088ifconfig_ed0="DHCP" 1089.Ed 1090.Pp 1091Also, if your interface needs WPA authentication, it is possible to add 1092.Dq Li WPA 1093to the 1094.Va ifconfig_ Ns Aq Ar interface 1095variable. 1096.Pp 1097Finally, you can add 1098.Xr ifconfig 8 1099options in this variable, in addition to the 1100.Pa /etc/start_if. Ns Aq Ar interface 1101file. 1102For instance, to initialize the 1103.Li wi0 1104device via DHCP, using WPA authentication and 802.11b mode, it is 1105possible to use something like: 1106.Bd -literal 1107ifconfig_wi0="DHCP WPA mode 11b" 1108.Ed 1109.Pp 1110In addition to the 1111.Va ifconfig_ Ns Aq Ar interface 1112form, a fallback variable 1113.Va ifconfig_DEFAULT 1114may be configured. 1115It will be used for all interfaces with no 1116.Va ifconfig_ Ns Aq Ar interface 1117variable. 1118This is intended to replace the no longer supported 1119.Va pccard_ifconfig 1120variable. 1121.Pp 1122It is also possible to rename interface by doing: 1123.Bd -literal 1124ifconfig_ed0_name="net0" 1125ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000" 1126.Ed 1127.It Va ipv6_network_interfaces 1128.Pq Vt str 1129This is the IPv6 equivalent of 1130.Va network_interfaces . 1131Instead of setting the ifconfig variables as 1132.Va ifconfig_ Ns Aq Ar interface 1133they should be set as 1134.Va ipv6_ifconfig_ Ns Aq Ar interface . 1135Aliases should be set as 1136.Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n . 1137.Va ipv6_prefix_ Ns Aq Ar interface 1138does something. 1139Interfaces that do not have a 1140.Va ipv6_ifconfig_ Ns Aq Ar interface 1141setting will be auto configured by 1142.Xr rtsol 8 1143if the 1144.Va ipv6_gateway_enable 1145is set to 1146.Dq Li NO . 1147Note that the IPv6 networking code does not support the 1148.Pa /etc/start_if. Ns Aq Ar interface 1149files. 1150.It Va ipv6_default_interface 1151.Pq Vt str 1152If not set to 1153.Dq Li NO , 1154this is the default output interface for scoped addresses. 1155Now this works only for IPv6 link local multicast addresses. 1156.It Va cloned_interfaces 1157.Pq Vt str 1158Set to the list of clonable network interfaces to create on this host. 1159Entries in 1160.Va cloned_interfaces 1161are automatically appended to 1162.Va network_interfaces 1163for configuration. 1164.It Va fec_interfaces 1165.Pq Vt str 1166Set to the list of 1167.Xr ng_fec 4 1168Fast EtherChannel interfaces to configure on this host. 1169A 1170.Va fecconfig_ Ns Aq Ar interface 1171variable is assumed to exist for each value of 1172.Ar interface . 1173The value of this variable is used to configure link aggregated interfaces 1174according to the syntax of the 1175.Cm NGM_FEC_ADD_IFACE 1176to 1177.Xr ngctl 8 1178msg. 1179Additionally, this option ensures that each listed interface is created 1180via the 1181.Cm mkpeer 1182command to 1183.Xr ngctl 8 1184before attempting to configure it. 1185For example: 1186.Bd -literal 1187fec_interfaces="fec0" 1188fecconfig_fec0="em0 em1" 1189ifconfig_fec0="DHCP" 1190.Ed 1191.It Va gif_interfaces 1192.Pq Vt str 1193Set to the list of 1194.Xr gif 4 1195tunnel interfaces to configure on this host. 1196A 1197.Va gifconfig_ Ns Aq Ar interface 1198variable is assumed to exist for each value of 1199.Ar interface . 1200The value of this variable is used to configure the link layer of the 1201tunnel according to the syntax of the 1202.Cm tunnel 1203option to 1204.Xr ifconfig 8 . 1205Additionally, this option ensures that each listed interface is created 1206via the 1207.Cm create 1208option to 1209.Xr ifconfig 8 1210before attempting to configure it. 1211.It Va sppp_interfaces 1212.Pq Vt str 1213Set to the list of 1214.Xr sppp 4 1215interfaces to configure on this host. 1216A 1217.Va spppconfig_ Ns Aq Ar interface 1218variable is assumed to exist for each value of 1219.Ar interface . 1220Each interface should also be configured by a general 1221.Va ifconfig_ Ns Aq Ar interface 1222setting. 1223Refer to 1224.Xr spppcontrol 8 1225for more information about available options. 1226.It Va ppp_enable 1227.Pq Vt bool 1228If set to 1229.Dq Li YES , 1230run the 1231.Xr ppp 8 1232daemon. 1233.It Va ppp_mode 1234.Pq Vt str 1235Mode in which to run the 1236.Xr ppp 8 1237daemon. 1238Accepted modes are 1239.Dq Li auto , 1240.Dq Li ddial , 1241.Dq Li direct 1242and 1243.Dq Li dedicated . 1244See the manual for a full description. 1245.It Va ppp_nat 1246.Pq Vt bool 1247If set to 1248.Dq Li YES , 1249enables network address translation. 1250Used in conjunction with 1251.Va gateway_enable 1252allows hosts on private network addresses access to the Internet using 1253this host as a network address translating router. 1254.It Va ppp_profile 1255.Pq Vt str 1256The name of the profile to use from 1257.Pa /etc/ppp/ppp.conf . 1258.It Va ppp_user 1259.Pq Vt str 1260The name of the user under which 1261.Xr ppp 8 1262should be started. 1263By 1264default, 1265.Xr ppp 8 1266is started as 1267.Dq Li root . 1268.It Va rc_conf_files 1269.Pq Vt str 1270This option is used to specify a list of files that will override 1271the settings in 1272.Pa /etc/defaults/rc.conf . 1273The files will be read in the order in which they are specified and should 1274include the full path to the file. 1275By default, the files specified are 1276.Pa /etc/rc.conf 1277and 1278.Pa /etc/rc.conf.local 1279.It Va zfs_enable 1280.Pq Vt bool 1281If set to 1282.Dq Li YES , 1283.Pa /etc/rc.d/zfs 1284will attempt to automatically mount ZFS file systems and initialize ZFS volumes 1285(ZVOLs). 1286.It Va gbde_autoattach_all 1287.Pq Vt bool 1288If set to 1289.Dq Li YES , 1290.Pa /etc/rc.d/gbde 1291will attempt to automatically initialize your .bde devices in 1292.Pa /etc/fstab . 1293.It Va gbde_devices 1294.Pq Vt str 1295List the devices that the script should try to attach, 1296or 1297.Dq Li AUTO . 1298.It Va gbde_lockdir 1299.Pq Vt str 1300The directory where the 1301.Xr gbde 4 1302lockfiles are located. 1303The default lockfile directory is 1304.Pa /etc . 1305.Pp 1306The lockfile for each individual 1307.Xr gbde 4 1308device can be overridden by setting the variable 1309.Va gbde_lock_ Ns Aq Ar device , 1310where 1311.Ar device 1312is the encrypted device without the 1313.Dq Pa /dev/ 1314and 1315.Dq Pa .bde 1316parts. 1317.It Va gbde_attach_attempts 1318.Pq Vt int 1319Number of times to attempt attaching to a 1320.Xr gbde 4 1321device, i.e., how many times the user is asked for the pass-phrase. 1322Default is 3. 1323.It Va geli_devices 1324.Pq Vt str 1325List of devices to automatically attach on boot. 1326Note that .eli devices from 1327.Pa /etc/fstab 1328are automatically appended to this list. 1329.It Va geli_tries 1330.Pq Vt int 1331Number of times user is asked for the pass-phrase. 1332If empty, it will be taken from 1333.Va kern.geom.eli.tries 1334sysctl variable. 1335.It Va geli_default_flags 1336.Pq Vt str 1337Default flags to use by 1338.Xr geli 8 1339when configuring disk encryption. 1340Flags can be configured for every device separately by defining 1341.Va geli_ Ns Ao Ar device Ac Ns Va _flags 1342variable. 1343.It Va geli_autodetach 1344.Pq Vt str 1345Specifies if GELI devices should be marked for detach on last close after 1346file systems are mounted. 1347Default is 1348.Dq Li YES . 1349This can be changed for every device separately by defining 1350.Va geli_ Ns Ao Ar device Ac Ns Va _autodetach 1351variable. 1352.It Va geli_swap_flags 1353Options passed to the 1354.Xr geli 8 1355utility when encrypted GEOM providers for swap partitions are created. 1356The default is 1357.Dq Li "-a aes -l 256 -s 4096 -d" . 1358.It Va root_rw_mount 1359.Pq Vt bool 1360Set to 1361.Dq Li YES 1362by default. 1363After the file systems are checked at boot time, the root file system 1364is remounted as read-write if this is set to 1365.Dq Li YES . 1366Diskless systems that mount their root file system from a read-only remote 1367NFS share should set this to 1368.Dq Li NO 1369in their 1370.Pa rc.conf . 1371.It Va fsck_y_enable 1372.Pq Vt bool 1373If set to 1374.Dq Li YES , 1375.Xr fsck 8 1376will be run with the 1377.Fl y 1378flag if the initial preen 1379of the file systems fails. 1380.It Va background_fsck 1381.Pq Vt bool 1382If set to 1383.Dq Li YES , 1384the system will attempt to run 1385.Xr fsck 8 1386in the background where possible. 1387.It Va background_fsck_delay 1388.Pq Vt int 1389The amount of time in seconds to sleep before starting a background 1390.Xr fsck 8 . 1391It defaults to sixty seconds to allow large applications such as 1392the X server to start before disk I/O bandwidth is monopolized by 1393.Xr fsck 8 . 1394If set to a negative number, the background file system check will be 1395delayed indefinitely to allow the administrator to run it at a more 1396convenient time. 1397For example it may be run from 1398.Xr cron 8 1399by adding a line like 1400.Pp 1401.Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart" 1402.Pp 1403to 1404.Pa /etc/crontab . 1405.It Va netfs_types 1406.Pq Vt str 1407List of file system types that are network-based. 1408This list should generally not be modified by end users. 1409Use 1410.Va extra_netfs_types 1411instead. 1412.It Va extra_netfs_types 1413.Pq Vt str 1414If set to something other than 1415.Dq Li NO 1416(the default), 1417this variable extends the list of file system types 1418for which automatic mounting at startup by 1419.Xr rc 8 1420should be delayed until the network is initialized. 1421It should contain 1422a whitespace-separated list of network file system descriptor pairs, 1423each consisting of a file system type as passed to 1424.Xr mount 8 1425and a human-readable, one-word description, 1426joined with a colon 1427.Pq Ql \&: . 1428Extending the default list in this way is only necessary 1429when third party file system types are used. 1430.It Va syslogd_enable 1431.Pq Vt bool 1432If set to 1433.Dq Li YES , 1434run the 1435.Xr syslogd 8 1436daemon. 1437.It Va syslogd_program 1438.Pq Vt str 1439Path to 1440.Xr syslogd 8 1441(default 1442.Pa /usr/sbin/syslogd ) . 1443.It Va syslogd_flags 1444.Pq Vt str 1445If 1446.Va syslogd_enable 1447is set to 1448.Dq Li YES , 1449these are the flags to pass to 1450.Xr syslogd 8 . 1451.It Va inetd_enable 1452.Pq Vt bool 1453If set to 1454.Dq Li YES , 1455run the 1456.Xr inetd 8 1457daemon. 1458.It Va inetd_program 1459.Pq Vt str 1460Path to 1461.Xr inetd 8 1462(default 1463.Pa /usr/sbin/inetd ) . 1464.It Va inetd_flags 1465.Pq Vt str 1466If 1467.Va inetd_enable 1468is set to 1469.Dq Li YES , 1470these are the flags to pass to 1471.Xr inetd 8 . 1472.It Va named_enable 1473.Pq Vt bool 1474If set to 1475.Dq Li YES , 1476run the 1477.Xr named 8 1478daemon. 1479.It Va named_program 1480.Pq Vt str 1481Path to 1482.Xr named 8 1483(default 1484.Pa /usr/sbin/named ) . 1485.It Va named_flags 1486.Pq Vt str 1487If 1488.Va named_enable 1489is set to 1490.Dq Li YES , 1491these are the flags to pass to 1492.Xr named 8 . 1493.It Va named_pidfile 1494.Pq Vt str 1495This is the default path to the 1496.Xr named 8 1497daemon's PID file. 1498This must match the location in 1499.Xr named.conf 5 . 1500.It Va named_uid 1501.Pq Vt str 1502The user that the 1503.Xr named 8 1504process should be run as. 1505.It Va named_chrootdir 1506.Pq Vt str 1507The root directory for a name server run in a 1508.Xr chroot 8 1509environment (default 1510.Pa /var/named ) . 1511If left empty 1512.Xr named 8 1513will not be run in a 1514.Xr chroot 8 1515environment. 1516.It Va named_chroot_autoupdate 1517.Pq Vt bool 1518Set to 1519.Dq Li NO 1520to disable automatic update of the 1521.Xr chroot 8 1522environment. 1523.It Va named_symlink_enable 1524.Pq Vt bool 1525Set to 1526.Dq Li NO 1527to disable symlinking of 1528daemon's PID file 1529into the 1530.Xr chroot 8 1531environment. 1532.It Va kerberos5_server_enable 1533.Pq Vt bool 1534Set to 1535.Dq Li YES 1536to start a Kerberos 5 authentication server 1537at boot time. 1538.It Va kerberos5_server 1539.Pq Vt str 1540If 1541.Va kerberos5_server_enable 1542is set to 1543.Dq Li YES 1544this is the path to Kerberos 5 Authentication Server. 1545.It Va kerberos5_server_flags 1546.Pq Vt str 1547Empty by default. 1548This variable contains additional flags to be passed to the Kerberos 5 1549authentication server. 1550.It Va kadmind5_server_enable 1551.Pq Vt bool 1552Set to 1553.Dq Li YES 1554to start 1555.Xr kadmind 8 , 1556the Kerberos 5 Administration Daemon; set to 1557.Dq Li NO 1558on a slave server. 1559.It Va kadmind5_server 1560.Pq Vt str 1561If 1562.Va kadmind5_server_enable 1563is set to 1564.Dq Li YES 1565this is the path to Kerberos 5 Administration Daemon. 1566.It Va kpasswdd_server_enable 1567.Pq Vt bool 1568Set to 1569.Dq Li YES 1570to start 1571.Xr kpasswdd 8 , 1572the Kerberos 5 Password-Changing Daemon; set to 1573.Dq Li NO 1574on a slave server. 1575.It Va kpasswdd_server 1576.Pq Vt str 1577If 1578.Va kpasswdd_server_enable 1579is set to 1580.Dq Li YES 1581this is the path to Kerberos 5 Password-Changing Daemon. 1582.It Va rwhod_enable 1583.Pq Vt bool 1584If set to 1585.Dq Li YES , 1586run the 1587.Xr rwhod 8 1588daemon at boot time. 1589.It Va rwhod_flags 1590.Pq Vt str 1591If 1592.Va rwhod_enable 1593is set to 1594.Dq Li YES , 1595these are the flags to pass to it. 1596.It Va amd_enable 1597.Pq Vt bool 1598If set to 1599.Dq Li YES , 1600run the 1601.Xr amd 8 1602daemon at boot time. 1603.It Va amd_flags 1604.Pq Vt str 1605If 1606.Va amd_enable 1607is set to 1608.Dq Li YES , 1609these are the flags to pass to it. 1610See the 1611.Xr amd 8 1612manpage for more information. 1613.It Va amd_map_program 1614.Pq Vt str 1615If set, 1616the specified program is run to get the list of 1617.Xr amd 8 1618maps. 1619For example, if the 1620.Xr amd 8 1621maps are stored in NIS, one can set this to 1622run 1623.Xr ypcat 1 1624to get a list of 1625.Xr amd 8 1626maps from the 1627.Pa amd.master 1628NIS map. 1629.It Va update_motd 1630.Pq Vt bool 1631If set to 1632.Dq Li YES , 1633.Pa /etc/motd 1634will be updated at boot time to reflect the kernel release 1635being run. 1636If set to 1637.Dq Li NO , 1638.Pa /etc/motd 1639will not be updated. 1640.It Va nfs_client_enable 1641.Pq Vt bool 1642If set to 1643.Dq Li YES , 1644run the NFS client daemons at boot time. 1645.It Va nfs_access_cache 1646.Pq Vt int 1647If 1648.Va nfs_client_enable 1649is set to 1650.Dq Li YES , 1651this can be set to 1652.Dq Li 0 1653to disable NFS ACCESS RPC caching, or to the number of seconds for which 1654NFS ACCESS 1655results should be cached. 1656A value of 2-10 seconds will substantially reduce network 1657traffic for many NFS operations. 1658.It Va nfs_server_enable 1659.Pq Vt bool 1660If set to 1661.Dq Li YES , 1662run the NFS server daemons at boot time. 1663.It Va nfs_server_flags 1664.Pq Vt str 1665If 1666.Va nfs_server_enable 1667is set to 1668.Dq Li YES , 1669these are the flags to pass to the 1670.Xr nfsd 8 1671daemon. 1672.It Va idmapd_enable 1673.Pq Vt bool 1674If set to 1675.Dq Li YES , 1676run the ID mapping daemon for NFS version 4. 1677.It Va idmapd_flags 1678.Pq Vt str 1679If 1680.Va idmapd_enable 1681is set to 1682.Dq Li YES , 1683these are the flags to pass to the 1684.Xr idmapd 8 1685daemon. 1686.It Va mountd_enable 1687.Pq Vt bool 1688If set to 1689.Dq Li YES , 1690and no 1691.Va nfs_server_enable 1692is set, start 1693.Xr mountd 8 , 1694but not 1695.Xr nfsd 8 1696daemon. 1697It is commonly needed to run CFS without real NFS used. 1698.It Va mountd_flags 1699.Pq Vt str 1700If 1701.Va mountd_enable 1702is set to 1703.Dq Li YES , 1704these are the flags to pass to the 1705.Xr mountd 8 1706daemon. 1707.It Va weak_mountd_authentication 1708.Pq Vt bool 1709If set to 1710.Dq Li YES , 1711allow services like PCNFSD to make non-privileged mount 1712requests. 1713.It Va nfs_reserved_port_only 1714.Pq Vt bool 1715If set to 1716.Dq Li YES , 1717provide NFS services only on a secure port. 1718.It Va nfs_bufpackets 1719.Pq Vt int 1720If set to a number, indicates the number of packets worth of 1721socket buffer space to reserve on an NFS client. 1722The kernel default is typically 4. 1723Using a higher number may be 1724useful on gigabit networks to improve performance. 1725The minimum value is 17262 and the maximum is 64. 1727.It Va rpc_lockd_enable 1728.Pq Vt bool 1729If set to 1730.Dq Li YES 1731and also an NFS server or client, run 1732.Xr rpc.lockd 8 1733at boot time. 1734.It Va rpc_lockd_flags 1735.Pq Vt str 1736If 1737.Va rpc_lockd_enable 1738is set to 1739.Dq Li YES , 1740these are the flags to pass to the 1741.Xr rpc.lockd 8 1742daemon. 1743.It Va rpc_statd_enable 1744.Pq Vt bool 1745If set to 1746.Dq Li YES 1747and also an NFS server or client, run 1748.Xr rpc.statd 8 1749at boot time. 1750.It Va rpc_statd_flags 1751.Pq Vt str 1752If 1753.Va rpc_statd_enable 1754is set to 1755.Dq Li YES , 1756these are the flags to pass to the 1757.Xr rpc.statd 8 1758daemon. 1759.It Va rpcbind_program 1760.Pq Vt str 1761Path to 1762.Xr rpcbind 8 1763(default 1764.Pa /usr/sbin/rpcbind ) . 1765.It Va rpcbind_enable 1766.Pq Vt bool 1767If set to 1768.Dq Li YES , 1769run the 1770.Xr rpcbind 8 1771service at boot time. 1772.It Va rpcbind_flags 1773.Pq Vt str 1774If 1775.Va rpcbind_enable 1776is set to 1777.Dq Li YES , 1778these are the flags to pass to the 1779.Xr rpcbind 8 1780daemon. 1781.It Va keyserv_enable 1782.Pq Vt bool 1783If set to 1784.Dq Li YES , 1785run the 1786.Xr keyserv 8 1787daemon on boot for running Secure RPC. 1788.It Va keyserv_flags 1789.Pq Vt str 1790If 1791.Va keyserv_enable 1792is set to 1793.Dq Li YES , 1794these are the flags to pass to 1795.Xr keyserv 8 1796daemon. 1797.It Va pppoed_enable 1798.Pq Vt bool 1799If set to 1800.Dq Li YES , 1801run the 1802.Xr pppoed 8 1803daemon at boot time to provide PPP over Ethernet services. 1804.It Va pppoed_ Ns Aq Ar provider 1805.Pq Vt str 1806.Xr pppoed 8 1807listens to requests to this 1808.Ar provider 1809and ultimately runs 1810.Xr ppp 8 1811with a 1812.Ar system 1813argument of the same name. 1814.It Va pppoed_flags 1815.Pq Vt str 1816Additional flags to pass to 1817.Xr pppoed 8 . 1818.It Va pppoed_interface 1819.Pq Vt str 1820The network interface to run 1821.Xr pppoed 8 1822on. 1823This is mandatory when 1824.Va pppoed_enable 1825is set to 1826.Dq Li YES . 1827.It Va timed_enable 1828.Pq Vt bool 1829If set to 1830.Dq Li YES , 1831run the 1832.Xr timed 8 1833service at boot time. 1834This command is intended for networks of 1835machines where a consistent 1836.Dq "network time" 1837for all hosts must be established. 1838This is often useful in large NFS 1839environments where time stamps on files are expected to be consistent 1840network-wide. 1841.It Va timed_flags 1842.Pq Vt str 1843If 1844.Va timed_enable 1845is set to 1846.Dq Li YES , 1847these are the flags to pass to the 1848.Xr timed 8 1849service. 1850.It Va ntpdate_enable 1851.Pq Vt bool 1852If set to 1853.Dq Li YES , 1854run 1855.Xr ntpdate 8 1856at system startup. 1857This command is intended to 1858synchronize the system clock only 1859.Em once 1860from some standard reference. 1861An option to set this up initially 1862(from a list of known servers) is also provided by the 1863.Xr sysinstall 8 1864program when the system is first installed. 1865.It Va ntpdate_config 1866.Pq Vt str 1867Configuration file for 1868.Xr ntpdate 8 . 1869Default 1870.Pa /etc/ntp.conf . 1871.It Va ntpdate_hosts 1872.Pq Vt str 1873A whitespace-separated list of NTP servers to synchronize with at startup. 1874The default is to use the servers listed in 1875.Va ntpdate_config , 1876if that file exists. 1877.It Va ntpdate_program 1878.Pq Vt str 1879Path to 1880.Xr ntpdate 8 1881(default 1882.Pa /usr/sbin/ntpdate ) . 1883.It Va ntpdate_flags 1884.Pq Vt str 1885If 1886.Va ntpdate_enable 1887is set to 1888.Dq Li YES , 1889these are the flags to pass to the 1890.Xr ntpdate 8 1891command (typically a hostname). 1892.It Va ntpd_enable 1893.Pq Vt bool 1894If set to 1895.Dq Li YES , 1896run the 1897.Xr ntpd 8 1898command at boot time. 1899.It Va ntpd_program 1900.Pq Vt str 1901Path to 1902.Xr ntpd 8 1903(default 1904.Pa /usr/sbin/ntpd ) . 1905.It Va ntpd_config 1906.Pq Vt str 1907Path to 1908.Xr ntpd 8 1909configuration file. 1910Default 1911.Pa /etc/ntp.conf . 1912.It Va ntpd_flags 1913.Pq Vt str 1914If 1915.Va ntpd_enable 1916is set to 1917.Dq Li YES , 1918these are the flags to pass to the 1919.Xr ntpd 8 1920daemon. 1921.It Va ntpd_sync_on_start 1922.Pq Vt bool 1923If set to 1924.Dq Li YES , 1925.Xr ntpd 8 1926is run with the 1927.Fl g 1928flag, which syncs the system's clock on startup. 1929See 1930.Xr ntpd 8 1931for more information regarding the 1932.Fl g 1933option. 1934This is a preferred alternative to using 1935.Xr ntpdate 8 1936or specifying the 1937.Va ntpdate_enable 1938variable. 1939.It Va nis_client_enable 1940.Pq Vt bool 1941If set to 1942.Dq Li YES , 1943run the 1944.Xr ypbind 8 1945service at system boot time. 1946.It Va nis_client_flags 1947.Pq Vt str 1948If 1949.Va nis_client_enable 1950is set to 1951.Dq Li YES , 1952these are the flags to pass to the 1953.Xr ypbind 8 1954service. 1955.It Va nis_ypset_enable 1956.Pq Vt bool 1957If set to 1958.Dq Li YES , 1959run the 1960.Xr ypset 8 1961daemon at system boot time. 1962.It Va nis_ypset_flags 1963.Pq Vt str 1964If 1965.Va nis_ypset_enable 1966is set to 1967.Dq Li YES , 1968these are the flags to pass to the 1969.Xr ypset 8 1970daemon. 1971.It Va nis_server_enable 1972.Pq Vt bool 1973If set to 1974.Dq Li YES , 1975run the 1976.Xr ypserv 8 1977daemon at system boot time. 1978.It Va nis_server_flags 1979.Pq Vt str 1980If 1981.Va nis_server_enable 1982is set to 1983.Dq Li YES , 1984these are the flags to pass to the 1985.Xr ypserv 8 1986daemon. 1987.It Va nis_ypxfrd_enable 1988.Pq Vt bool 1989If set to 1990.Dq Li YES , 1991run the 1992.Xr rpc.ypxfrd 8 1993daemon at system boot time. 1994.It Va nis_ypxfrd_flags 1995.Pq Vt str 1996If 1997.Va nis_ypxfrd_enable 1998is set to 1999.Dq Li YES , 2000these are the flags to pass to the 2001.Xr rpc.ypxfrd 8 2002daemon. 2003.It Va nis_yppasswdd_enable 2004.Pq Vt bool 2005If set to 2006.Dq Li YES , 2007run the 2008.Xr rpc.yppasswdd 8 2009daemon at system boot time. 2010.It Va nis_yppasswdd_flags 2011.Pq Vt str 2012If 2013.Va nis_yppasswdd_enable 2014is set to 2015.Dq Li YES , 2016these are the flags to pass to the 2017.Xr rpc.yppasswdd 8 2018daemon. 2019.It Va rpc_ypupdated_enable 2020.Pq Vt bool 2021If set to 2022.Dq Li YES , 2023run the 2024.Nm rpc.ypupdated 2025daemon at system boot time. 2026.It Va bsnmpd_enable 2027.Pq Vt bool 2028If set to 2029.Dq Li YES , 2030run the 2031.Xr bsnmpd 1 2032daemon at system boot time. 2033Be sure to understand the security implications of running SNMP daemon 2034on your host. 2035.It Va bsnmpd_flags 2036.Pq Vt str 2037If 2038.Va bsnmpd_enable 2039is set to 2040.Dq Li YES , 2041these are the flags to pass to the 2042.Xr bsnmpd 1 2043daemon. 2044.It Va defaultrouter 2045.Pq Vt str 2046If not set to 2047.Dq Li NO , 2048create a default route to this host name or IP address 2049(use an IP address if this router is also required to get to the 2050name server!). 2051.It Va ipv6_defaultrouter 2052.Pq Vt str 2053The IPv6 equivalent of 2054.Va defaultrouter . 2055.It Va static_routes 2056.Pq Vt str 2057Set to the list of static routes that are to be added at system 2058boot time. 2059If not set to 2060.Dq Li NO 2061then for each whitespace separated 2062.Ar element 2063in the value, a 2064.Va route_ Ns Aq Ar element 2065variable is assumed to exist 2066whose contents will later be passed to a 2067.Dq Nm route Cm add 2068operation. 2069For example: 2070.Bd -literal 2071static_routes="mcast gif0local" 2072route_mcast="-net 224.0.0.0/4 -iface gif0" 2073route_gif0local="-host 169.254.1.1 -iface lo0" 2074.Ed 2075.It Va ipv6_static_routes 2076.Pq Vt str 2077The IPv6 equivalent of 2078.Va static_routes . 2079If not set to 2080.Dq Li NO 2081then for each whitespace separated 2082.Ar element 2083in the value, a 2084.Va ipv6_route_ Ns Aq Ar element 2085variable is assumed to exist 2086whose contents will later be passed to a 2087.Dq Nm route Cm add Fl inet6 2088operation. 2089.It Va natm_static_routes 2090.Pq Vt str 2091The 2092.Xr natmip 4 2093equivalent of 2094.Va static_routes . 2095If not empty then for each whitespace separated 2096.Ar element 2097in the value, a 2098.Va route_ Ns Aq Ar element 2099variable is assumed to exist whose contents will later be passed to a 2100.Dq Nm atmconfig Cm natm Cm add 2101operation. 2102.It Va gateway_enable 2103.Pq Vt bool 2104If set to 2105.Dq Li YES , 2106configure host to act as an IP router, e.g.\& to forward packets 2107between interfaces. 2108.It Va ipv6_gateway_enable 2109.Pq Vt bool 2110The IPv6 equivalent of 2111.Va gateway_enable . 2112.It Va router_enable 2113.Pq Vt bool 2114If set to 2115.Dq Li YES , 2116run a routing daemon of some sort, based on the 2117settings of 2118.Va router 2119and 2120.Va router_flags . 2121.It Va ipv6_router_enable 2122.Pq Vt bool 2123The IPv6 equivalent of 2124.Va router_enable . 2125If set to 2126.Dq Li YES , 2127run a routing daemon of some sort, based on the 2128settings of 2129.Va ipv6_router 2130and 2131.Va ipv6_router_flags . 2132.It Va router 2133.Pq Vt str 2134If 2135.Va router_enable 2136is set to 2137.Dq Li YES , 2138this is the name of the routing daemon to use. 2139.It Va ipv6_router 2140.Pq Vt str 2141The IPv6 equivalent of 2142.Va router . 2143.It Va router_flags 2144.Pq Vt str 2145If 2146.Va router_enable 2147is set to 2148.Dq Li YES , 2149these are the flags to pass to the routing daemon. 2150.It Va ipv6_router_flags 2151.Pq Vt str 2152The IPv6 equivalent of 2153.Va router_flags . 2154.It Va mrouted_enable 2155.Pq Vt bool 2156If set to 2157.Dq Li YES , 2158run the multicast routing daemon, 2159.Xr mrouted 8 . 2160.It Va mroute6d_enable 2161.Pq Vt bool 2162The IPv6 equivalent of 2163.Va mrouted_enable . 2164If set to 2165.Dq Li YES , 2166run the IPv6 multicast routing daemon. 2167.Pp 2168Note that multicast routing daemons are no longer included in the 2169.Fx 2170base system, however, both 2171.Xr mrouted 8 2172and 2173.Xr pim6dd 8 2174may be installed from the 2175.Fx 2176Ports Collection. 2177.It Va mrouted_flags 2178.Pq Vt str 2179If 2180.Va mrouted_enable 2181is set to 2182.Dq Li YES , 2183these are the flags to pass to the 2184.Xr mrouted 8 2185daemon. 2186.It Va mroute6d_flags 2187.Pq Vt str 2188The IPv6 equivalent of 2189.Va mrouted_flags . 2190If 2191.Va mroute6d_enable 2192is set to 2193.Dq Li YES , 2194these are the flags passed to the IPv6 multicast routing daemon. 2195.It Va mroute6d_program 2196.Pq Vt str 2197If 2198.Va mroute6d_enable 2199is set to 2200.Dq Li YES , 2201this is the path to the IPv6 multicast routing daemon. 2202.It Va rtadvd_enable 2203.Pq Vt bool 2204If set to 2205.Dq Li YES , 2206run the 2207.Xr rtadvd 8 2208daemon at boot time. 2209.Xr rtadvd 8 2210will only run if 2211.Va ipv6_gateway_enable 2212is also set to 2213.Dq Li YES . 2214The 2215.Xr rtadvd 8 2216utility sends router advertisement packets to the interfaces specified in 2217.Va rtadvd_interfaces 2218and should only be enabled with great care. 2219You may want to fine-tune 2220.Xr rtadvd.conf 5 . 2221.It Va rtadvd_interfaces 2222.Pq Vt str 2223If 2224.Va rtadvd_enable 2225is set to 2226.Dq Li YES 2227this is the list of interfaces to use. 2228.It Va ipxgateway_enable 2229.Pq Vt bool 2230If set to 2231.Dq Li YES , 2232enable the routing of IPX traffic. 2233.It Va ipxrouted_enable 2234.Pq Vt bool 2235If set to 2236.Dq Li YES , 2237run the 2238.Xr IPXrouted 8 2239daemon at system boot time. 2240.It Va ipxrouted_flags 2241.Pq Vt str 2242If 2243.Va ipxrouted_enable 2244is set to 2245.Dq Li YES , 2246these are the flags to pass to the 2247.Xr IPXrouted 8 2248daemon. 2249.It Va arpproxy_all 2250.Pq Vt bool 2251If set to 2252.Dq Li YES , 2253enable global proxy ARP. 2254.It Va forward_sourceroute 2255.Pq Vt bool 2256If set to 2257.Dq Li YES 2258and 2259.Va gateway_enable 2260is also set to 2261.Dq Li YES , 2262source-routed packets are forwarded. 2263.It Va accept_sourceroute 2264.Pq Vt bool 2265If set to 2266.Dq Li YES , 2267the system will accept source-routed packets directed at it. 2268.It Va rarpd_enable 2269.Pq Vt bool 2270If set to 2271.Dq Li YES , 2272run the 2273.Xr rarpd 8 2274daemon at system boot time. 2275.It Va rarpd_flags 2276.Pq Vt str 2277If 2278.Va rarpd_enable 2279is set to 2280.Dq Li YES , 2281these are the flags to pass to the 2282.Xr rarpd 8 2283daemon. 2284.It Va bootparamd_enable 2285.Pq Vt bool 2286If set to 2287.Dq Li YES , 2288run the 2289.Xr bootparamd 8 2290daemon at system boot time. 2291.It Va bootparamd_flags 2292.Pq Vt str 2293If 2294.Va bootparamd_enable 2295is set to 2296.Dq Li YES , 2297these are the flags to pass to the 2298.Xr bootparamd 8 2299daemon. 2300.It Va stf_interface_ipv4addr 2301.Pq Vt str 2302If not set to 2303.Dq Li NO , 2304this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling 2305interface). 2306Specify this entry to enable the 6to4 interface. 2307.It Va stf_interface_ipv4plen 2308.Pq Vt int 2309Prefix length for 6to4 IPv4 addresses, to limit peer address range. 2310An effective value is 0-31. 2311.It Va stf_interface_ipv6_ifid 2312.Pq Vt str 2313IPv6 interface ID for 2314.Xr stf 4 . 2315This can be set to 2316.Dq Li AUTO . 2317.It Va stf_interface_ipv6_slaid 2318.Pq Vt str 2319IPv6 Site Level Aggregator for 2320.Xr stf 4 . 2321.It Va ipv6_faith_prefix 2322.Pq Vt str 2323If not set to 2324.Dq Li NO , 2325this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP 2326translator. 2327You also need 2328.Xr faithd 8 2329setup. 2330.It Va ipv6_ipv4mapping 2331.Pq Vt bool 2332If set to 2333.Dq Li YES 2334this enables IPv4 mapped IPv6 address communication (like 2335.Li ::ffff:a.b.c.d ) . 2336.It Va atm_enable 2337.Pq Vt bool 2338Set to 2339.Dq Li YES 2340to enable the configuration of ATM interfaces at system boot time. 2341For all of the ATM variables described below, please refer to the 2342.Xr atm 8 2343manual page for further details on the available command parameters. 2344Also refer to the files in 2345.Pa /usr/share/examples/atm 2346for more detailed configuration information. 2347.It Va atm_load 2348.Pq Vt str 2349This is a list of physical ATM interface drivers to load. 2350Typical values are 2351.Dq Li hfa_pci 2352and/or 2353.Dq Li hea_pci . 2354.It Va atm_netif_ Ns Aq Ar intf 2355.Pq Vt str 2356For the ATM physical interface 2357.Ar intf , 2358this variable defines the name prefix and count for the ATM network 2359interfaces to be created. 2360The value will be passed as the parameters of an 2361.Dq Nm atm Cm "set netif" Ar intf 2362command. 2363.It Va atm_sigmgr_ Ns Aq Ar intf 2364.Pq Vt str 2365For the ATM physical interface 2366.Ar intf , 2367this variable defines the ATM signalling manager to be used. 2368The value will be passed as the parameters of an 2369.Dq Nm atm Cm attach Ar intf 2370command. 2371.It Va atm_prefix_ Ns Aq Ar intf 2372.Pq Vt str 2373For the ATM physical interface 2374.Ar intf , 2375this variable defines the NSAP prefix for interfaces using a UNI signalling 2376manager. 2377If set to 2378.Dq Li ILMI , 2379the prefix will automatically be set via the 2380.Xr ilmid 8 2381daemon. 2382Otherwise, the value will be passed as the parameters of an 2383.Dq Nm atm Cm "set prefix" Ar intf 2384command. 2385.It Va atm_macaddr_ Ns Aq Ar intf 2386.Pq Vt str 2387For the ATM physical interface 2388.Ar intf , 2389this variable defines the MAC address for interfaces using a UNI signalling 2390manager. 2391If set to 2392.Dq Li NO , 2393the hardware MAC address contained in the ATM interface card will be used. 2394Otherwise, the value will be passed as the parameters of an 2395.Dq Nm atm Cm "set mac" Ar intf 2396command. 2397.It Va atm_arpserver_ Ns Aq Ar netif 2398.Pq Vt str 2399For the ATM network interface 2400.Ar netif , 2401this variable defines the ATM address for a host which is to provide ATMARP 2402service. 2403This variable is only applicable to interfaces using a UNI signalling 2404manager. 2405If set to 2406.Dq Li local , 2407this host will become an ATMARP server. 2408The value will be passed as the parameters of an 2409.Dq Nm atm Cm "set arpserver" Ar netif 2410command. 2411.It Va atm_scsparp_ Ns Aq Ar netif 2412.Pq Vt bool 2413If set to 2414.Dq Li YES , 2415SCSP/ATMARP service for the network interface 2416.Ar netif 2417will be initiated using the 2418.Xr scspd 8 2419and 2420.Xr atmarpd 8 2421daemons. 2422This variable is only applicable if 2423.Va atm_arpserver_ Ns Aq Ar netif 2424is set to 2425.Dq Li local . 2426.It Va atm_pvcs 2427.Pq Vt str 2428Set to the list of ATM PVCs to be added at system 2429boot time. 2430For each whitespace separated 2431.Ar element 2432in the value, an 2433.Va atm_pvc_ Ns Aq Ar element 2434variable is assumed to exist. 2435The value of each of these variables 2436will be passed as the parameters of an 2437.Dq Nm atm Cm "add pvc" 2438command. 2439.It Va atm_arps 2440.Pq Vt str 2441Set to the list of permanent ATM ARP entries to be added 2442at system boot time. 2443For each whitespace separated 2444.Ar element 2445in the value, an 2446.Va atm_arp_ Ns Aq Ar element 2447variable is assumed to exist. 2448The value of each of these variables 2449will be passed as the parameters of an 2450.Dq Nm atm Cm "add arp" 2451command. 2452.It Va natm_interfaces 2453.Pq Vt str 2454Set to the list of 2455.Xr natm 4 2456interfaces that will also be used for HARP through 2457.Xr harp 4 . 2458If this list is not empty all interfaces in the list will be brought up 2459with 2460.Xr ifconfig 8 2461and 2462.Xr harp 4 2463will be loaded. 2464For this to work the interface drivers must be either compiled into the 2465kernel or must reside on the root partition. 2466.It Va keybell 2467.Pq Vt str 2468The keyboard bell sound. 2469Set to 2470.Dq Li normal , 2471.Dq Li visual , 2472.Dq Li off , 2473or 2474.Dq Li NO 2475if the default behavior is desired. 2476For details, refer to the 2477.Xr kbdcontrol 1 2478manpage. 2479.It Va keyboard 2480.Pq Vt str 2481If set to a non-null string, the virtual console's keyboard input is 2482set to this device. 2483.It Va keymap 2484.Pq Vt str 2485If set to 2486.Dq Li NO , 2487no keymap is installed, otherwise the value is used to install 2488the keymap file in 2489.Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd . 2490.It Va keyrate 2491.Pq Vt str 2492The keyboard repeat speed. 2493Set to 2494.Dq Li slow , 2495.Dq Li normal , 2496.Dq Li fast , 2497or 2498.Dq Li NO 2499if the default behavior is desired. 2500.It Va keychange 2501.Pq Vt str 2502If not set to 2503.Dq Li NO , 2504attempt to program the function keys with the value. 2505The value should 2506be a single string of the form: 2507.Dq Ar funkey_number new_value Op Ar funkey_number new_value ... . 2508.It Va cursor 2509.Pq Vt str 2510Can be set to the value of 2511.Dq Li normal , 2512.Dq Li blink , 2513.Dq Li destructive , 2514or 2515.Dq Li NO 2516to set the cursor behavior explicitly or choose the default behavior. 2517.It Va scrnmap 2518.Pq Vt str 2519If set to 2520.Dq Li NO , 2521no screen map is installed, otherwise the value is used to install 2522the screen map file in 2523.Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value . 2524.It Va font8x16 2525.Pq Vt str 2526If set to 2527.Dq Li NO , 2528the default 8x16 font value is used for screen size requests, otherwise 2529the value in 2530.Pa /usr/share/syscons/fonts/ Ns Aq Ar value 2531is used. 2532.It Va font8x14 2533.Pq Vt str 2534If set to 2535.Dq Li NO , 2536the default 8x14 font value is used for screen size requests, otherwise 2537the value in 2538.Pa /usr/share/syscons/fonts/ Ns Aq Ar value 2539is used. 2540.It Va font8x8 2541.Pq Vt str 2542If set to 2543.Dq Li NO , 2544the default 8x8 font value is used for screen size requests, otherwise 2545the value in 2546.Pa /usr/share/syscons/fonts/ Ns Aq Ar value 2547is used. 2548.It Va blanktime 2549.Pq Vt int 2550If set to 2551.Dq Li NO , 2552the default screen blanking interval is used, otherwise it is set 2553to 2554.Ar value 2555seconds. 2556.It Va saver 2557.Pq Vt str 2558If not set to 2559.Dq Li NO , 2560this is the actual screen saver to use 2561.Li ( blank , snake , daemon , 2562etc). 2563.It Va moused_nondefault_enable 2564.Pq Vt str 2565If set to 2566.Dq Li NO , 2567the mouse device specified on 2568the command line is not automatically treated as enabled by the 2569.Pa /etc/rc.d/moused 2570script. 2571Having this variable set to 2572.Dq Li YES 2573allows a 2574.Xr usb 4 2575mouse, 2576for example, 2577to be enabled as soon as it is plugged in. 2578.It Va moused_enable 2579.Pq Vt str 2580If set to 2581.Dq Li YES , 2582the 2583.Xr moused 8 2584daemon is started for doing cut/paste selection on the console. 2585.It Va moused_type 2586.Pq Vt str 2587This is the protocol type of the mouse connected to this host. 2588This variable must be set if 2589.Va moused_enable 2590is set to 2591.Dq Li YES . 2592The 2593.Xr moused 8 2594daemon 2595is able to detect the appropriate mouse type automatically in many cases. 2596Set this variable to 2597.Dq Li auto 2598to let the daemon detect it, or 2599select one from the following list if the automatic detection fails. 2600.Pp 2601If the mouse is attached to the PS/2 mouse port, choose 2602.Dq Li auto 2603or 2604.Dq Li ps/2 , 2605regardless of the brand and model of the mouse. 2606Likewise, if the 2607mouse is attached to the bus mouse port, choose 2608.Dq Li auto 2609or 2610.Dq Li busmouse . 2611All other protocols are for serial mice and will not work with 2612the PS/2 and bus mice. 2613If this is a USB mouse, 2614.Dq Li auto 2615is the only protocol type which will work. 2616.Pp 2617.Bl -tag -width ".Li x10mouseremote" -compact 2618.It Li microsoft 2619Microsoft mouse (serial) 2620.It Li intellimouse 2621Microsoft IntelliMouse (serial) 2622.It Li mousesystems 2623Mouse systems Corp.\& mouse (serial) 2624.It Li mmseries 2625MM Series mouse (serial) 2626.It Li logitech 2627Logitech mouse (serial) 2628.It Li busmouse 2629A bus mouse 2630.It Li mouseman 2631Logitech MouseMan and TrackMan (serial) 2632.It Li glidepoint 2633ALPS GlidePoint (serial) 2634.It Li thinkingmouse 2635Kensington ThinkingMouse (serial) 2636.It Li ps/2 2637PS/2 mouse 2638.It Li mmhittab 2639MM HitTablet (serial) 2640.It Li x10mouseremote 2641X10 MouseRemote (serial) 2642.It Li versapad 2643Interlink VersaPad (serial) 2644.El 2645.Pp 2646Even if the mouse is not in the above list, it may be compatible 2647with one in the list. 2648Refer to the manual page for 2649.Xr moused 8 2650for compatibility information. 2651.Pp 2652It should also be noted that while this is enabled, any 2653other client of the mouse (such as an X server) should access 2654the mouse through the virtual mouse device, 2655.Pa /dev/sysmouse , 2656and configure it as a 2657.Dq Li sysmouse 2658type mouse, since all 2659mouse data is converted to this single canonical format when 2660using 2661.Xr moused 8 . 2662If the client program does not support the 2663.Dq Li sysmouse 2664type, 2665specify the 2666.Dq Li mousesystems 2667type. 2668It is the second preferred type. 2669.It Va moused_port 2670.Pq Vt str 2671If 2672.Va moused_enable 2673is set to 2674.Dq Li YES , 2675this is the actual port the mouse is on. 2676It might be 2677.Pa /dev/cuad0 2678for a COM1 serial mouse, 2679.Pa /dev/psm0 2680for a PS/2 mouse or 2681.Pa /dev/mse0 2682for a bus mouse, for example. 2683.It Va moused_flags 2684.Pq Vt str 2685If 2686.Va moused_type 2687is set, these are the additional flags to pass to the 2688.Xr moused 8 2689daemon. 2690.It Va mousechar_start 2691.Pq Vt int 2692If set to 2693.Dq Li NO , 2694the default mouse cursor character range 2695.Li 0xd0 Ns - Ns Li 0xd3 2696is used, 2697otherwise the range start is set 2698to 2699.Ar value 2700character, see 2701.Xr vidcontrol 1 . 2702Use if the default range is occupied in the language code table. 2703.It Va allscreens_flags 2704.Pq Vt str 2705If set, 2706.Xr vidcontrol 1 2707is run with these options for each of the virtual terminals 2708.Pq Pa /dev/ttyv* . 2709For example, 2710.Dq Fl m Cm on 2711will enable the mouse pointer on all virtual terminals 2712if 2713.Va moused_enable 2714is set to 2715.Dq Li YES . 2716.It Va allscreens_kbdflags 2717.Pq Vt str 2718If set, 2719.Xr kbdcontrol 1 2720is run with these options for each of the virtual terminals 2721.Pq Pa /dev/ttyv* . 2722For example, 2723.Dq Fl h Li 200 2724will set the 2725.Xr syscons 4 2726scrollback (history) buffer to 200 lines. 2727.It Va cron_enable 2728.Pq Vt bool 2729If set to 2730.Dq Li YES , 2731run the 2732.Xr cron 8 2733daemon at system boot time. 2734.It Va cron_program 2735.Pq Vt str 2736Path to 2737.Xr cron 8 2738(default 2739.Pa /usr/sbin/cron ) . 2740.It Va cron_flags 2741.Pq Vt str 2742If 2743.Va cron_enable 2744is set to 2745.Dq Li YES , 2746these are the flags to pass to 2747.Xr cron 8 . 2748.It Va cron_dst 2749.Pq Vt bool 2750If set to 2751.Dq Li YES , 2752enable the special handling of transitions to and from the 2753Daylight Saving Time in 2754.Xr cron 8 2755(equivalent to using the flag 2756.Fl s ) . 2757.It Va lpd_program 2758.Pq Vt str 2759Path to 2760.Xr lpd 8 2761(default 2762.Pa /usr/sbin/lpd ) . 2763.It Va lpd_enable 2764.Pq Vt bool 2765If set to 2766.Dq Li YES , 2767run the 2768.Xr lpd 8 2769daemon at system boot time. 2770.It Va lpd_flags 2771.Pq Vt str 2772If 2773.Va lpd_enable 2774is set to 2775.Dq Li YES , 2776these are the flags to pass to the 2777.Xr lpd 8 2778daemon. 2779.It Va chkprintcap_enable 2780.Pq Vt bool 2781If set to 2782.Dq Li YES , 2783run the 2784.Xr chkprintcap 8 2785command before starting the 2786.Xr lpd 8 2787daemon. 2788.It Va chkprintcap_flags 2789.Pq Vt str 2790If 2791.Va lpd_enable 2792and 2793.Va chkprintcap_enable 2794are set to 2795.Dq Li YES , 2796these are the flags to pass to the 2797.Xr chkprintcap 8 2798program. 2799The default is 2800.Dq Li -d , 2801which causes missing directories to be created. 2802.It Va mta_start_script 2803.Pq Vt str 2804This variable specifies the full path to the script to run to start 2805a mail transfer agent. 2806The default is 2807.Pa /etc/rc.sendmail . 2808The 2809.Va sendmail_* 2810variables which 2811.Pa /etc/rc.sendmail 2812uses are documented in the 2813.Xr rc.sendmail 8 2814manual page. 2815.It Va dumpdev 2816.Pq Vt str 2817Indicates the device (usually a swap partition) to which a crash dump 2818should be written in the event of a system crash. 2819If the value of this variable is 2820.Dq Li AUTO , 2821the first suitable swap device listed in 2822.Pa /etc/fstab 2823will be used as dump device. 2824Otherwise, the value of this variable is passed as the argument to 2825.Xr dumpon 8 . 2826To disable crash dumps, set this variable to 2827.Dq Li NO . 2828.It Va dumpdir 2829.Pq Vt str 2830When the system reboots after a crash and a crash dump is found on the 2831device specified by the 2832.Va dumpdev 2833variable, 2834.Xr savecore 8 2835will save that crash dump and a copy of the kernel to the directory 2836specified by the 2837.Va dumpdir 2838variable. 2839The default value is 2840.Pa /var/crash . 2841Set to 2842.Dq Li NO 2843to not run 2844.Xr savecore 8 2845at boot time when 2846.Va dumpdir 2847is set. 2848.It Va savecore_flags 2849.Pq Vt str 2850If crash dumps are enabled, these are the flags to pass to the 2851.Xr savecore 8 2852utility. 2853.It Va enable_quotas 2854.Pq Vt bool 2855Set to 2856.Dq Li YES 2857to turn on user and group disk quotas on system startup via the 2858.Xr quotaon 8 2859command for all file systems marked as having quotas enabled in 2860.Pa /etc/fstab . 2861The kernel must be built with 2862.Cd "options QUOTA" 2863for disk quotas to function. 2864.It Va check_quotas 2865.Pq Vt bool 2866Set to 2867.Dq Li YES 2868to enable user and group disk quota checking via the 2869.Xr quotacheck 8 2870command. 2871.It Va quotacheck_flags 2872.Pq Vt str 2873If 2874.Va enable_quotas 2875is set to 2876.Dq Li YES , 2877and 2878.Va check_quotas 2879is set to 2880.Dq Li YES , 2881these are the flags to pass to the 2882.Xr quotacheck 8 2883utility. 2884The default is 2885.Dq Li "-a" , 2886which checks quotas for all file systems with quotas enabled in 2887.Pa /etc/fstab . 2888.It Va quotaon_flags 2889.Pq Vt str 2890If 2891.Va enable_quotas 2892is set to 2893.Dq Li YES , 2894these are the flags to pass to the 2895.Xr quotaon 8 2896utility. 2897The default is 2898.Dq Li "-a" , 2899which enables quotas for all file systems with quotas enabled in 2900.Pa /etc/fstab . 2901.It Va quotaoff_flags 2902.Pq Vt str 2903If 2904.Va enable_quotas 2905is set to 2906.Dq Li YES , 2907these are the flags to pass to the 2908.Xr quotaoff 8 2909utility when shutting down the quota system. 2910The default is 2911.Dq Li "-a" , 2912which disables quotas for all file systems with quotas enabled in 2913.Pa /etc/fstab . 2914.It Va accounting_enable 2915.Pq Vt bool 2916Set to 2917.Dq Li YES 2918to enable system accounting through the 2919.Xr accton 8 2920facility. 2921.It Va ibcs2_enable 2922.Pq Vt bool 2923Set to 2924.Dq Li YES 2925to enable iBCS2 (SCO) binary emulation at system initial boot 2926time. 2927.It Va ibcs2_loaders 2928.Pq Vt str 2929If not set to 2930.Dq Li NO 2931and if 2932.Va ibcs2_enable 2933is set to 2934.Dq Li YES , 2935this specifies a list of additional iBCS2 loaders to enable. 2936.It Va linux_enable 2937.Pq Vt bool 2938Set to 2939.Dq Li YES 2940to enable Linux/ELF binary emulation at system initial 2941boot time. 2942.It Va svr4_enable 2943.Pq Vt bool 2944If set to 2945.Dq Li YES , 2946enable SysVR4 emulation at boot time. 2947.It Va sysvipc_enable 2948.Pq Vt bool 2949If set to 2950.Dq Li YES , 2951load System V IPC primitives at boot time. 2952.It Va clear_tmp_enable 2953.Pq Vt bool 2954Set to 2955.Dq Li YES 2956to have 2957.Pa /tmp 2958cleaned at startup. 2959.It Va clear_tmp_X 2960.Pq Vt bool 2961Set to 2962.Dq Li NO 2963to disable removing of X11 lock files, 2964and the removal and (secure) recreation 2965of the various socket directories for X11 2966related programs. 2967.It Va ldconfig_paths 2968.Pq Vt str 2969Set to the list of shared library paths to use with 2970.Xr ldconfig 8 . 2971NOTE: 2972.Pa /usr/lib 2973will always be added first, so it need not appear in this list. 2974.It Va ldconfig32_paths 2975.Pq Vt str 2976Set to the list of 32-bit compatibility shared library paths to 2977use with 2978.Xr ldconfig 8 . 2979.It Va ldconfig_paths_aout 2980.Pq Vt str 2981Set to the list of shared library paths to use with 2982.Xr ldconfig 8 2983legacy 2984.Xr a.out 5 2985support. 2986.It Va ldconfig_insecure 2987.Pq Vt bool 2988The 2989.Xr ldconfig 8 2990utility normally refuses to use directories 2991which are writable by anyone except root. 2992Set this variable to 2993.Dq Li YES 2994to disable that security check during system startup. 2995.It Va ldconfig_local_dirs 2996.Pq Vt str 2997Set to the list of local 2998.Xr ldconfig 8 2999directories. 3000The names of all files in the directories listed will be 3001passed as arguments to 3002.Xr ldconfig 8 . 3003.It Va ldconfig_local32_dirs 3004.Pq Vt str 3005Set to the list of local 32-bit compatibility 3006.Xr ldconfig 8 3007directories. 3008The names of all files in the directories listed will be 3009passed as arguments to 3010.Dq Nm ldconfig Fl 32 . 3011.It Va kern_securelevel_enable 3012.Pq Vt bool 3013Set to 3014.Dq Li YES 3015to set the kernel security level at system startup. 3016.It Va kern_securelevel 3017.Pq Vt int 3018The kernel security level to set at startup. 3019The allowed range of 3020.Ar value 3021ranges from \-1 (the compile time default) to 3 (the 3022most secure). 3023See 3024.Xr init 8 3025for the list of possible security levels and their effect 3026on system operation. 3027.It Va sshd_program 3028.Pq Vt str 3029Path to the SSH server program 3030.Pa ( /usr/sbin/sshd 3031is the default). 3032.It Va sshd_enable 3033.Pq Vt bool 3034Set to 3035.Dq Li YES 3036to start 3037.Xr sshd 8 3038at system boot time. 3039.It Va sshd_flags 3040.Pq Vt str 3041If 3042.Va sshd_enable 3043is set to 3044.Dq Li YES , 3045these are the flags to pass to the 3046.Xr sshd 8 3047daemon. 3048.It Va ftpd_program 3049.Pq Vt str 3050Path to the FTP server program 3051.Pa ( /usr/libexec/ftpd 3052is the default). 3053.It Va ftpd_enable 3054.Pq Vt bool 3055Set to 3056.Dq Li YES 3057to start 3058.Xr ftpd 8 3059as a stand-alone daemon at system boot time. 3060.It Va ftpd_flags 3061.Pq Vt str 3062If 3063.Va ftpd_enable 3064is set to 3065.Dq Li YES , 3066these are the additional flags to pass to the 3067.Xr ftpd 8 3068daemon. 3069.It Va watchdogd_enable 3070.Pq Vt bool 3071If set to 3072.Dq Li YES , 3073start the 3074.Xr watchdogd 8 3075daemon at boot time. 3076This requires that the kernel have been compiled with a 3077.Xr watchdog 4 3078compatible device. 3079.It Va watchdogd_flags 3080.Pq Vt str 3081If 3082.Va watchdogd_enable 3083is set to 3084.Dq Li YES , 3085these are the flags passed to the 3086.Xr watchdogd 8 3087daemon. 3088.It Va performance_cx_lowest 3089.Pq Vt str 3090CPU idle state to use while on AC power. 3091The string 3092.Dq Li LOW 3093indicates that 3094.Xr acpi 4 3095should use the lowest power state available while 3096.Dq Li HIGH 3097indicates that the lowest latency state (less power savings) should be used. 3098.It Va performance_cpu_freq 3099.Pq Vt str 3100CPU clock frequency to use while on AC power. 3101The string 3102.Dq Li LOW 3103indicates that 3104.Xr cpufreq 4 3105should use the lowest frequency available while 3106.Dq Li HIGH 3107indicates that the highest frequency (less power savings) should be used. 3108.It Va economy_cx_lowest 3109.Pq Vt str 3110CPU idle state to use when off AC power. 3111The string 3112.Dq Li LOW 3113indicates that 3114.Xr acpi 4 3115should use the lowest power state available while 3116.Dq Li HIGH 3117indicates that the lowest latency state (less power savings) should be used. 3118.It Va economy_cpu_freq 3119.Pq Vt str 3120CPU clock frequency to use when off AC power. 3121The string 3122.Dq Li LOW 3123indicates that 3124.Xr cpufreq 4 3125should use the lowest frequency available while 3126.Dq Li HIGH 3127indicates that the highest frequency (less power savings) should be used. 3128.It Va jail_enable 3129.Pq Vt bool 3130If set to 3131.Dq Li NO , 3132any configured jails will not be started. 3133.It Va jail_list 3134.Pq Vt str 3135A space separated list of names for jails. 3136This is purely a configuration aid to help identify and 3137configure multiple jails. 3138The names specified in this list will be used to 3139identify settings common to an instance of a jail. 3140Assuming that the jail in question was named 3141.Li vjail , 3142you would have the following dependent variables: 3143.Bd -literal 3144jail_vjail_hostname="jail.example.com" 3145jail_vjail_ip="192.168.1.100" 3146jail_vjail_rootdir="/var/jails/vjail/root" 3147.Ed 3148.Pp 3149.It Va jail_flags 3150.Pq Vt str 3151Unset by default. 3152When set, use as default value for 3153.Va jail_ Ns Ao Ar jname Ac Ns Va _flags 3154for every jail in 3155.Va jail_list . 3156.It Va jail_interface 3157.Pq Vt str 3158Unset by default. 3159When set, use as default value for 3160.Va jail_ Ns Ao Ar jname Ac Ns Va _interface 3161for every jail in 3162.Va jail_list . 3163.It Va jail_fstab 3164.Pq Vt str 3165Unset by default. 3166When set, use as default value for 3167.Va jail_ Ns Ao Ar jname Ac Ns Va _fstab 3168for every jail in 3169.Va jail_list . 3170.It Va jail_mount_enable 3171.Pq Vt bool 3172Set to 3173.Dq Li NO 3174by default. 3175When set to 3176.Dq Li YES , 3177sets 3178.Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable 3179to 3180.Dq Li YES 3181by default for every jail in 3182.Va jail_list . 3183.It Va jail_devfs_ruleset 3184.Pq Vt str 3185Unset by default. 3186When set, sets 3187.Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset 3188to given value for every jail in 3189.Va jail_list . 3190.It Va jail_devfs_enable 3191.Pq Vt bool 3192Set to 3193.Dq Li NO 3194by default. 3195When set to 3196.Dq Li YES , 3197sets 3198.Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable 3199to 3200.Dq Li YES 3201by default for every jail in 3202.Va jail_list . 3203.It Va jail_fdescfs_enable 3204.Pq Vt bool 3205Set to 3206.Dq Li NO 3207by default. 3208When set to 3209.Dq Li YES , 3210sets 3211.Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable 3212to 3213.Dq Li YES 3214by default for every jail in 3215.Va jail_list . 3216.It Va jail_procfs_enable 3217.Pq Vt bool 3218Set to 3219.Dq Li NO 3220by default. 3221When set to 3222.Dq Li YES , 3223sets 3224.Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable 3225to 3226.Dq Li YES 3227by default for every jail in 3228.Va jail_list . 3229.It Va jail_exec_start 3230.Pq Vt str 3231Unset by default. 3232When set, use as default value for 3233.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start 3234for every jail in 3235.Va jail_list . 3236.It Va jail_exec_afterstart Ns Aq Ar N 3237.Pq Vt str 3238Unset by default. 3239When set, use as default value for 3240.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N 3241for every jail in 3242.Va jail_list . 3243.It Va jail_exec_stop 3244Unset by default. 3245When set, use as default value for 3246.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop 3247for every jail in 3248.Va jail_list . 3249.It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir 3250.Pq Vt str 3251Unset by default. 3252Set to the root directory used by jail 3253.Va jname . 3254.It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname 3255.Pq Vt str 3256Unset by default. 3257Set to the fully qualified domain name (FQDN) assigned to jail 3258.Va jname . 3259.It Va jail_ Ns Ao Ar jname Ac Ns Va _ip 3260.Pq Vt str 3261Unset by default. 3262Set to the IP address assigned to jail 3263.Va jname . 3264.It Va jail_ Ns Ao Ar jname Ac Ns Va _flags 3265.Pq Vt str 3266Set to 3267.Dq Li -l -U root 3268by default. 3269These are flags to pass to 3270.Xr jail . 3271.It Va jail_ Ns Ao Ar jname Ac Ns Va _interface 3272.Pq Vt str 3273Unset by default. 3274When set, sets the interface to use when setting IP address alias. 3275Note that the alias is created at jail startup and removed at jail shutdown. 3276.It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab 3277.Pq Vt str 3278Set to 3279.Pa /etc/fstab. Ns Aq Ar jname 3280by default. 3281This is the file system information file to use for jail 3282.Va jname . 3283.It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable 3284.Pq Vt bool 3285Set to 3286.Dq Li NO 3287by default. 3288When set to 3289.Dq Li YES , 3290mount all file systems from 3291.Va jail_ Ns Ao Ar jname Ac Ns Va _fstab 3292at jail startup. 3293.It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset 3294.Pq Vt str 3295Unset by default. 3296When set, defines the device file system ruleset file to use for jail 3297.Va jname . 3298.It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable 3299.Pq Vt bool 3300Set to 3301.Dq Li NO 3302by default. 3303When set to 3304.Dq Li YES , 3305mount the device file system inside jail 3306.Ar jname 3307at jail startup. 3308.It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable 3309.Pq Vt bool 3310Set to 3311.Dq Li NO 3312by default. 3313When set to 3314.Dq Li YES , 3315mount the file-descriptor file system inside jail 3316.Ar jname 3317at jail startup. 3318.It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable 3319.Pq Vt bool 3320Set to 3321.Dq Li NO 3322by default. 3323When set to 3324.Dq Li YES , 3325mount the process file system inside jail 3326.Ar jname 3327at jail startup. 3328.It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start 3329.Pq Vt str 3330Set to 3331.Dq Li /bin/sh /etc/rc 3332by default. 3333This is the command executed at jail startup. 3334.It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N 3335.Pq Vt str 3336Unset by default. 3337This is the command run as 3338.Ar N Ns 3339th command 3340after jail startup, where 3341.Ar N 3342is 1, 2, and so on. 3343.It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop 3344.Pq Vt str 3345Set to 3346.Dq Li /bin/sh /etc/rc.shutdown 3347by default. 3348This is the command executed at jail shutdown. 3349.It Va jail_set_hostname_allow 3350.Pq Vt bool 3351If set to 3352.Dq Li NO , 3353do not allow the root user in a jail to set its hostname. 3354.It Va jail_socket_unixiproute_only 3355.Pq Vt bool 3356If set to 3357.Dq Li YES , 3358do not allow any sockets, 3359besides UNIX/IP/route sockets, 3360to be used within a jail. 3361.It Va jail_sysvipc_allow 3362.Pq Vt bool 3363If set to 3364.Dq Li YES , 3365allow applications within a jail to use System V IPC. 3366.\" ----- ISDN settings --------------------------------- 3367.It Va isdn_enable 3368.Pq Vt bool 3369Set to 3370.Dq Li NO 3371by default. 3372When set to 3373.Dq Li YES , 3374starts the 3375.Xr isdnd 8 3376daemon 3377at system boot time. 3378.It Va isdn_flags 3379.Pq Vt str 3380Set to 3381.Dq Fl d Ns Cm n Fl d Ns Li 0x1f9 3382by default. 3383Additional flags to pass to 3384.Xr isdnd 8 3385(but see 3386.Va isdn_fsdev 3387and 3388.Va isdn_ttype 3389for certain tunable parameters). 3390.It Va isdn_ttype 3391.Pq Vt str 3392Set to 3393.Dq Li cons25 3394by default. 3395The terminal type of the output device when 3396.Xr isdnd 8 3397operates in full-screen mode. 3398.It Va isdn_screenflags 3399.Pq Vt str 3400Set to 3401.Dq Li NO 3402by default. 3403The video mode for full-screen mode (only for 3404.Xr syscons 4 3405console driver, see 3406.Xr vidcontrol 1 3407for valid modes). 3408.It Va isdn_fsdev 3409.Pq Vt str 3410Set to 3411.Dq Li NO 3412by default. 3413The output device for 3414.Xr isdnd 8 3415in full-screen mode (or 3416.Dq Li NO 3417for daemon mode). 3418.It Va isdn_trace 3419.Pq Vt bool 3420Set to 3421.Dq Li NO 3422by default. 3423When set to 3424.Dq Li YES , 3425enables the ISDN protocol trace utility 3426.Xr isdntrace 8 3427at system boot time. 3428.It Va isdn_traceflags 3429.Pq Vt str 3430Set to 3431.Dq Fl f Pa /var/tmp/isdntrace0 3432by default. 3433Flags for 3434.Xr isdntrace 8 . 3435.\" ----------------------------------------------------- 3436.It Va harvest_interrupt 3437.Pq Vt bool 3438Set to 3439.Dq Li YES 3440to use hardware interrupts as an entropy source. 3441Refer to 3442.Xr random 4 3443for more information. 3444.It Va harvest_ethernet 3445.Pq Vt bool 3446Set to 3447.Dq Li YES 3448to use LAN traffic as an entropy source. 3449Refer to 3450.Xr random 4 3451for more information. 3452.It Va harvest_p_to_p 3453.Pq Vt bool 3454Set to 3455.Dq Li YES 3456to use serial line traffic as an entropy source. 3457Refer to 3458.Xr random 4 3459for more information. 3460.It Va entropy_dir 3461.Pq Vt str 3462Set to 3463.Dq Li NO 3464to disable caching entropy via 3465.Xr cron 8 . 3466Otherwise set to the directory used to store entropy files in. 3467.It Va entropy_file 3468.Pq Vt str 3469Set to 3470.Dq Li NO 3471to disable caching entropy through reboots. 3472Otherwise set to the filename used to store cached entropy through 3473reboots. 3474This file should be located on the root file system to seed the 3475.Xr random 4 3476device as early as possible in the boot process. 3477.It Va entropy_save_sz 3478.Pq Vt int 3479Size of the entropy cache files saved by 3480.Nm save-entropy 3481periodically. 3482.It Va entropy_save_num 3483.Pq Vt int 3484Number of entropy cache files to save by 3485.Nm save-entropy 3486periodically. 3487.It Va ipsec_enable 3488.Pq Vt bool 3489Set to 3490.Dq Li YES 3491to run 3492.Xr setkey 8 3493on 3494.Va ipsec_file 3495at boot time. 3496.It Va ipsec_file 3497.Pq Vt str 3498Configuration file for 3499.Xr setkey 8 . 3500.It Va dmesg_enable 3501.Pq Vt bool 3502Set to 3503.Dq Li YES 3504to save 3505.Xr dmesg 8 3506to 3507.Pa /var/run/dmesg.boot 3508on boot. 3509.It Va rcshutdown_timeout 3510.Pq Vt int 3511If set, start a watchdog timer in the background which will terminate 3512.Pa rc.shutdown 3513if 3514.Xr shutdown 8 3515has not completed within the specified time (in seconds). 3516Notice that in addition to this soft timeout, 3517.Xr init 8 3518also applies a hard timeout for the execution of 3519.Pa rc.shutdown . 3520This is configured via 3521.Xr sysctl 8 3522variable 3523.Va kern.init_shutdown_timeout 3524and defaults to 120 seconds. 3525Setting the value of 3526.Va rcshutdown_timeout 3527to more than 120 seconds will have no effect until the 3528.Xr sysctl 8 3529variable 3530.Va kern.init_shutdown_timeout 3531is also increased. 3532.It Va virecover_enable 3533.Pq Vt bool 3534Set to 3535.Dq Li NO 3536to prevent the system from trying to 3537recover pre-maturely terminated 3538.Xr vi 1 3539sessions. 3540.It Va ugidfw_enable 3541.Pq Vt bool 3542Set to 3543.Dq Li YES 3544to load the 3545.Xr mac_bsdextended 4 3546module upon system initialization and load a default 3547ruleset file. 3548.It Va bsdextended_script 3549.Pq Vt str 3550The default 3551.Xr mac_bsdextended 4 3552ruleset file to load. 3553The default value of this variable is 3554.Pa /etc/rc.bsdextended . 3555.It Va newsyslog_enable 3556.Pq Vt bool 3557If set to 3558.Dq Li YES , 3559run 3560.Xr newsyslog 8 3561command at startup. 3562.It Va newsyslog_flags 3563.Pq Vt str 3564If 3565.Va newsyslog_enable 3566is set to 3567.Dq Li YES , 3568these are the flags to pass to the 3569.Xr newsyslog 8 3570program. 3571The default is 3572.Dq Li -CN , 3573which causes log files flagged with a 3574.Cm C 3575to be created. 3576.It Va mdconfig_md Ns Aq Ar X 3577.Pq Vt str 3578Arguments to 3579.Xr mdconfig 8 3580for 3581.Xr md 4 3582device 3583.Ar X . 3584At minimum a 3585.Fl t Ar type 3586must be specified and either a 3587.Fl s Ar size 3588for malloc or swap backed 3589.Xr md 4 3590devices or a 3591.Fl f Ar file 3592for vnode backed 3593.Xr md 4 3594devices. 3595Note that 3596.Va mdconfig_md Ns Aq Ar X 3597variables are evaluated until one variable is unset or null. 3598.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs 3599.Pq Vt str 3600Optional arguments passed to 3601.Xr newfs 8 3602to initialize 3603.Xr md 4 3604device 3605.Ar X . 3606.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner 3607.Pq Vt str 3608An ownership specification passed to 3609.Xr chown 8 3610after the specified 3611.Xr md 4 3612device 3613.Ar X 3614has been mounted. 3615Both the 3616.Xr md 4 3617device and the mount point will be changed. 3618.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms 3619.Pq Vt str 3620A mode string passed to 3621.Xr chmod 1 3622after the specified 3623.Xr md 4 3624device 3625.Ar X 3626has been mounted. 3627Both the 3628.Xr md 4 3629device and the mount point will be changed. 3630.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files 3631.Pq Vt str 3632Files to be copied to the mount point of the 3633.Xr md 4 3634device 3635.Ar X 3636after it has been mounted. 3637.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd 3638.Pq Vt str 3639Command to execute after the specified 3640.Xr md 4 3641device 3642.Ar X 3643has been mounted. 3644Note that the command is passed to 3645.Ic eval 3646and that both 3647.Va _dev 3648and 3649.Va _mp 3650variables can be used to reference respectively the 3651.Xr md 4 3652device and the mount point. 3653Assuming that the 3654.Xr md 4 3655device is 3656.Li md0 , 3657one could set the following: 3658.Bd -literal 3659mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}" 3660.Ed 3661.It Va ramdisk_units 3662.Pq Vt str 3663A list of one or more ramdisk units to configure with 3664.Xr mdconfig 8 3665and 3666.Xr newfs 8 3667in time to be mounted from 3668.Xr fstab 5 . 3669Each listed unit 3670.Ar X 3671must specify at least a 3672.Ar type 3673in a 3674.Va ramdisk_ Ns Ao Ar X Ac Ns Va _config 3675variable. 3676Note that this way to configure ramdisks has been deprecated 3677in favor of new 3678.Va mdconfig_md* 3679variables (see above). 3680.It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config 3681.Pq Vt str 3682Arguments to 3683.Xr mdconfig 8 3684for ramdisk 3685.Ar X . 3686At minimum a 3687.Fl t Ar type 3688must be specified, where 3689.Ar type 3690must be one of 3691.Cm malloc 3692or 3693.Cm swap . 3694.It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs 3695.Pq Vt str 3696Optional arguments passed to 3697.Xr newfs 8 3698to initialize ramdisk 3699.Ar X . 3700.It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner 3701.Pq Vt str 3702An ownership specification passed to 3703.Xr chown 8 3704after the specified ramdisk unit 3705.Ar X 3706has been mounted. 3707Both the 3708.Xr md 4 3709device and the mount point will be changed. 3710.It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms 3711.Pq Vt str 3712A mode string passed to 3713.Xr chmod 1 3714after the specified ramdisk unit 3715.Ar X 3716has been mounted. 3717Both the 3718.Xr md 4 3719device and the mount point will be changed. 3720.It Va autobridge_interfaces 3721.Pq Vt str 3722Set to the list of bridge interfaces that will have newly arriving interfaces 3723checked against to be automatically added. 3724If not set to 3725.Dq Li NO 3726then for each whitespace separated 3727.Ar element 3728in the value, a 3729.Va autobridge_ Ns Aq Ar element 3730variable is assumed to exist which has a whitespace separated list of interface 3731names to match, these names can use wildcards. 3732For example: 3733.Bd -literal 3734autobridge_interfaces="bridge0" 3735autobridge_bridge0="tap* dc0 vlan[345]" 3736.Ed 3737.It Va mixer_enable 3738.Pq Vt bool 3739If set to 3740.Dq Li YES , 3741enable support for sound mixer. 3742.El 3743.Sh FILES 3744.Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact 3745.It Pa /etc/defaults/rc.conf 3746.It Pa /etc/rc.conf 3747.It Pa /etc/rc.conf.local 3748.El 3749.Sh SEE ALSO 3750.Xr catman 1 , 3751.Xr chmod 1 , 3752.Xr gdb 1 , 3753.Xr info 1 , 3754.Xr kbdcontrol 1 , 3755.Xr makewhatis 1 , 3756.Xr sh 1 , 3757.Xr vi 1 , 3758.Xr vidcontrol 1 , 3759.Xr bridge 4 , 3760.Xr ip 4 , 3761.Xr ipf 4 , 3762.Xr ipfw 4 , 3763.Xr ipnat 4 , 3764.Xr kld 4 , 3765.Xr pf 4 , 3766.Xr pflog 4 , 3767.Xr pfsync 4 , 3768.Xr tcp 4 , 3769.Xr udp 4 , 3770.Xr exports 5 , 3771.Xr fstab 5 , 3772.Xr ipf 5 , 3773.Xr ipnat 5 , 3774.Xr motd 5 , 3775.Xr newsyslog.conf 5 , 3776.Xr pf.conf 5 , 3777.Xr accton 8 , 3778.Xr amd 8 , 3779.Xr apm 8 , 3780.Xr atm 8 , 3781.Xr chkprintcap 8 , 3782.Xr chown 8 , 3783.Xr cron 8 , 3784.Xr dhclient 8 , 3785.Xr ftpd 8 , 3786.Xr geli 8 , 3787.Xr ifconfig 8 , 3788.Xr inetd 8 , 3789.Xr ipf 8 , 3790.Xr ipfw 8 , 3791.Xr ipnat 8 , 3792.Xr isdnd 8 , 3793.Xr isdntrace 8 , 3794.Xr jail 8 , 3795.Xr kldxref 8 , 3796.Xr lpd 8 , 3797.Xr mdconfig 8 , 3798.Xr mdmfs 8 , 3799.Xr mixer 8 , 3800.Xr mountd 8 , 3801.Xr moused 8 , 3802.Xr mrouted 8 , 3803.Xr named 8 , 3804.Xr newfs 8 , 3805.Xr newsyslog 8 , 3806.Xr nfsd 8 , 3807.Xr ntpd 8 , 3808.Xr ntpdate 8 , 3809.Xr pfctl 8 , 3810.Xr pflogd 8 , 3811.Xr powerd 8 , 3812.Xr quotacheck 8 , 3813.Xr quotaon 8 , 3814.Xr rc 8 , 3815.Xr rc.sendmail 8 , 3816.Xr route 8 , 3817.Xr routed 8 , 3818.Xr rpcbind 8 , 3819.Xr rpc.lockd 8 , 3820.Xr rpc.statd 8 , 3821.Xr rwhod 8 , 3822.Xr savecore 8 , 3823.Xr sshd 8 , 3824.Xr swapon 8 , 3825.Xr sysctl 8 , 3826.Xr syslogd 8 , 3827.Xr timed 8 , 3828.Xr yp 8 , 3829.Xr ypbind 8 , 3830.Xr ypserv 8 , 3831.Xr ypset 8 3832.Sh HISTORY 3833The 3834.Nm 3835file appeared in 3836.Fx 2.2.2 . 3837.Sh AUTHORS 3838.An Jordan K. Hubbard . 3839