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