]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/rc.conf.5
MFV r348583: 9847 leaking dd_clones (DMU_OT_DSL_CLONES) objects
[FreeBSD/FreeBSD.git] / share / man / man5 / rc.conf.5
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 May 18, 2019
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 system installation utility.
42 .Pp
43 The purpose of
44 .Nm
45 is not to run commands or perform system startup actions
46 directly.
47 Instead, it is included by the
48 various generic startup scripts in
49 .Pa /etc
50 which conditionalize their
51 internal actions according to the settings found there.
52 .Pp
53 The
54 .Pa /etc/rc.conf
55 file is included from the file
56 .Pa /etc/defaults/rc.conf ,
57 which specifies the default settings for all the available options.
58 Options need only be specified in
59 .Pa /etc/rc.conf
60 when the system administrator wishes to override these defaults.
61 The file
62 .Pa /etc/rc.conf.local
63 is used to override settings in
64 .Pa /etc/rc.conf
65 for historical reasons.
66 .Pp
67 The sysrc(8) command provides a scripting interface to modify system
68 config files.
69 .Pp
70 In addition to
71 .Pa /etc/rc.conf.local
72 you can also place smaller configuration files for each
73 .Xr rc 8
74 script in the
75 .Pa /etc/rc.conf.d
76 directory or
77 .Ao Ar dir Ac Ns Pa /rc.conf.d
78 directories specified in
79 .Va local_startup ,
80 which will be included by the
81 .Va load_rc_config
82 function.
83 For jail configurations you could use the file
84 .Pa /etc/rc.conf.d/jail
85 to store jail specific configuration options.
86 If
87 .Va local_startup
88 contains
89 .Pa /usr/local/etc/rc.d
90 and
91 .Pa /opt/conf ,
92 .Pa /usr/local/rc.conf.d/jail
93 and
94 .Pa /opt/conf/rc.conf.d/jail
95 will be loaded.
96 If
97 .Ao Ar dir Ac Ns Pa /rc.conf.d/ Ns Ao Ar name Ac
98 is a directory,
99 all of files in the directory will be loaded.
100 Also see the
101 .Va rc_conf_files
102 variable below.
103 .Pp
104 Options are set with
105 .Dq Ar name Ns Li = Ns Ar value
106 assignments that use
107 .Xr sh 1
108 syntax.
109 The following list provides a name and short description for each
110 variable that can be set in the
111 .Nm
112 file:
113 .Bl -tag -width indent-two
114 .It Va rc_debug
115 .Pq Vt bool
116 If set to
117 .Dq Li YES ,
118 enable output of debug messages from rc scripts.
119 This variable can be helpful in diagnosing mistakes when
120 editing or integrating new scripts.
121 Beware that this produces copious output to the terminal and
122 .Xr syslog 3 .
123 .It Va rc_info
124 .Pq Vt bool
125 If set to
126 .Dq Li NO ,
127 disable informational messages from the rc scripts.
128 Informational messages are displayed when
129 a condition that is not serious enough to warrant a warning or
130 an error occurs.
131 .It Va rc_startmsgs
132 .Pq Vt bool
133 If set to
134 .Dq Li YES ,
135 show
136 .Dq Starting foo:
137 when faststart is used (e.g., at boot time).
138 .It Va early_late_divider
139 .Pq Vt str
140 The name of the script that should be used as the
141 delimiter between the
142 .Dq early
143 and
144 .Dq late
145 stages of the boot process.
146 The early stage should contain all the services needed to
147 get the disks (local or remote) mounted so that the late
148 stage can include scripts contained in the directories
149 listed in the
150 .Va local_startup
151 variable (see below).
152 Thus, the two likely candidates for this value are
153 .Pa mountcritlocal
154 for the typical system, and
155 .Pa mountcritremote
156 if the system needs remote file
157 systems mounted to get access to the
158 .Va local_startup
159 directories; for example when
160 .Pa /usr/local
161 is NFS mounted.
162 For
163 .Pa rc.conf
164 within a
165 .Xr jail 8
166 .Pa NETWORKING
167 is likely to be an appropriate value.
168 Extreme care should be taken when changing this value,
169 and before changing it one should ensure that there are
170 adequate provisions to recover from a failed boot
171 (such as physical contact with the machine,
172 or reliable remote console access).
173 .It Va always_force_depends
174 .Pq Vt bool
175 Various
176 .Pa rc.d
177 scripts use the force_depend function to check whether required
178 services are already running, and to start them if necessary.
179 By default during boot time this check is bypassed if the
180 required service is enabled in
181 .Pa /etc/rc.conf[.local] .
182 Setting this option will bypass that check at boot time and
183 always test whether or not the service is actually running.
184 Enabling this option is likely to increase your boot time if
185 services are enabled that utilize the force_depend check.
186 .It Ao Ar name Ac Ns Va _chroot
187 .Pq Vt str
188 .Xr chroot 8
189 to this directory before running the service.
190 .It Ao Ar name Ac Ns Va _user
191 .Pq Vt str
192 Run the service under this user account.
193 .It Ao Ar name Ac Ns Va _group
194 .Pq Vt str
195 Run the chrooted service under this system group.
196 Unlike the _user
197 setting, this setting has no effect if the service is not chrooted.
198 .It Ao Ar name Ac Ns Va _fib
199 .Pq Vt int
200 The
201 .Xr setfib 1
202 value to run the service under.
203 .It Ao Ar name Ac Ns Va _nice
204 .Pq Vt int
205 The
206 .Xr nice 1
207 value to run the service under.
208 .It Va apm_enable
209 .Pq Vt bool
210 If set to
211 .Dq Li YES ,
212 enable support for Automatic Power Management with
213 the
214 .Xr apm 8
215 command.
216 .It Va apmd_enable
217 .Pq Vt bool
218 Run
219 .Xr apmd 8
220 to handle APM event from userland.
221 This also enables support for APM.
222 .It Va apmd_flags
223 .Pq Vt str
224 If
225 .Va apmd_enable
226 is set to
227 .Dq Li YES ,
228 these are the flags to pass to the
229 .Xr apmd 8
230 daemon.
231 .It Va devd_enable
232 .Pq Vt bool
233 Run
234 .Xr devd 8
235 to handle device added, removed or unknown events from the kernel.
236 .It Va ddb_enable
237 .Pq Vt bool
238 Run
239 .Xr ddb 8
240 to install
241 .Xr ddb 4
242 scripts at boot time.
243 .It Va ddb_config
244 .Pq Vt str
245 Configuration file for
246 .Xr ddb 8 .
247 Default
248 .Pa /etc/ddb.conf .
249 .It Va kld_list
250 .Pq Vt str
251 A whitespace-separated list of kernel modules to load right after
252 the local disks are mounted, without any
253 .Pa .ko
254 extension or path.
255 Loading modules at this point in the boot process is
256 much faster than doing it via
257 .Pa /boot/loader.conf
258 for those modules not necessary for mounting local disks.
259 .It Va kldxref_enable
260 .Pq Vt bool
261 Set to
262 .Dq Li NO
263 by default.
264 Set to
265 .Dq Li YES
266 to automatically rebuild
267 .Pa linker.hints
268 files with
269 .Xr kldxref 8
270 at boot time.
271 .It Va kldxref_clobber
272 .Pq Vt bool
273 Set to
274 .Dq Li NO
275 by default.
276 If
277 .Va kldxref_enable
278 is true,
279 setting to
280 .Dq Li YES
281 will overwrite existing
282 .Pa linker.hints
283 files at boot time.
284 Otherwise,
285 only missing
286 .Pa linker.hints
287 files are generated.
288 .It Va kldxref_module_path
289 .Pq Vt str
290 Empty by default.
291 A semi-colon
292 .Pq Ql \&;
293 delimited list of paths containing
294 .Xr kld 4
295 modules.
296 If empty,
297 the contents of the
298 .Va kern.module_path
299 .Xr sysctl 8
300 are used.
301 .It Va powerd_enable
302 .Pq Vt bool
303 If set to
304 .Dq Li YES ,
305 enable the system power control facility with the
306 .Xr powerd 8
307 daemon.
308 .It Va powerd_flags
309 .Pq Vt str
310 If
311 .Va powerd_enable
312 is set to
313 .Dq Li YES ,
314 these are the flags to pass to the
315 .Xr powerd 8
316 daemon.
317 .It Va tmpmfs
318 Controls the creation of a
319 .Pa /tmp
320 memory file system.
321 Always happens if set to
322 .Dq Li YES
323 and never happens if set to
324 .Dq Li NO .
325 If set to anything else, a memory file system is created if
326 .Pa /tmp
327 is not writable.
328 .It Va tmpsize
329 Controls the size of a created
330 .Pa /tmp
331 memory file system.
332 .It Va tmpmfs_flags
333 Extra options passed to the
334 .Xr mdmfs 8
335 utility when the memory file system for
336 .Pa /tmp
337 is created.
338 The default is
339 .Dq Li "-S" ,
340 which inhibits the use of softupdates on
341 .Pa /tmp
342 so that file system space is freed without delay
343 after file truncation or deletion.
344 See
345 .Xr mdmfs 8
346 for other options you can use in
347 .Va tmpmfs_flags .
348 .It Va varmfs
349 Controls the creation of a
350 .Pa /var
351 memory file system.
352 Always happens if set to
353 .Dq Li YES
354 and never happens if set to
355 .Dq Li NO .
356 If set to anything else, a memory file system is created if
357 .Pa /var
358 is not writable.
359 .It Va varsize
360 Controls the size of a created
361 .Pa /var
362 memory file system.
363 .It Va varmfs_flags
364 Extra options passed to the
365 .Xr mdmfs 8
366 utility when the memory file system for
367 .Pa /var
368 is created.
369 The default is
370 .Dq Li "-S" ,
371 which inhibits the use of softupdates on
372 .Pa /var
373 so that file system space is freed without delay
374 after file truncation or deletion.
375 See
376 .Xr mdmfs 8
377 for other options you can use in
378 .Va varmfs_flags .
379 .It Va populate_var
380 Controls the automatic population of the
381 .Pa /var
382 file system.
383 Always happens if set to
384 .Dq Li YES
385 and never happens if set to
386 .Dq Li NO .
387 If set to anything else, a memory file system is created if
388 .Pa /var
389 is not writable.
390 Note that this process requires access to certain commands in
391 .Pa /usr
392 before
393 .Pa /usr
394 is mounted on normal systems.
395 .It Va cleanvar_enable
396 .Pq Vt bool
397 Clean the
398 .Pa /var
399 directory.
400 .It Va local_startup
401 .Pq Vt str
402 List of directories to search for startup script files.
403 .It Va script_name_sep
404 .Pq Vt str
405 The field separator to use for breaking down the list of startup script files
406 into individual filenames.
407 The default is a space.
408 It is not necessary to change this unless there are startup scripts with names
409 containing spaces.
410 .It Va hostapd_enable
411 .Pq Vt bool
412 Set to
413 .Dq Li YES
414 to start
415 .Xr hostapd 8
416 at system boot time.
417 .It Va hostname
418 .Pq Vt str
419 The fully qualified domain name (FQDN) of this host on the network.
420 This should almost certainly be set to something meaningful, even if
421 there is no network connection.
422 If
423 .Xr dhclient 8
424 is used to set the hostname via DHCP,
425 this variable should be set to an empty string.
426 Within a
427 .Xr jail 8
428 the hostname is generally already set and this variable may absent.
429 If this value remains unset when the system is done booting
430 your console login will display the default hostname of
431 .Dq Amnesiac .
432 .It Va nisdomainname
433 .Pq Vt str
434 The NIS domain name of this host, or
435 .Dq Li NO
436 if NIS is not used.
437 .It Va dhclient_program
438 .Pq Vt str
439 Path to the DHCP client program
440 .Pa ( /sbin/dhclient ,
441 the
442 .Ox
443 DHCP client,
444 is the default).
445 .It Va dhclient_flags
446 .Pq Vt str
447 Additional flags to pass to the DHCP client program.
448 For the
449 .Ox
450 DHCP client, see the
451 .Xr dhclient 8
452 manpage for a description of the command line options available.
453 .It Va dhclient_flags_ Ns Aq Ar iface
454 Additional flags to pass to the DHCP client program running on
455 .Ar iface
456 only.
457 When specified, this variable overrides
458 .Va dhclient_flags .
459 .It Va background_dhclient
460 .Pq Vt bool
461 Set to
462 .Dq Li YES
463 to start the DHCP client in background.
464 This can cause trouble with applications depending on
465 a working network, but it will provide a faster startup
466 in many cases.
467 .It Va background_dhclient_ Ns Aq Ar iface
468 When specified, this variable overrides the
469 .Va background_dhclient
470 variable for interface
471 .Ar iface
472 only.
473 .It Va synchronous_dhclient
474 .Pq Vt bool
475 Set to
476 .Dq Li YES
477 to start
478 .Xr dhclient 8
479 synchronously at startup.
480 This behavior can be overridden on a per-interface basis by replacing
481 the
482 .Dq Li DHCP
483 keyword in the
484 .Va ifconfig_ Ns Aq Ar interface
485 variable with
486 .Dq Li SYNCDHCP
487 or
488 .Dq Li NOSYNCDHCP .
489 .It Va defaultroute_delay
490 .Pq Vt int
491 When set to a positive value, wait up to this long after configuring
492 DHCP interfaces at startup to give the interfaces time to receive a lease.
493 .It Va firewall_enable
494 .Pq Vt bool
495 Set to
496 .Dq Li YES
497 to load firewall rules at startup.
498 If the kernel was not built with
499 .Cd "options IPFIREWALL" ,
500 the
501 .Pa ipfw.ko
502 kernel module will be loaded.
503 See also
504 .Va ipfilter_enable .
505 .It Va firewall_script
506 .Pq Vt str
507 This variable specifies the full path to the firewall script to run.
508 The default is
509 .Pa /etc/rc.firewall .
510 .It Va firewall_type
511 .Pq Vt str
512 Names the firewall type from the selection in
513 .Pa /etc/rc.firewall ,
514 or the file which contains the local firewall ruleset.
515 Valid selections from
516 .Pa /etc/rc.firewall
517 are:
518 .Pp
519 .Bl -tag -width ".Li simple" -compact
520 .It Li open
521 unrestricted IP access
522 .It Li closed
523 all IP services disabled, except via
524 .Dq Li lo0
525 .It Li client
526 basic protection for a workstation
527 .It Li simple
528 basic protection for a LAN.
529 .El
530 .Pp
531 If a filename is specified, the full path
532 must be given.
533 .It Va firewall_quiet
534 .Pq Vt bool
535 Set to
536 .Dq Li YES
537 to disable the display of firewall rules on the console during boot.
538 .It Va firewall_logging
539 .Pq Vt bool
540 Set to
541 .Dq Li YES
542 to enable firewall event logging.
543 This is equivalent to the
544 .Dv IPFIREWALL_VERBOSE
545 kernel option.
546 .It Va firewall_logif
547 .Pq Vt bool
548 Set to
549 .Dq Li YES
550 to create pseudo interface
551 .Li ipfw0
552 for logging.
553 For more details, see
554 .Xr ipfw 8
555 manual page.
556 .It Va firewall_flags
557 .Pq Vt str
558 Flags passed to
559 .Xr ipfw 8
560 if
561 .Va firewall_type
562 specifies a filename.
563 .It Va firewall_coscripts
564 .Pq Vt str
565 List of executables and/or rc scripts to run after firewall starts/stops.
566 Default is empty.
567 .\" ----- firewall_nat_enable setting --------------------------------
568 .It Va firewall_nat_enable
569 .Pq Vt bool
570 The
571 .Xr ipfw 8
572 equivalent of
573 .Va natd_enable .
574 Setting this to
575 .Dq Li YES
576 will automatically load the
577 .Xr ipfw 8
578 NAT kernel module if
579 .Va firewall_enable
580 is also set to
581 .Dq Li YES .
582 .It Va firewall_nat_interface
583 .Pq Vt str
584 The
585 .Xr ipfw 8
586 equivalent of
587 .Va natd_interface .
588 This is the name of the public interface or IP address on which
589 kernel NAT should run.
590 .It Va firewall_nat_flags
591 .Pq Vt str
592 Additional configuration parameters for kernel NAT should be placed here.
593 .It Va firewall_nat64_enable
594 .Pq Vt bool
595 Setting this to
596 .Dq Li YES
597 will automatically load the
598 .Xr ipfw 8
599 NAT64 kernel module if
600 .Va firewall_enable
601 is also set to
602 .Dq Li YES .
603 .It Va firewall_nptv6_enable
604 .Pq Vt bool
605 Setting this to
606 .Dq Li YES
607 will automatically load the
608 .Xr ipfw 8
609 NPTv6 kernel module if
610 .Va firewall_enable
611 is also set to
612 .Dq Li YES .
613 .It Va firewall_pmod_enable
614 .Pq Vt bool
615 Setting this to
616 .Dq Li YES
617 will automatically load the
618 .Xr ipfw 8
619 pmod kernel module if
620 .Va firewall_enable
621 is also set to
622 .Dq Li YES .
623 .It Va dummynet_enable
624 .Pq Vt bool
625 Setting this to
626 .Dq Li YES
627 will automatically load the
628 .Xr dummynet 4
629 module if
630 .Va firewall_enable
631 is also set to
632 .Dq Li YES .
633 .\" -------------------------------------------------------------------
634 .It Va ipfw_netflow_enable
635 .Pq Vt bool
636 Setting this to
637 .Dq Li YES
638 will enable netflow logging via
639 .Xr ng_netflow 4
640 .Pp
641 By default a ipfw rule is inserted and all packets are duplicated with
642 the ngtee command and netflow packets are sent to 127.0.0.1 on the netflow
643 port using protocol version 5.
644 .It Va ipfw_netflow_hook
645 .Pq Vt int
646 netflow hook name, must be numerical
647 (default
648 .Pa 9995 ) .
649 .It Va ipfw_netflow_rule
650 .Pq Vt int
651 ipfw rule number
652 (default
653 .Pa 1000 ) .
654 .It Va ipfw_netflow_ip
655 .Pq Vt str
656 Destination server ip for receiving netflow data
657 (default
658 .Pa 127.0.0.1 ) .
659 .It Va ipfw_netflow_port
660 .Pq Vt int
661 Destination server port for receiving netflow data
662 (default
663 .Pa 9995 ) .
664 .It Va ipfw_netflow_version
665 .Pq Vt int
666 Do not set for using version 5 of the netflow protocol, set it to 9 for using version 9.
667 .It Va ipfw_netflow_fib
668 .Pq Vt int
669 Only match packet in FIB
670 .Pa ipfw_netflow_fib
671 (default is undefined meaning all FIBs).
672 .It Va natd_program
673 .Pq Vt str
674 Path to
675 .Xr natd 8 .
676 .It Va natd_enable
677 .Pq Vt bool
678 Set to
679 .Dq Li YES
680 to enable
681 .Xr natd 8 .
682 .Va firewall_enable
683 must also be set to
684 .Dq Li YES ,
685 and
686 .Xr divert 4
687 sockets must be enabled in the kernel.
688 If the kernel was not built with
689 .Cd "options IPDIVERT" ,
690 the
691 .Pa ipdivert.ko
692 kernel module will be loaded.
693 .It Va natd_interface
694 .Pq Vt str
695 This is the name of the public interface on which
696 .Xr natd 8
697 should run.
698 The interface may be given as an interface name or as an IP address.
699 .It Va natd_flags
700 .Pq Vt str
701 Additional
702 .Xr natd 8
703 flags should be placed here.
704 The
705 .Fl n
706 or
707 .Fl a
708 flag is automatically added with the above
709 .Va natd_interface
710 as an argument.
711 .\" ----- ipfilter_enable setting --------------------------------
712 .It Va ipfilter_enable
713 .Pq Vt bool
714 Set to
715 .Dq Li NO
716 by default.
717 Setting this to
718 .Dq Li YES
719 enables
720 .Xr ipf 8
721 packet filtering.
722 .Pp
723 Typical usage will require putting
724 .Bd -literal
725 ipfilter_enable="YES"
726 ipnat_enable="YES"
727 ipmon_enable="YES"
728 ipfs_enable="YES"
729 .Ed
730 .Pp
731 into
732 .Pa /etc/rc.conf
733 and editing
734 .Pa /etc/ipf.rules
735 and
736 .Pa /etc/ipnat.rules
737 appropriately.
738 .Pp
739 Note that
740 .Va ipfilter_enable
741 and
742 .Va ipnat_enable
743 can be enabled independently.
744 .Va ipmon_enable
745 and
746 .Va ipfs_enable
747 both require at least one of
748 .Va ipfilter_enable
749 and
750 .Va ipnat_enable
751 to be enabled.
752 .Pp
753 Having
754 .Bd -literal
755 options IPFILTER
756 options IPFILTER_LOG
757 options IPFILTER_DEFAULT_BLOCK
758 .Ed
759 .Pp
760 in the kernel configuration file is a good idea, too.
761 .\" ----- ipfilter_program setting ------------------------------
762 .It Va ipfilter_program
763 .Pq Vt str
764 Path to
765 .Xr ipf 8
766 (default
767 .Pa /sbin/ipf ) .
768 .\" ----- ipfilter_rules setting --------------------------------
769 .It Va ipfilter_rules
770 .Pq Vt str
771 Set to
772 .Pa /etc/ipf.rules
773 by default.
774 This variable contains the name of the filter rule definition file.
775 The file is expected to be readable for the
776 .Xr ipf 8
777 command to execute.
778 .\" ----- ipv6_ipfilter_rules setting ---------------------------
779 .It Va ipv6_ipfilter_rules
780 .Pq Vt str
781 Set to
782 .Pa /etc/ipf6.rules
783 by default.
784 This variable contains the IPv6 filter rule definition file.
785 The file is expected to be readable for the
786 .Xr ipf 8
787 command to execute.
788 .\" ----- ipfilter_flags setting --------------------------------
789 .It Va ipfilter_flags
790 .Pq Vt str
791 Empty by default.
792 This variable contains flags passed to the
793 .Xr ipf 8
794 program.
795 .\" ----- ipnat_enable setting ----------------------------------
796 .It Va ipnat_enable
797 .Pq Vt bool
798 Set to
799 .Dq Li NO
800 by default.
801 Set it to
802 .Dq Li YES
803 to enable
804 .Xr ipnat 8
805 network address translation.
806 See
807 .Va ipfilter_enable
808 for a detailed discussion.
809 .\" ----- ipnat_program setting ---------------------------------
810 .It Va ipnat_program
811 .Pq Vt str
812 Path to
813 .Xr ipnat 8
814 (default
815 .Pa /sbin/ipnat ) .
816 .\" ----- ipnat_rules setting -----------------------------------
817 .It Va ipnat_rules
818 .Pq Vt str
819 Set to
820 .Pa /etc/ipnat.rules
821 by default.
822 This variable contains the name of the file
823 holding the network address translation definition.
824 This file is expected to be readable for the
825 .Xr ipnat 8
826 command to execute.
827 .\" ----- ipnat_flags setting -----------------------------------
828 .It Va ipnat_flags
829 .Pq Vt str
830 Empty by default.
831 This variable contains flags passed to the
832 .Xr ipnat 8
833 program.
834 .\" ----- ipmon_enable setting ----------------------------------
835 .It Va ipmon_enable
836 .Pq Vt bool
837 Set to
838 .Dq Li NO
839 by default.
840 Set it to
841 .Dq Li YES
842 to enable
843 .Xr ipmon 8
844 monitoring (logging
845 .Xr ipf 8
846 and
847 .Xr ipnat 8
848 events).
849 Setting this variable needs setting
850 .Va ipfilter_enable
851 or
852 .Va ipnat_enable
853 too.
854 See
855 .Va ipfilter_enable
856 for a detailed discussion.
857 .\" ----- ipmon_program setting ---------------------------------
858 .It Va ipmon_program
859 .Pq Vt str
860 Path to
861 .Xr ipmon 8
862 (default
863 .Pa /sbin/ipmon ) .
864 .\" ----- ipmon_flags setting -----------------------------------
865 .It Va ipmon_flags
866 .Pq Vt str
867 Set to
868 .Dq Li -Ds
869 by default.
870 This variable contains flags passed to the
871 .Xr ipmon 8
872 program.
873 Another typical example would be
874 .Dq Fl D Pa /var/log/ipflog
875 to have
876 .Xr ipmon 8
877 log directly to a file bypassing
878 .Xr syslogd 8 .
879 Make sure to adjust
880 .Pa /etc/newsyslog.conf
881 in such case like this:
882 .Bd -literal
883 /var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
884 .Ed
885 .\" ----- ipfs_enable setting -----------------------------------
886 .It Va ipfs_enable
887 .Pq Vt bool
888 Set to
889 .Dq Li NO
890 by default.
891 Set it to
892 .Dq Li YES
893 to enable
894 .Xr ipfs 8
895 saving the filter and NAT state tables during shutdown
896 and reloading them during startup again.
897 Setting this variable needs setting
898 .Va ipfilter_enable
899 or
900 .Va ipnat_enable
901 to
902 .Dq Li YES
903 too.
904 See
905 .Va ipfilter_enable
906 for a detailed discussion.
907 Note that if
908 .Va kern_securelevel
909 is set to 3,
910 .Va ipfs_enable
911 cannot be used
912 because the raised securelevel will prevent
913 .Xr ipfs 8
914 from saving the state tables at shutdown time.
915 .\" ----- ipfs_program setting ----------------------------------
916 .It Va ipfs_program
917 .Pq Vt str
918 Path to
919 .Xr ipfs 8
920 (default
921 .Pa /sbin/ipfs ) .
922 .\" ----- ipfs_flags setting ------------------------------------
923 .It Va ipfs_flags
924 .Pq Vt str
925 Empty by default.
926 This variable contains flags passed to the
927 .Xr ipfs 8
928 program.
929 .\" ----- end of added ipf hook ---------------------------------
930 .It Va pf_enable
931 .Pq Vt bool
932 Set to
933 .Dq Li NO
934 by default.
935 Setting this to
936 .Dq Li YES
937 enables
938 .Xr pf 4
939 packet filtering.
940 .Pp
941 Typical usage will require putting
942 .Pp
943 .Dl pf_enable="YES"
944 .Pp
945 into
946 .Pa /etc/rc.conf
947 and editing
948 .Pa /etc/pf.conf
949 appropriately.
950 Adding
951 .Pp
952 .Dl "device pf"
953 .Pp
954 builds support for
955 .Xr pf 4
956 into the kernel, otherwise the
957 kernel module will be loaded.
958 .It Va pf_rules
959 .Pq Vt str
960 Path to
961 .Xr pf 4
962 ruleset configuration file
963 (default
964 .Pa /etc/pf.conf ) .
965 .It Va pf_program
966 .Pq Vt str
967 Path to
968 .Xr pfctl 8
969 (default
970 .Pa /sbin/pfctl ) .
971 .It Va pf_flags
972 .Pq Vt str
973 If
974 .Va pf_enable
975 is set to
976 .Dq Li YES ,
977 these flags are passed to the
978 .Xr pfctl 8
979 program when loading the ruleset.
980 .It Va pflog_enable
981 .Pq Vt bool
982 Set to
983 .Dq Li NO
984 by default.
985 Setting this to
986 .Dq Li YES
987 enables
988 .Xr pflogd 8
989 which logs packets from the
990 .Xr pf 4
991 packet filter.
992 .It Va pflog_logfile
993 .Pq Vt str
994 If
995 .Va pflog_enable
996 is set to
997 .Dq Li YES
998 this controls where
999 .Xr pflogd 8
1000 stores the logfile
1001 (default
1002 .Pa /var/log/pflog ) .
1003 Check
1004 .Pa /etc/newsyslog.conf
1005 to adjust logfile rotation for this.
1006 .It Va pflog_program
1007 .Pq Vt str
1008 Path to
1009 .Xr pflogd 8
1010 (default
1011 .Pa /sbin/pflogd ) .
1012 .It Va pflog_flags
1013 .Pq Vt str
1014 Empty by default.
1015 This variable contains additional flags passed to the
1016 .Xr pflogd 8
1017 program.
1018 .It Va pflog_instances
1019 .Pq Vt str
1020 If logging to more than one
1021 .Xr pflog 4
1022 interface is desired,
1023 .Va pflog_instances
1024 is set to the list of
1025 .Xr pflogd 8
1026 instances that should be started at system boot time.
1027 If
1028 .Va pflog_instances
1029 is set, for each whitespace-separated
1030 .Ar element
1031 in the list,
1032 .Ao Ar element Ac Ns Va _dev
1033 and
1034 .Ao Ar element Ac Ns Va _logfile
1035 elements are assumed to exist.
1036 .Ao Ar element Ac Ns Va _dev
1037 must contain the
1038 .Xr pflog 4
1039 interface to be watched by the named
1040 .Xr pflogd 8
1041 instance.
1042 .Ao Ar element Ac Ns Va _logfile
1043 must contain the name of the logfile that will be used by the
1044 .Xr pflogd 8
1045 instance.
1046 .It Va ftpproxy_enable
1047 .Pq Vt bool
1048 Set to
1049 .Dq Li NO
1050 by default.
1051 Setting this to
1052 .Dq Li YES
1053 enables
1054 .Xr ftp-proxy 8
1055 which supports the
1056 .Xr pf 4
1057 packet filter in translating ftp connections.
1058 .It Va ftpproxy_flags
1059 .Pq Vt str
1060 Empty by default.
1061 This variable contains additional flags passed to the
1062 .Xr ftp-proxy 8
1063 program.
1064 .It Va ftpproxy_instances
1065 .Pq Vt str
1066 Empty by default.
1067 If multiple instances of
1068 .Xr ftp-proxy 8
1069 are desired at boot time,
1070 .Va ftpproxy_instances
1071 should contain a whitespace-separated list of instance names.
1072 For each
1073 .Ar element
1074 in the list, a variable named
1075 .Ao Ar element Ac Ns Va _flags
1076 should be defined, containing the command-line flags to be passed to the
1077 .Xr ftp-proxy 8
1078 instance.
1079 .It Va pfsync_enable
1080 .Pq Vt bool
1081 Set to
1082 .Dq Li NO
1083 by default.
1084 Setting this to
1085 .Dq Li YES
1086 enables exposing
1087 .Xr pf 4
1088 state changes to other hosts over the network by means of
1089 .Xr pfsync 4 .
1090 The
1091 .Va pfsync_syncdev
1092 variable
1093 must also be set then.
1094 .It Va pfsync_syncdev
1095 .Pq Vt str
1096 Empty by default.
1097 This variable specifies the name of the network interface
1098 .Xr pfsync 4
1099 should operate through.
1100 It must be set accordingly if
1101 .Va pfsync_enable
1102 is set to
1103 .Dq Li YES .
1104 .It Va pfsync_syncpeer
1105 .Pq Vt str
1106 Empty by default.
1107 This variable is optional.
1108 By default, state change messages are sent out on the synchronisation
1109 interface using IP multicast packets.
1110 The protocol is IP protocol 240, PFSYNC, and the multicast group used is
1111 224.0.0.240.
1112 When a peer address is specified using the
1113 .Va pfsync_syncpeer
1114 option, the peer address is used as a destination for the pfsync
1115 traffic, and the traffic can then be protected using
1116 .Xr ipsec 4 .
1117 See the
1118 .Xr pfsync 4
1119 manpage for more details about using
1120 .Xr ipsec 4
1121 with
1122 .Xr pfsync 4
1123 interfaces.
1124 .It Va pfsync_ifconfig
1125 .Pq Vt str
1126 Empty by default.
1127 This variable can contain additional options to be passed to the
1128 .Xr ifconfig 8
1129 command used to set up
1130 .Xr pfsync 4 .
1131 .It Va tcp_extensions
1132 .Pq Vt bool
1133 Set to
1134 .Dq Li YES
1135 by default.
1136 Setting this to
1137 .Dq Li NO
1138 disables certain TCP options as described by
1139 .Rs
1140 .%T "RFC 1323"
1141 .Re
1142 Setting this to
1143 .Dq Li NO
1144 might help remedy such problems with connections as randomly hanging
1145 or other weird behavior.
1146 Some network devices are known
1147 to be broken with respect to these options.
1148 .It Va log_in_vain
1149 .Pq Vt int
1150 Set to 0 by default.
1151 The
1152 .Xr sysctl 8
1153 variables,
1154 .Va net.inet.tcp.log_in_vain
1155 and
1156 .Va net.inet.udp.log_in_vain ,
1157 as described in
1158 .Xr tcp 4
1159 and
1160 .Xr udp 4 ,
1161 are set to the given value.
1162 .It Va tcp_keepalive
1163 .Pq Vt bool
1164 Set to
1165 .Dq Li YES
1166 by default.
1167 Setting to
1168 .Dq Li NO
1169 will disable probing idle TCP connections to verify that the
1170 peer is still up and reachable.
1171 .It Va tcp_drop_synfin
1172 .Pq Vt bool
1173 Set to
1174 .Dq Li NO
1175 by default.
1176 Setting to
1177 .Dq Li YES
1178 will cause the kernel to ignore TCP frames that have both
1179 the SYN and FIN flags set.
1180 This prevents OS fingerprinting, but may
1181 break some legitimate applications.
1182 .It Va icmp_drop_redirect
1183 .Pq Vt bool
1184 Set to
1185 .Dq Li NO
1186 by default.
1187 Setting to
1188 .Dq Li YES
1189 will cause the kernel to ignore ICMP REDIRECT packets.
1190 Refer to
1191 .Xr icmp 4
1192 for more information.
1193 .It Va icmp_log_redirect
1194 .Pq Vt bool
1195 Set to
1196 .Dq Li NO
1197 by default.
1198 Setting to
1199 .Dq Li YES
1200 will cause the kernel to log ICMP REDIRECT packets.
1201 Note that
1202 the log messages are not rate-limited, so this option should only be used
1203 for troubleshooting networks.
1204 Refer to
1205 .Xr icmp 4
1206 for more information.
1207 .It Va icmp_bmcastecho
1208 .Pq Vt bool
1209 Set to
1210 .Dq Li YES
1211 to respond to broadcast or multicast ICMP ping packets.
1212 Refer to
1213 .Xr icmp 4
1214 for more information.
1215 .It Va ip_portrange_first
1216 .Pq Vt int
1217 If not set to
1218 .Dq Li NO ,
1219 this is the first port in the default portrange.
1220 Refer to
1221 .Xr ip 4
1222 for more information.
1223 .It Va ip_portrange_last
1224 .Pq Vt int
1225 If not set to
1226 .Dq Li NO ,
1227 this is the last port in the default portrange.
1228 Refer to
1229 .Xr ip 4
1230 for more information.
1231 .It Va network_interfaces
1232 .Pq Vt str
1233 Set to the list of network interfaces to configure on this host or
1234 .Dq Li AUTO
1235 (the default) for all current interfaces.
1236 Setting the
1237 .Va network_interfaces
1238 variable to anything other than the default is deprecated.
1239 Interfaces that the administrator wishes to store configuration for,
1240 but not start at boot should be configured with the
1241 .Dq Li NOAUTO
1242 keyword in their
1243 .Va ifconfig_ Ns Aq Ar interface
1244 variables as described below.
1245 .Pp
1246 An
1247 .Va ifconfig_ Ns Aq Ar interface
1248 variable is also assumed to exist for each value of
1249 .Ar interface .
1250 When an interface name contains any of the characters
1251 .Dq Li .-/+
1252 they are translated to
1253 .Dq Li _
1254 before lookup.
1255 The variable can contain arguments to
1256 .Xr ifconfig 8 ,
1257 as well as special case-insensitive keywords described below.
1258 Such keywords are removed before passing the value to
1259 .Xr ifconfig 8
1260 while the order of the other arguments is preserved.
1261 .Pp
1262 It is possible to add IP alias entries using
1263 .Xr ifconfig 8
1264 syntax with the address family keyword such as
1265 .Li inet .
1266 Assuming that the interface in question was
1267 .Li em0 ,
1268 it might look something like this:
1269 .Bd -literal
1270 ifconfig_em0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1271 ifconfig_em0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1272 .Ed
1273 .Pp
1274 It also possible to configure multiple IP addresses in Classless
1275 Inter-Domain Routing
1276 .Pq CIDR
1277 address notation,
1278 whose each address component can be a range like
1279 .Li inet 192.0.2.5-23/24
1280 or
1281 .Li inet6 2001:db8:1-f::1/64 .
1282 This notation allows address and prefix length part only,
1283 not the other address modifiers.
1284 Note that the maximum number of the generated addresses from a range
1285 specification is limited to an integer value specified in
1286 .Va netif_ipexpand_max
1287 in
1288 .Nm
1289 because a small typo can unexpectedly generate a large number of addresses.
1290 The default value is
1291 .Li 2048 .
1292 It can be increased by adding the following line into
1293 .Nm :
1294 .Bd -literal
1295 netif_ipexpand_max="4096"
1296 .Ed
1297 .Pp
1298 In the case of
1299 .Li 192.0.2.5-23/24 ,
1300 the address 192.0.2.5 will be configured with the
1301 netmask /24 and the addresses 192.0.2.6 to 192.0.2.23 with
1302 the non-conflicting netmask /32 as explained in the
1303 .Xr ifconfig 8
1304 alias section.
1305 Note that this special netmask handling is only for
1306 .Li inet ,
1307 not for the other address families such as
1308 .Li inet6 .
1309 .Pp
1310 With the interface in question being
1311 .Li em0 ,
1312 an example could look like:
1313 .Bd -literal
1314 ifconfig_em0_alias2="inet 192.0.2.129/27"
1315 ifconfig_em0_alias3="inet 192.0.2.1-5/28"
1316 .Ed
1317 .Pp
1318 and so on.
1319 .Pp
1320 Note that
1321 .Va ipv4_addrs_ Ns Aq Ar interface
1322 variable was supported for IPv4 CIDR address notation.
1323 It is now deprecated because the functionality was integrated into
1324 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1325 though
1326 .Va ipv4_addrs_ Ns Aq Ar interface
1327 is still supported for backward compatibility.
1328 .Pp
1329 For each
1330 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1331 entry with an address family keyword,
1332 its contents are passed to
1333 .Xr ifconfig 8 .
1334 Execution stops at the first unsuccessful access, so if
1335 something like this is present:
1336 .Bd -literal
1337 ifconfig_em0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1338 ifconfig_em0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1339 ifconfig_em0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1340 ifconfig_em0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1341 .Ed
1342 .Pp
1343 Then note that alias4 would
1344 .Em not
1345 be added since the search would
1346 stop with the missing
1347 .Dq Li alias3
1348 entry.
1349 Because of this difficult to manage behavior,
1350 there is
1351 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _aliases
1352 variable, which has the same functionality as
1353 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1354 and can have all of entries in a variable like the following:
1355 .Bd -literal
1356 ifconfig_em0_aliases="\\
1357         inet 127.0.0.251 netmask 0xffffffff \\
1358         inet 127.0.0.252 netmask 0xffffffff \\
1359         inet 127.0.0.253 netmask 0xffffffff \\
1360         inet 127.0.0.254 netmask 0xffffffff"
1361 .Ed
1362 .Pp
1363 It also supports CIDR notation.
1364 .Pp
1365 If the
1366 .Pa /etc/start_if. Ns Aq Ar interface
1367 file is present, it is read and executed by the
1368 .Xr sh 1
1369 interpreter
1370 before configuring the interface as specified in the
1371 .Va ifconfig_ Ns Aq Ar interface
1372 and
1373 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1374 variables.
1375 .Pp
1376 If a
1377 .Va vlans_ Ns Aq Ar interface
1378 variable is set,
1379 a
1380 .Xr vlan 4
1381 interface will be created for each item in the list with the
1382 .Ar vlandev
1383 argument set to
1384 .Ar interface .
1385 If a vlan interface's name is a number,
1386 then that number is used as the vlan tag and the new vlan interface is
1387 named
1388 .Ar interface . Ns Ar tag .
1389 Otherwise,
1390 the vlan tag must be specified via a
1391 .Va vlan
1392 parameter in the
1393 .Va create_args_ Ns Aq Ar interface
1394 variable.
1395 .Pp
1396 To create a vlan device named
1397 .Li em0.101
1398 on
1399 .Li em0
1400 with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24:
1401 .Bd -literal
1402 vlans_em0="101"
1403 ifconfig_em0_101="inet 192.0.2.1/24"
1404 .Ed
1405 .Pp
1406 To create a vlan device named
1407 .Li myvlan
1408 on
1409 .Li em0
1410 with the vlan tag 102:
1411 .Bd -literal
1412 vlans_em0="myvlan"
1413 create_args_myvlan="vlan 102"
1414 .Ed
1415 .Pp
1416 If a
1417 .Va wlans_ Ns Aq Ar interface
1418 variable is set,
1419 an
1420 .Xr wlan 4
1421 interface will be created for each item in the list with the
1422 .Ar wlandev
1423 argument set to
1424 .Ar interface .
1425 Further wlan cloning arguments may be passed to the
1426 .Xr ifconfig 8
1427 .Cm create
1428 command by setting the
1429 .Va create_args_ Ns Aq Ar interface
1430 variable.
1431 One or more
1432 .Xr wlan 4
1433 devices must be created for each wireless devices as of
1434 .Fx 8.0 .
1435 Debugging flags for
1436 .Xr wlan 4
1437 devices as set by
1438 .Xr wlandebug 8
1439 may be specified with an
1440 .Va wlandebug_ Ns Aq Ar interface
1441 variable.
1442 The contents of this variable will be passed directly to
1443 .Xr wlandebug 8 .
1444 .Pp
1445 If the
1446 .Va ifconfig_ Ns Aq Ar interface
1447 contains the keyword
1448 .Dq Li NOAUTO
1449 then the interface will not be configured
1450 at boot or by
1451 .Pa /etc/pccard_ether
1452 when
1453 .Va network_interfaces
1454 is set to
1455 .Dq Li AUTO .
1456 .Pp
1457 It is possible to bring up an interface with DHCP by adding
1458 .Dq Li DHCP
1459 to the
1460 .Va ifconfig_ Ns Aq Ar interface
1461 variable.
1462 For instance, to initialize the
1463 .Li em0
1464 device via DHCP,
1465 it is possible to use something like:
1466 .Bd -literal
1467 ifconfig_em0="DHCP"
1468 .Ed
1469 .Pp
1470 If you want to configure your wireless interface with
1471 .Xr wpa_supplicant 8
1472 for use with WPA, EAP/LEAP or WEP, you need to add
1473 .Dq Li WPA
1474 to the
1475 .Va ifconfig_ Ns Aq Ar interface
1476 variable.
1477 .Pp
1478 On the other hand, if you want to configure your wireless interface with
1479 .Xr hostapd 8 ,
1480 you need to add
1481 .Dq Li HOSTAP
1482 to the
1483 .Va ifconfig_ Ns Aq Ar interface
1484 variable.
1485 .Xr hostapd 8
1486 will use the settings from
1487 .Pa /etc/hostapd- Ns Ao Ar interface Ac Ns .conf
1488 .Pp
1489 Finally, you can add
1490 .Xr ifconfig 8
1491 options in this variable, in addition to the
1492 .Pa /etc/start_if. Ns Aq Ar interface
1493 file.
1494 For instance, to configure an
1495 .Xr ath 4
1496 wireless device in station mode with an address obtained
1497 via DHCP, using WPA authentication and 802.11b mode, it is
1498 possible to use something like:
1499 .Bd -literal
1500 wlans_ath0="wlan0"
1501 ifconfig_wlan0="DHCP WPA mode 11b"
1502 .Ed
1503 .Pp
1504 In addition to the
1505 .Va ifconfig_ Ns Aq Ar interface
1506 form, a fallback variable
1507 .Va ifconfig_DEFAULT
1508 may be configured.
1509 It will be used for all interfaces with no
1510 .Va ifconfig_ Ns Aq Ar interface
1511 variable.
1512 This is intended to replace the no longer supported
1513 .Va pccard_ifconfig
1514 variable.
1515 .Pp
1516 It is also possible to rename an interface by doing:
1517 .Bd -literal
1518 ifconfig_em0_name="net0"
1519 ifconfig_net0="inet 192.0.2.1 netmask 0xffffff00"
1520 .Ed
1521 .It Va ipv6_enable
1522 .Pq Vt bool
1523 This variable is deprecated.
1524 Use
1525 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1526 and
1527 .Va ipv6_activate_all_interfaces
1528 if necessary.
1529 .Pp
1530 If the variable is
1531 .Dq Li YES ,
1532 .Dq Li inet6 accept_rtadv
1533 is added to all of
1534 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1535 and the
1536 .Va ipv6_activate_all_interfaces
1537 is defined as
1538 .Dq Li YES .
1539 .It Va ipv6_prefer
1540 .Pq Vt bool
1541 This variable is deprecated.
1542 Use
1543 .Va ip6addrctl_policy
1544 instead.
1545 .Pp
1546 If the variable is
1547 .Dq Li YES ,
1548 the default address selection policy table set by
1549 .Xr ip6addrctl 8
1550 will be IPv6-preferred.
1551 .Pp
1552 If the variable is
1553 .Dq Li NO ,
1554 the default address selection policy table set by
1555 .Xr ip6addrctl 8
1556 will be IPv4-preferred.
1557 .It Va ipv6_activate_all_interfaces
1558 .Pq Vt bool
1559 This controls initial configuration on IPv6-capable
1560 interfaces with no corresponding
1561 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1562 variable.
1563 Note that it is not always necessary to set this variable to
1564 .Dq YES
1565 to use IPv6 functionality on
1566 .Fx .
1567 In most cases, just configuring
1568 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1569 variables works.
1570 .Pp
1571 If the variable is
1572 .Dq Li NO ,
1573 all interfaces which do not have a corresponding
1574 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1575 variable will be marked as
1576 .Dq Li IFDISABLED
1577 at creation.
1578 This means that all of IPv6 functionality on that interface
1579 is completely disabled to enforce a security policy.
1580 If the variable is set to
1581 .Dq YES ,
1582 the flag will be cleared on all of the interfaces.
1583 .Pp
1584 In most cases, just defining an
1585 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1586 for an IPv6-capable interface should be sufficient.
1587 However, if an interface is added dynamically
1588 .Pq by some tunneling protocols such as PPP, for example ,
1589 it is often difficult to define the variable in advance.
1590 In such a case, configuring the
1591 .Dq Li IFDISABLED
1592 flag can be disabled by setting this variable to
1593 .Dq YES .
1594 .Pp
1595 For more details of the
1596 .Dq Li IFDISABLED
1597 flag and keywords
1598 .Dq Li inet6 ifdisabled ,
1599 see
1600 .Xr ifconfig 8 .
1601 .Pp
1602 Default is
1603 .Dq Li NO .
1604 .It Va ipv6_privacy
1605 .Pq Vt bool
1606 If the variable is
1607 .Dq Li YES
1608 privacy addresses will be generated for each IPv6
1609 interface as described in RFC 4941.
1610 .It Va ipv6_network_interfaces
1611 .Pq Vt str
1612 This is the IPv6 equivalent of
1613 .Va network_interfaces .
1614 Normally manual configuration of this variable is not needed.
1615 .It Va ipv6_cpe_wanif
1616 .Pq Vt str
1617 If the variable is set to an interface name,
1618 the
1619 .Xr ifconfig 8
1620 options
1621 .Dq inet6 -no_radr accept_rtadv
1622 will be added to the specified interface automatically before evaluating
1623 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1624 and two
1625 .Xr sysctl 8
1626 variables
1627 .Va net.inet6.ip6.rfc6204w3
1628 and
1629 .Va net.inet6.ip6.no_radr
1630 will be set to 1.
1631 .Pp
1632 This means the specified interface will accept ICMPv6 Router
1633 Advertisement messages on that link and add the discovered
1634 routers into the Default Router List.
1635 While the other interfaces can still accept RA messages if the
1636 .Dq inet6 accept_rtadv
1637 option is specified, adding
1638 routes into the Default Router List will be disabled by
1639 .Dq inet6 no_radr
1640 option by default.
1641 See
1642 .Xr ifconfig 8
1643 for more details.
1644 .Pp
1645 Note that ICMPv6 Router Advertisement messages will be
1646 accepted even when
1647 .Va net.inet6.ip6.forwarding
1648 is 1
1649 .Pq packet forwarding is enabled
1650 when
1651 .Va net.inet6.ip6.rfc6204w3
1652 is set to 1.
1653 .Pp
1654 Default is
1655 .Dq Li NO .
1656 .It Va ifconfig_ Ns Ao Ar interface Ac Ns _descr
1657 .Pq Vt str
1658 This assigns arbitrary description to an interface.
1659 The
1660 .Xr sysctl 8
1661 variable
1662 .Va net.ifdescr_maxlen
1663 limits its length.
1664 This static setting may be overridden by commands
1665 started with dynamic interface configuration utilities
1666 like
1667 .Xr dhclient 8
1668 hooks. The description can be seen with
1669 .Xr ifconfig 8
1670 command and it may be exported with
1671 .Xr bsnmpd 1
1672 daemon using its MIB-2 module.
1673 .It Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1674 .Pq Vt str
1675 IPv6 functionality on an interface should be configured by
1676 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1677 instead of setting ifconfig parameters in
1678 .Va ifconfig_ Ns Aq Ar interface .
1679 If this variable is empty, all of IPv6 configurations on the
1680 specified interface by other variables such as
1681 .Va ipv6_prefix_ Ns Ao Ar interface Ac
1682 will be ignored.
1683 .Pp
1684 Aliases should be set by
1685 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1686 with
1687 .Dq Li inet6
1688 keyword.
1689 For example:
1690 .Bd -literal
1691 ifconfig_em0_ipv6="inet6 2001:db8:1::1 prefixlen 64"
1692 ifconfig_em0_alias0="inet6 2001:db8:2::1 prefixlen 64"
1693 .Ed
1694 .Pp
1695 Interfaces that have an
1696 .Dq Li inet6 accept_rtadv
1697 keyword in
1698 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1699 setting will be automatically configured by SLAAC
1700 .Pq StateLess Address AutoConfiguration
1701 described in
1702 .Rs
1703 .%T "RFC 4862"
1704 .Re
1705 .Pp
1706 Note that a link-local address will be automatically configured in
1707 addition to the configured global-scope addresses because the IPv6
1708 specifications require it on each link.
1709 The address is calculated from the MAC address by using an algorithm
1710 defined in
1711 .Rs
1712 .%T "RFC 4862"
1713 .%O "Section 5.3"
1714 .Re
1715 .Pp
1716 If only a link-local address is needed on the interface,
1717 the following configuration can be used:
1718 .Bd -literal
1719 ifconfig_em0_ipv6="inet6 auto_linklocal"
1720 .Ed
1721 .Pp
1722 A link-local address can also be configured manually.
1723 This is useful for the default router address of an IPv6 router
1724 so that it does not change when the network interface
1725 card is replaced.
1726 For example:
1727 .Bd -literal
1728 ifconfig_em0_ipv6="inet6 fe80::1 prefixlen 64"
1729 .Ed
1730 .It Va ipv6_prefix_ Ns Aq Ar interface
1731 .Pq Vt str
1732 If one or more prefixes are defined in
1733 .Va ipv6_prefix_ Ns Aq Ar interface
1734 addresses based on each prefix and the EUI-64 interface index will be
1735 configured on that interface.
1736 Note that this variable will be ignored when
1737 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1738 is empty.
1739 .Pp
1740 For example, the following configuration
1741 .Bd -literal
1742 ipv6_prefix_em0="2001:db8:1:0 2001:db8:2:0"
1743 .Ed
1744 .Pp
1745 is equivalent to the following:
1746 .Bd -literal
1747 ifconfig_em0_alias0="inet6 2001:db8:1:: eui64 prefixlen 64"
1748 ifconfig_em0_alias1="inet6 2001:db8:1:: prefixlen 64 anycast"
1749 ifconfig_em0_alias2="inet6 2001:db8:2:: eui64 prefixlen 64"
1750 ifconfig_em0_alias3="inet6 2001:db8:2:: prefixlen 64 anycast"
1751 .Ed
1752 .Pp
1753 These Subnet-Router anycast addresses will be added only when
1754 .Va ipv6_gateway_enable
1755 is YES.
1756 .It Va ipv6_default_interface
1757 .Pq Vt str
1758 If not set to
1759 .Dq Li NO ,
1760 this is the default output interface for scoped addresses.
1761 This works only with ipv6_gateway_enable="NO".
1762 .It Va ip6addrctl_enable
1763 .Pq Vt bool
1764 This variable is to enable configuring default address selection policy table
1765 .Pq RFC 3484 .
1766 The table can be specified in another variable
1767 .Va ip6addrctl_policy .
1768 For
1769 .Va ip6addrctl_policy
1770 the following keywords can be specified:
1771 .Dq Li ipv4_prefer ,
1772 .Dq Li ipv6_prefer ,
1773 or
1774 .Dq Li AUTO .
1775 .Pp
1776 If
1777 .Dq Li ipv4_prefer
1778 or
1779 .Dq Li ipv6_prefer
1780 is specified,
1781 .Xr ip6addrctl 8
1782 installs a pre-defined policy table described in Section 2.1
1783 .Pq IPv6-preferred
1784 or 10.3
1785 .Pq IPv4-preferred
1786 of RFC 3484.
1787 .Pp
1788 If
1789 .Dq Li AUTO
1790 is specified, it attempts to read a file
1791 .Pa /etc/ip6addrctl.conf
1792 first.
1793 If this file is found,
1794 .Xr ip6addrctl 8
1795 reads and installs it.
1796 If not found, a policy is automatically set
1797 according to
1798 .Va ipv6_activate_all_interfaces
1799 variable; if the variable is set to
1800 .Dq Li YES
1801 the IPv6-preferred one is used.
1802 Otherwise IPv4-preferred.
1803 .Pp
1804 The default value of
1805 .Va ip6addrctl_enable
1806 and
1807 .Va ip6addrctl_policy
1808 are
1809 .Dq Li YES
1810 and
1811 .Dq Li AUTO ,
1812 respectively.
1813 .It Va cloned_interfaces
1814 .Pq Vt str
1815 Set to the list of clonable network interfaces to create on this host.
1816 Further cloning arguments may be passed to the
1817 .Xr ifconfig 8
1818 .Cm create
1819 command for each interface by setting the
1820 .Va create_args_ Ns Aq Ar interface
1821 variable.
1822 If an interface name is specified with
1823 .Dq :sticky
1824 keyword,
1825 the interface will not be destroyed even when
1826 .Pa rc.d/netif
1827 script is invoked with
1828 .Dq stop
1829 argument.
1830 This is useful when reconfiguring the interface without destroying it.
1831 Entries in
1832 .Va cloned_interfaces
1833 are automatically appended to
1834 .Va network_interfaces
1835 for configuration.
1836 .It Va cloned_interfaces_sticky
1837 .Pq Vt bool
1838 This variable is to globally enable functionality of
1839 .Dq :sticky
1840 keyword in
1841 .Va cloned_interfaces
1842 for all interfaces.
1843 The default value is
1844 .Dq NO .
1845 Even if this variable is specified to
1846 .Dq YES ,
1847 .Dq :nosticky
1848 keyword can be used to override it on per interface basis.
1849 .It Va gif_interfaces
1850 .Pq Vt str
1851 This variable is deprecated in favor of
1852 .Va cloned_interfaces .
1853 Set to the list of
1854 .Xr gif 4
1855 tunnel interfaces to configure on this host.
1856 For each
1857 .Xr gif
1858 tunnel interface, set a variable named
1859 .Va ifconfig_ Ns Aq Ar interface
1860 with the parameters for the
1861 .Xr ifconfig 8
1862 command to configure the link level for
1863 .Ar interface
1864 with the
1865 .Cm tunnel
1866 option.
1867 The value of this variable is used to configure the link layer of the
1868 tunnel using the
1869 .Cm tunnel
1870 option to
1871 .Xr ifconfig .
1872 For example, configure two
1873 .Xr gif
1874 interfaces with:
1875 .Bd -literal -offset indent
1876 gif_interfaces="gif0 gif1"
1877 ifconfig_gif0="tunnel src_addr0 dst_addr0"
1878 ifconfig_gif1="tunnel src_addr1 dst_addr1"
1879 .Ed
1880 .Pp
1881 Additionally, this option ensures that each listed interface is created
1882 via the
1883 .Cm create
1884 option to
1885 .Xr ifconfig .
1886 This example also works with
1887 .Va cloned_interfaces
1888 instead of
1889 .Va gif_interfaces .
1890 .It Va sppp_interfaces
1891 .Pq Vt str
1892 Set to the list of
1893 .Xr sppp 4
1894 interfaces to configure on this host.
1895 A
1896 .Va spppconfig_ Ns Aq Ar interface
1897 variable is assumed to exist for each value of
1898 .Ar interface .
1899 Each interface should also be configured by a general
1900 .Va ifconfig_ Ns Aq Ar interface
1901 setting.
1902 Refer to
1903 .Xr spppcontrol 8
1904 for more information about available options.
1905 .It Va ppp_enable
1906 .Pq Vt bool
1907 If set to
1908 .Dq Li YES ,
1909 run the
1910 .Xr ppp 8
1911 daemon.
1912 .It Va ppp_profile
1913 .Pq Vt str
1914 The name of the profile to use from
1915 .Pa /etc/ppp/ppp.conf .
1916 Also used for per-profile overrides of
1917 .Va ppp_mode
1918 and
1919 .Va ppp_nat ,
1920 and
1921 .Va ppp_ Ns Ao Ar profile Ac Ns _unit .
1922 When the profile name contains any of the characters
1923 .Dq Li .-/+
1924 they are translated to
1925 .Dq Li _
1926 for the proposes of the override variable names.
1927 .It Va ppp_mode
1928 .Pq Vt str
1929 Mode in which to run the
1930 .Xr ppp 8
1931 daemon.
1932 .It Va ppp_ Ns Ao Ar profile Ac Ns _mode
1933 .Pq Vt str
1934 Overrides the global
1935 .Va ppp_mode
1936 for
1937 .Ar profile .
1938 Accepted modes are
1939 .Dq Li auto ,
1940 .Dq Li ddial ,
1941 .Dq Li direct
1942 and
1943 .Dq Li dedicated .
1944 See the manual for a full description.
1945 .It Va ppp_nat
1946 .Pq Vt bool
1947 If set to
1948 .Dq Li YES ,
1949 enables network address translation.
1950 Used in conjunction with
1951 .Va gateway_enable
1952 allows hosts on private network addresses access to the Internet using
1953 this host as a network address translating router.
1954 .It Va ppp_ Ns Ao Ar profile Ac Ns _nat
1955 .Pq Vt str
1956 Overrides the global
1957 .Va ppp_nat
1958 for
1959 .Ar profile .
1960 .It Va ppp_ Ns Ao Ar profile Ac Ns _unit
1961 .Pq Vt int
1962 Set the unit number to be used for this profile.
1963 See the manual description of
1964 .Fl unit Ns Ar N
1965 for details.
1966 .It Va ppp_user
1967 .Pq Vt str
1968 The name of the user under which
1969 .Xr ppp 8
1970 should be started.
1971 By
1972 default,
1973 .Xr ppp 8
1974 is started as
1975 .Dq Li root .
1976 .It Va rc_conf_files
1977 .Pq Vt str
1978 This option is used to specify a list of files that will override
1979 the settings in
1980 .Pa /etc/defaults/rc.conf .
1981 The files will be read in the order in which they are specified and should
1982 include the full path to the file.
1983 By default, the files specified are
1984 .Pa /etc/rc.conf
1985 and
1986 .Pa /etc/rc.conf.local
1987 .It Va zfs_enable
1988 .Pq Vt bool
1989 If set to
1990 .Dq Li YES ,
1991 .Pa /etc/rc.d/zfs
1992 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
1993 (ZVOLs).
1994 .It Va gptboot_enable
1995 .Pq Vt bool
1996 If set to
1997 .Dq Li YES ,
1998 .Pa /etc/rc.d/gptboot
1999 will log if the system successfully (or not) booted from a GPT partition,
2000 which had the
2001 .Ar bootonce
2002 attribute set using
2003 .Xr gpart 8
2004 utility.
2005 .It Va gbde_autoattach_all
2006 .Pq Vt bool
2007 If set to
2008 .Dq Li YES ,
2009 .Pa /etc/rc.d/gbde
2010 will attempt to automatically initialize your .bde devices in
2011 .Pa /etc/fstab .
2012 .It Va gbde_devices
2013 .Pq Vt str
2014 List the devices that the script should try to attach,
2015 or
2016 .Dq Li AUTO .
2017 .It Va gbde_lockdir
2018 .Pq Vt str
2019 The directory where the
2020 .Xr gbde 4
2021 lockfiles are located.
2022 The default lockfile directory is
2023 .Pa /etc .
2024 .Pp
2025 The lockfile for each individual
2026 .Xr gbde 4
2027 device can be overridden by setting the variable
2028 .Va gbde_lock_ Ns Aq Ar device ,
2029 where
2030 .Ar device
2031 is the encrypted device without the
2032 .Dq Pa /dev/
2033 and
2034 .Dq Pa .bde
2035 parts.
2036 .It Va gbde_attach_attempts
2037 .Pq Vt int
2038 Number of times to attempt attaching to a
2039 .Xr gbde 4
2040 device, i.e., how many times the user is asked for the pass-phrase.
2041 Default is 3.
2042 .It Va geli_devices
2043 .Pq Vt str
2044 List of devices to automatically attach on boot.
2045 Note that .eli devices from
2046 .Pa /etc/fstab
2047 are automatically appended to this list.
2048 .It Va geli_groups
2049 .Pq Vt str
2050 List of groups containing devices to automatically attach on boot with the same
2051 keyfiles and passphrase.
2052 This must be accompanied with a corresponding
2053 .Va geli_ Ns Ao Ar group Ac Ns Va _devices
2054 variable.
2055 .It Va geli_tries
2056 .Pq Vt int
2057 Number of times user is asked for the pass-phrase.
2058 If empty, it will be taken from
2059 .Va kern.geom.eli.tries
2060 sysctl variable.
2061 .It Va geli_default_flags
2062 .Pq Vt str
2063 Default flags to use by
2064 .Xr geli 8
2065 when configuring disk encryption.
2066 Flags can be configured for every device separately by defining the
2067 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
2068 variable, and for every group separately by defining the
2069 .Va geli_ Ns Ao Ar group Ac Ns Va _flags
2070 variable.
2071 .It Va geli_autodetach
2072 .Pq Vt str
2073 Specifies if GELI devices should be marked for detach on last close after
2074 file systems are mounted.
2075 Default is
2076 .Dq Li YES .
2077 This can be changed for every device separately by defining the
2078 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
2079 variable.
2080 .It Va root_rw_mount
2081 .Pq Vt bool
2082 Set to
2083 .Dq Li YES
2084 by default.
2085 After the file systems are checked at boot time, the root file system
2086 is remounted as read-write if this is set to
2087 .Dq Li YES .
2088 Diskless systems that mount their root file system from a read-only remote
2089 NFS share should set this to
2090 .Dq Li NO
2091 in their
2092 .Pa rc.conf .
2093 .It Va fsck_y_enable
2094 .Pq Vt bool
2095 If set to
2096 .Dq Li YES ,
2097 .Xr fsck 8
2098 will be run with the
2099 .Fl y
2100 flag if the initial preen
2101 of the file systems fails.
2102 .It Va background_fsck
2103 .Pq Vt bool
2104 If set to
2105 .Dq Li NO ,
2106 the system will not attempt to run
2107 .Xr fsck 8
2108 in the background where possible.
2109 .It Va background_fsck_delay
2110 .Pq Vt int
2111 The amount of time in seconds to sleep before starting a background
2112 .Xr fsck 8 .
2113 It defaults to sixty seconds to allow large applications such as
2114 the X server to start before disk I/O bandwidth is monopolized by
2115 .Xr fsck 8 .
2116 If set to a negative number, the background file system check will be
2117 delayed indefinitely to allow the administrator to run it at a more
2118 convenient time.
2119 For example it may be run from
2120 .Xr cron 8
2121 by adding a line like
2122 .Pp
2123 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
2124 .Pp
2125 to
2126 .Pa /etc/crontab .
2127 .It Va netfs_types
2128 .Pq Vt str
2129 List of file system types that are network-based.
2130 This list should generally not be modified by end users.
2131 Use
2132 .Va extra_netfs_types
2133 instead.
2134 .It Va extra_netfs_types
2135 .Pq Vt str
2136 If set to something other than
2137 .Dq Li NO
2138 (the default),
2139 this variable extends the list of file system types
2140 for which automatic mounting at startup by
2141 .Xr rc 8
2142 should be delayed until the network is initialized.
2143 It should contain
2144 a whitespace-separated list of network file system descriptor pairs,
2145 each consisting of a file system type as passed to
2146 .Xr mount 8
2147 and a human-readable, one-word description,
2148 joined with a colon
2149 .Pq Ql \&: .
2150 Extending the default list in this way is only necessary
2151 when third party file system types are used.
2152 .It Va syslogd_enable
2153 .Pq Vt bool
2154 If set to
2155 .Dq Li YES ,
2156 run the
2157 .Xr syslogd 8
2158 daemon.
2159 .It Va syslogd_program
2160 .Pq Vt str
2161 Path to
2162 .Xr syslogd 8
2163 (default
2164 .Pa /usr/sbin/syslogd ) .
2165 .It Va syslogd_flags
2166 .Pq Vt str
2167 If
2168 .Va syslogd_enable
2169 is set to
2170 .Dq Li YES ,
2171 these are the flags to pass to
2172 .Xr syslogd 8 .
2173 .It Va inetd_enable
2174 .Pq Vt bool
2175 If set to
2176 .Dq Li YES ,
2177 run the
2178 .Xr inetd 8
2179 daemon.
2180 .It Va inetd_program
2181 .Pq Vt str
2182 Path to
2183 .Xr inetd 8
2184 (default
2185 .Pa /usr/sbin/inetd ) .
2186 .It Va inetd_flags
2187 .Pq Vt str
2188 If
2189 .Va inetd_enable
2190 is set to
2191 .Dq Li YES ,
2192 these are the flags to pass to
2193 .Xr inetd 8 .
2194 .It Va hastd_enable
2195 .Pq Vt bool
2196 If set to
2197 .Dq Li YES ,
2198 run the
2199 .Xr hastd 8
2200 daemon.
2201 .It Va hastd_program
2202 .Pq Vt str
2203 Path to
2204 .Xr hastd 8
2205 (default
2206 .Pa /sbin/hastd ) .
2207 .It Va hastd_flags
2208 .Pq Vt str
2209 If
2210 .Va hastd_enable
2211 is set to
2212 .Dq Li YES ,
2213 these are the flags to pass to
2214 .Xr hastd 8 .
2215 .It Va local_unbound_enable
2216 .Pq Vt bool
2217 If set to
2218 .Dq Li YES ,
2219 run the
2220 .Xr unbound 8
2221 daemon as a local caching resolver.
2222 .It Va kdc_enable
2223 .Pq Vt bool
2224 Set to
2225 .Dq Li YES
2226 to start a Kerberos 5 authentication server
2227 at boot time.
2228 .It Va kdc_program
2229 .Pq Vt str
2230 If
2231 .Va kdc_enable
2232 is set to
2233 .Dq Li YES
2234 this is the path to Kerberos 5 Authentication Server.
2235 .It Va kdc_flags
2236 .Pq Vt str
2237 Empty by default.
2238 This variable contains additional flags to be passed to the Kerberos 5
2239 authentication server.
2240 .It Va kadmind_enable
2241 .Pq Vt bool
2242 Set to
2243 .Dq Li YES
2244 to start
2245 .Xr kadmind 8 ,
2246 the Kerberos 5 Administration Daemon; set to
2247 .Dq Li NO
2248 on a slave server.
2249 .It Va kadmind_program
2250 .Pq Vt str
2251 If
2252 .Va kadmind_enable
2253 is set to
2254 .Dq Li YES
2255 this is the path to Kerberos 5 Administration Daemon.
2256 .It Va kpasswdd_enable
2257 .Pq Vt bool
2258 Set to
2259 .Dq Li YES
2260 to start
2261 .Xr kpasswdd 8 ,
2262 the Kerberos 5 Password-Changing Daemon; set to
2263 .Dq Li NO
2264 on a slave server.
2265 .It Va kpasswdd_program
2266 .Pq Vt str
2267 If
2268 .Va kpasswdd_enable
2269 is set to
2270 .Dq Li YES
2271 this is the path to Kerberos 5 Password-Changing Daemon.
2272 .It Va kfd_enable
2273 .Pq Vt bool
2274 Set to
2275 .Dq Li YES
2276 to start
2277 .Xr kfd 8 ,
2278 the Kerberos 5 ticket forwarding daemon, at the boot time.
2279 .It Va kfd_program
2280 .Pq Vt str
2281 Path to
2282 .Xr kfd 8
2283 (default
2284 .Pa /usr/libexec/kfd ) .
2285 .It Va rwhod_enable
2286 .Pq Vt bool
2287 If set to
2288 .Dq Li YES ,
2289 run the
2290 .Xr rwhod 8
2291 daemon at boot time.
2292 .It Va rwhod_flags
2293 .Pq Vt str
2294 If
2295 .Va rwhod_enable
2296 is set to
2297 .Dq Li YES ,
2298 these are the flags to pass to it.
2299 .It Va amd_enable
2300 .Pq Vt bool
2301 If set to
2302 .Dq Li YES ,
2303 run the
2304 .Xr amd 8
2305 daemon at boot time.
2306 .It Va amd_flags
2307 .Pq Vt str
2308 If
2309 .Va amd_enable
2310 is set to
2311 .Dq Li YES ,
2312 these are the flags to pass to it.
2313 See the
2314 .Xr amd 8
2315 manpage for more information.
2316 .It Va amd_map_program
2317 .Pq Vt str
2318 If set,
2319 the specified program is run to get the list of
2320 .Xr amd 8
2321 maps.
2322 For example, if the
2323 .Xr amd 8
2324 maps are stored in NIS, one can set this to
2325 run
2326 .Xr ypcat 1
2327 to get a list of
2328 .Xr amd 8
2329 maps from the
2330 .Pa amd.master
2331 NIS map.
2332 .It Va update_motd
2333 .Pq Vt bool
2334 If set to
2335 .Dq Li YES ,
2336 .Pa /etc/motd
2337 will be updated at boot time to reflect the kernel release
2338 being run.
2339 If set to
2340 .Dq Li NO ,
2341 .Pa /etc/motd
2342 will not be updated.
2343 .It Va nfs_client_enable
2344 .Pq Vt bool
2345 If set to
2346 .Dq Li YES ,
2347 run the NFS client daemons at boot time.
2348 .It Va nfs_access_cache
2349 .Pq Vt int
2350 If
2351 .Va nfs_client_enable
2352 is set to
2353 .Dq Li YES ,
2354 this can be set to
2355 .Dq Li 0
2356 to disable NFS ACCESS RPC caching, or to the number of seconds for which
2357 NFS ACCESS
2358 results should be cached.
2359 A value of 2-10 seconds will substantially reduce network
2360 traffic for many NFS operations.
2361 .It Va nfs_server_enable
2362 .Pq Vt bool
2363 If set to
2364 .Dq Li YES ,
2365 run the NFS server daemons at boot time.
2366 .It Va nfs_server_flags
2367 .Pq Vt str
2368 If
2369 .Va nfs_server_enable
2370 is set to
2371 .Dq Li YES ,
2372 these are the flags to pass to the
2373 .Xr nfsd 8
2374 daemon.
2375 .It Va nfsv4_server_enable
2376 .Pq Vt bool
2377 If
2378 .Va nfs_server_enable
2379 is set to
2380 .Dq Li YES
2381 and
2382 .Va nfsv4_server_enable
2383 are set to
2384 .Dq Li YES ,
2385 enable the server for NFSv4 as well as NFSv2 and NFSv3.
2386 .It Va nfsuserd_enable
2387 .Pq Vt bool
2388 If
2389 .Va nfsuserd_enable
2390 is set to
2391 .Dq Li YES ,
2392 run the nfsuserd daemon, which is needed for NFSv4 in order
2393 to map between user/group names vs uid/gid numbers.
2394 If
2395 .Va nfsv4_server_enable
2396 is set to
2397 .Dq Li YES ,
2398 this will be forced enabled.
2399 .It Va nfsuserd_flags
2400 .Pq Vt str
2401 If
2402 .Va nfsuserd_enable
2403 is set to
2404 .Dq Li YES ,
2405 these are the flags to pass to the
2406 .Xr nfsuserd 8
2407 daemon.
2408 .It Va nfscbd_enable
2409 .Pq Vt bool
2410 If
2411 .Va nfscbd_enable
2412 is set to
2413 .Dq Li YES ,
2414 run the nfscbd daemon, which enables callbacks/delegations for the NFSv4 client.
2415 .It Va nfscbd_flags
2416 .Pq Vt str
2417 If
2418 .Va nfscbd_enable
2419 is set to
2420 .Dq Li YES ,
2421 these are the flags to pass to the
2422 .Xr nfscbd 8
2423 daemon.
2424 .It Va mountd_enable
2425 .Pq Vt bool
2426 If set to
2427 .Dq Li YES ,
2428 and no
2429 .Va nfs_server_enable
2430 is set, start
2431 .Xr mountd 8 ,
2432 but not
2433 .Xr nfsd 8
2434 daemon.
2435 It is commonly needed to run CFS without real NFS used.
2436 .It Va mountd_flags
2437 .Pq Vt str
2438 If
2439 .Va mountd_enable
2440 is set to
2441 .Dq Li YES ,
2442 these are the flags to pass to the
2443 .Xr mountd 8
2444 daemon.
2445 .It Va weak_mountd_authentication
2446 .Pq Vt bool
2447 If set to
2448 .Dq Li YES ,
2449 allow services like PCNFSD to make non-privileged mount
2450 requests.
2451 .It Va nfs_reserved_port_only
2452 .Pq Vt bool
2453 If set to
2454 .Dq Li YES ,
2455 provide NFS services only on a secure port.
2456 .It Va nfs_bufpackets
2457 .Pq Vt int
2458 If set to a number, indicates the number of packets worth of
2459 socket buffer space to reserve on an NFS client.
2460 The kernel default is typically 4.
2461 Using a higher number may be
2462 useful on gigabit networks to improve performance.
2463 The minimum value is
2464 2 and the maximum is 64.
2465 .It Va rpc_lockd_enable
2466 .Pq Vt bool
2467 If set to
2468 .Dq Li YES
2469 and also an NFS server or client, run
2470 .Xr rpc.lockd 8
2471 at boot time.
2472 .It Va rpc_lockd_flags
2473 .Pq Vt str
2474 If
2475 .Va rpc_lockd_enable
2476 is set to
2477 .Dq Li YES ,
2478 these are the flags to pass to the
2479 .Xr rpc.lockd 8
2480 daemon.
2481 .It Va rpc_statd_enable
2482 .Pq Vt bool
2483 If set to
2484 .Dq Li YES
2485 and also an NFS server or client, run
2486 .Xr rpc.statd 8
2487 at boot time.
2488 .It Va rpc_statd_flags
2489 .Pq Vt str
2490 If
2491 .Va rpc_statd_enable
2492 is set to
2493 .Dq Li YES ,
2494 these are the flags to pass to the
2495 .Xr rpc.statd 8
2496 daemon.
2497 .It Va rpcbind_program
2498 .Pq Vt str
2499 Path to
2500 .Xr rpcbind 8
2501 (default
2502 .Pa /usr/sbin/rpcbind ) .
2503 .It Va rpcbind_enable
2504 .Pq Vt bool
2505 If set to
2506 .Dq Li YES ,
2507 run the
2508 .Xr rpcbind 8
2509 service at boot time.
2510 .It Va rpcbind_flags
2511 .Pq Vt str
2512 If
2513 .Va rpcbind_enable
2514 is set to
2515 .Dq Li YES ,
2516 these are the flags to pass to the
2517 .Xr rpcbind 8
2518 daemon.
2519 .It Va keyserv_enable
2520 .Pq Vt bool
2521 If set to
2522 .Dq Li YES ,
2523 run the
2524 .Xr keyserv 8
2525 daemon on boot for running Secure RPC.
2526 .It Va keyserv_flags
2527 .Pq Vt str
2528 If
2529 .Va keyserv_enable
2530 is set to
2531 .Dq Li YES ,
2532 these are the flags to pass to
2533 .Xr keyserv 8
2534 daemon.
2535 .It Va pppoed_enable
2536 .Pq Vt bool
2537 If set to
2538 .Dq Li YES ,
2539 run the
2540 .Xr pppoed 8
2541 daemon at boot time to provide PPP over Ethernet services.
2542 .It Va pppoed_ Ns Aq Ar provider
2543 .Pq Vt str
2544 .Xr pppoed 8
2545 listens to requests to this
2546 .Ar provider
2547 and ultimately runs
2548 .Xr ppp 8
2549 with a
2550 .Ar system
2551 argument of the same name.
2552 .It Va pppoed_flags
2553 .Pq Vt str
2554 Additional flags to pass to
2555 .Xr pppoed 8 .
2556 .It Va pppoed_interface
2557 .Pq Vt str
2558 The network interface to run
2559 .Xr pppoed 8
2560 on.
2561 This is mandatory when
2562 .Va pppoed_enable
2563 is set to
2564 .Dq Li YES .
2565 .It Va timed_enable
2566 .Pq Vt bool
2567 If set to
2568 .Dq Li YES ,
2569 run the
2570 .Xr timed 8
2571 service at boot time.
2572 This command is intended for networks of
2573 machines where a consistent
2574 .Dq "network time"
2575 for all hosts must be established.
2576 This is often useful in large NFS
2577 environments where time stamps on files are expected to be consistent
2578 network-wide.
2579 .It Va timed_flags
2580 .Pq Vt str
2581 If
2582 .Va timed_enable
2583 is set to
2584 .Dq Li YES ,
2585 these are the flags to pass to the
2586 .Xr timed 8
2587 service.
2588 .It Va ntpdate_enable
2589 .Pq Vt bool
2590 If set to
2591 .Dq Li YES ,
2592 run
2593 .Xr ntpdate 8
2594 at system startup.
2595 This command is intended to
2596 synchronize the system clock only
2597 .Em once
2598 from some standard reference.
2599 .Pp
2600 Note that the use of the
2601 .Va ntpd_sync_on_start
2602 variable is a preferred alternative to the
2603 .Xr ntpdate 8
2604 utility as
2605 .Xr ntpdate 8
2606 is to be retired from the NTP distribution.
2607 .It Va ntpdate_config
2608 .Pq Vt str
2609 Configuration file for
2610 .Xr ntpdate 8 .
2611 Default
2612 .Pa /etc/ntp.conf .
2613 .It Va ntpdate_hosts
2614 .Pq Vt str
2615 A whitespace-separated list of NTP servers to synchronize with at startup.
2616 The default is to use the servers listed in
2617 .Va ntpdate_config ,
2618 if that file exists.
2619 .It Va ntpdate_program
2620 .Pq Vt str
2621 Path to
2622 .Xr ntpdate 8
2623 (default
2624 .Pa /usr/sbin/ntpdate ) .
2625 .It Va ntpdate_flags
2626 .Pq Vt str
2627 If
2628 .Va ntpdate_enable
2629 is set to
2630 .Dq Li YES ,
2631 these are the flags to pass to the
2632 .Xr ntpdate 8
2633 command (typically a hostname).
2634 .It Va ntpd_enable
2635 .Pq Vt bool
2636 If set to
2637 .Dq Li YES ,
2638 run the
2639 .Xr ntpd 8
2640 command at boot time.
2641 .It Va ntpd_program
2642 .Pq Vt str
2643 Path to
2644 .Xr ntpd 8
2645 (default
2646 .Pa /usr/sbin/ntpd ) .
2647 .It Va ntpd_config
2648 .Pq Vt str
2649 Path to
2650 .Xr ntpd 8
2651 configuration file.
2652 Default
2653 .Pa /etc/ntp.conf .
2654 .It Va ntpd_flags
2655 .Pq Vt str
2656 If
2657 .Va ntpd_enable
2658 is set to
2659 .Dq Li YES ,
2660 these are the flags to pass to the
2661 .Xr ntpd 8
2662 daemon.
2663 .It Va ntpd_sync_on_start
2664 .Pq Vt bool
2665 If set to
2666 .Dq Li YES ,
2667 .Xr ntpd 8
2668 is run with the
2669 .Fl g
2670 flag, which syncs the system's clock on startup.
2671 See
2672 .Xr ntpd 8
2673 for more information regarding the
2674 .Fl g
2675 option.
2676 This is a preferred alternative to using
2677 .Xr ntpdate 8
2678 or specifying the
2679 .Va ntpdate_enable
2680 variable.
2681 .It Va nis_client_enable
2682 .Pq Vt bool
2683 If set to
2684 .Dq Li YES ,
2685 run the
2686 .Xr ypbind 8
2687 service at system boot time.
2688 .It Va nis_client_flags
2689 .Pq Vt str
2690 If
2691 .Va nis_client_enable
2692 is set to
2693 .Dq Li YES ,
2694 these are the flags to pass to the
2695 .Xr ypbind 8
2696 service.
2697 .It Va nis_ypldap_enable
2698 .Pq Vt bool
2699 If set to
2700 .Dq Li YES ,
2701 run the
2702 .Xr ypldap 8
2703 daemon at system boot time.
2704 .It Va nis_ypldap_flags
2705 .Pq Vt str
2706 If
2707 .Va nis.ypldap_enable
2708 is set to
2709 .Dq Li YES ,
2710 these are the flags to pass to the
2711 .Xr ypldap 8
2712 daemon.
2713 .It Va nis_ypset_enable
2714 .Pq Vt bool
2715 If set to
2716 .Dq Li YES ,
2717 run the
2718 .Xr ypset 8
2719 daemon at system boot time.
2720 .It Va nis_ypset_flags
2721 .Pq Vt str
2722 If
2723 .Va nis_ypset_enable
2724 is set to
2725 .Dq Li YES ,
2726 these are the flags to pass to the
2727 .Xr ypset 8
2728 daemon.
2729 .It Va nis_server_enable
2730 .Pq Vt bool
2731 If set to
2732 .Dq Li YES ,
2733 run the
2734 .Xr ypserv 8
2735 daemon at system boot time.
2736 .It Va nis_server_flags
2737 .Pq Vt str
2738 If
2739 .Va nis_server_enable
2740 is set to
2741 .Dq Li YES ,
2742 these are the flags to pass to the
2743 .Xr ypserv 8
2744 daemon.
2745 .It Va nis_ypxfrd_enable
2746 .Pq Vt bool
2747 If set to
2748 .Dq Li YES ,
2749 run the
2750 .Xr rpc.ypxfrd 8
2751 daemon at system boot time.
2752 .It Va nis_ypxfrd_flags
2753 .Pq Vt str
2754 If
2755 .Va nis_ypxfrd_enable
2756 is set to
2757 .Dq Li YES ,
2758 these are the flags to pass to the
2759 .Xr rpc.ypxfrd 8
2760 daemon.
2761 .It Va nis_yppasswdd_enable
2762 .Pq Vt bool
2763 If set to
2764 .Dq Li YES ,
2765 run the
2766 .Xr rpc.yppasswdd 8
2767 daemon at system boot time.
2768 .It Va nis_yppasswdd_flags
2769 .Pq Vt str
2770 If
2771 .Va nis_yppasswdd_enable
2772 is set to
2773 .Dq Li YES ,
2774 these are the flags to pass to the
2775 .Xr rpc.yppasswdd 8
2776 daemon.
2777 .It Va rpc_ypupdated_enable
2778 .Pq Vt bool
2779 If set to
2780 .Dq Li YES ,
2781 run the
2782 .Nm rpc.ypupdated
2783 daemon at system boot time.
2784 .It Va bsnmpd_enable
2785 .Pq Vt bool
2786 If set to
2787 .Dq Li YES ,
2788 run the
2789 .Xr bsnmpd 1
2790 daemon at system boot time.
2791 Be sure to understand the security implications of running SNMP daemon
2792 on your host.
2793 .It Va bsnmpd_flags
2794 .Pq Vt str
2795 If
2796 .Va bsnmpd_enable
2797 is set to
2798 .Dq Li YES ,
2799 these are the flags to pass to the
2800 .Xr bsnmpd 1
2801 daemon.
2802 .It Va defaultrouter
2803 .Pq Vt str
2804 If not set to
2805 .Dq Li NO ,
2806 create a default route to this host name or IP address
2807 (use an IP address if this router is also required to get to the
2808 name server!).
2809 .It Va ipv6_defaultrouter
2810 .Pq Vt str
2811 The IPv6 equivalent of
2812 .Va defaultrouter .
2813 .It Va static_arp_pairs
2814 .Pq Vt str
2815 Set to the list of static ARP pairs that are to be added at system
2816 boot time.
2817 For each whitespace separated
2818 .Ar element
2819 in the value, a
2820 .Va static_arp_ Ns Aq Ar element
2821 variable is assumed to exist whose contents will later be passed to a
2822 .Dq Nm arp Cm -S
2823 operation.
2824 For example
2825 .Bd -literal
2826 static_arp_pairs="gw"
2827 static_arp_gw="192.168.1.1 00:01:02:03:04:05"
2828 .Ed
2829 .It Va static_ndp_pairs
2830 .Pq Vt str
2831 Set to the list of static NDP pairs that are to be added at system
2832 boot time.
2833 For each whitespace separated
2834 .Ar element
2835 in the value, a
2836 .Va static_ndp_ Ns Aq Ar element
2837 variable is assumed to exist whose contents will later be passed to a
2838 .Dq Nm ndp Cm -s
2839 operation.
2840 For example
2841 .Bd -literal
2842 static_ndp_pairs="gw"
2843 static_ndp_gw="2001:db8:3::1 00:01:02:03:04:05"
2844 .Ed
2845 .It Va static_routes
2846 .Pq Vt str
2847 Set to the list of static routes that are to be added at system
2848 boot time.
2849 If not set to
2850 .Dq Li NO
2851 then for each whitespace separated
2852 .Ar element
2853 in the value, a
2854 .Va route_ Ns Aq Ar element
2855 variable is assumed to exist
2856 whose contents will later be passed to a
2857 .Dq Nm route Cm add
2858 operation.
2859 For example:
2860 .Bd -literal
2861 static_routes="ext mcast:gif0 gif0local:gif0"
2862 route_ext="-net 10.0.0.0/24 -gateway 192.168.0.1"
2863 route_mcast="-net 224.0.0.0/4 -iface gif0"
2864 route_gif0local="-host 169.254.1.1 -iface lo0"
2865 .Ed
2866 .Pp
2867 When an
2868 .Ar element
2869 is in the form of
2870 .Li name:ifname ,
2871 the route is specific to the interface
2872 .Li ifname .
2873 .It Va ipv6_static_routes
2874 .Pq Vt str
2875 The IPv6 equivalent of
2876 .Va static_routes .
2877 If not set to
2878 .Dq Li NO
2879 then for each whitespace separated
2880 .Ar element
2881 in the value, a
2882 .Va ipv6_route_ Ns Aq Ar element
2883 variable is assumed to exist
2884 whose contents will later be passed to a
2885 .Dq Nm route Cm add Fl inet6
2886 operation.
2887 .It Va gateway_enable
2888 .Pq Vt bool
2889 If set to
2890 .Dq Li YES ,
2891 configure host to act as an IP router, e.g.\& to forward packets
2892 between interfaces.
2893 .It Va ipv6_gateway_enable
2894 .Pq Vt bool
2895 The IPv6 equivalent of
2896 .Va gateway_enable .
2897 .It Va routed_enable
2898 .Pq Vt bool
2899 If set to
2900 .Dq Li YES ,
2901 run a routing daemon of some sort, based on the
2902 settings of
2903 .Va routed_program
2904 and
2905 .Va routed_flags .
2906 .It Va route6d_enable
2907 .Pq Vt bool
2908 The IPv6 equivalent of
2909 .Va routed_enable .
2910 If set to
2911 .Dq Li YES ,
2912 run a routing daemon of some sort, based on the
2913 settings of
2914 .Va route6d_program
2915 and
2916 .Va route6d_flags .
2917 .It Va routed_program
2918 .Pq Vt str
2919 If
2920 .Va routed_enable
2921 is set to
2922 .Dq Li YES ,
2923 this is the name of the routing daemon to use.
2924 .It Va route6d_program
2925 .Pq Vt str
2926 The IPv6 equivalent of
2927 .Va routed_program .
2928 .It Va routed_flags
2929 .Pq Vt str
2930 If
2931 .Va routed_enable
2932 is set to
2933 .Dq Li YES ,
2934 these are the flags to pass to the routing daemon.
2935 .It Va route6d_flags
2936 .Pq Vt str
2937 The IPv6 equivalent of
2938 .Va routed_flags .
2939 .It Va rtadvd_enable
2940 .Pq Vt bool
2941 If set to
2942 .Dq Li YES ,
2943 run the
2944 .Xr rtadvd 8
2945 daemon at boot time.
2946 The
2947 .Xr rtadvd 8
2948 utility sends ICMPv6 Router Advertisement messages to
2949 the interfaces specified in
2950 .Va rtadvd_interfaces .
2951 This should only be enabled with great care.
2952 You may want to fine-tune
2953 .Xr rtadvd.conf 5 .
2954 .It Va rtadvd_interfaces
2955 .Pq Vt str
2956 If
2957 .Va rtadvd_enable
2958 is set to
2959 .Dq Li YES
2960 this is the list of interfaces to use.
2961 .It Va arpproxy_all
2962 .Pq Vt bool
2963 If set to
2964 .Dq Li YES ,
2965 enable global proxy ARP.
2966 .It Va forward_sourceroute
2967 .Pq Vt bool
2968 If set to
2969 .Dq Li YES
2970 and
2971 .Va gateway_enable
2972 is also set to
2973 .Dq Li YES ,
2974 source-routed packets are forwarded.
2975 .It Va accept_sourceroute
2976 .Pq Vt bool
2977 If set to
2978 .Dq Li YES ,
2979 the system will accept source-routed packets directed at it.
2980 .It Va rarpd_enable
2981 .Pq Vt bool
2982 If set to
2983 .Dq Li YES ,
2984 run the
2985 .Xr rarpd 8
2986 daemon at system boot time.
2987 .It Va rarpd_flags
2988 .Pq Vt str
2989 If
2990 .Va rarpd_enable
2991 is set to
2992 .Dq Li YES ,
2993 these are the flags to pass to the
2994 .Xr rarpd 8
2995 daemon.
2996 .It Va bootparamd_enable
2997 .Pq Vt bool
2998 If set to
2999 .Dq Li YES ,
3000 run the
3001 .Xr bootparamd 8
3002 daemon at system boot time.
3003 .It Va bootparamd_flags
3004 .Pq Vt str
3005 If
3006 .Va bootparamd_enable
3007 is set to
3008 .Dq Li YES ,
3009 these are the flags to pass to the
3010 .Xr bootparamd 8
3011 daemon.
3012 .It Va stf_interface_ipv4addr
3013 .Pq Vt str
3014 If not set to
3015 .Dq Li NO ,
3016 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
3017 interface).
3018 Specify this entry to enable the 6to4 interface.
3019 .It Va stf_interface_ipv4plen
3020 .Pq Vt int
3021 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
3022 An effective value is 0-31.
3023 .It Va stf_interface_ipv6_ifid
3024 .Pq Vt str
3025 IPv6 interface ID for
3026 .Xr stf 4 .
3027 This can be set to
3028 .Dq Li AUTO .
3029 .It Va stf_interface_ipv6_slaid
3030 .Pq Vt str
3031 IPv6 Site Level Aggregator for
3032 .Xr stf 4 .
3033 .It Va ipv6_ipv4mapping
3034 .Pq Vt bool
3035 If set to
3036 .Dq Li YES
3037 this enables IPv4 mapped IPv6 address communication (like
3038 .Li ::ffff:a.b.c.d ) .
3039 .It Va rtsold_enable
3040 .Pq Vt bool
3041 Set to
3042 .Dq Li YES
3043 to enable the
3044 .Xr rtsold 8
3045 daemon to send ICMPv6 Router Solicitation messages.
3046 .It Va rtsold_flags
3047 .Pq Vt str
3048 If
3049 .Va rtsold_enable
3050 is set to
3051 .Dq Li YES ,
3052 these are the flags to pass to
3053 .Xr rtsold 8 .
3054 .It Va rtsol_flags
3055 .Pq Vt str
3056 For interfaces configured with the
3057 .Dq Li inet6 accept_rtadv
3058 keyword, these are the flags to pass to
3059 .Xr rtsol 8 .
3060 .Pp
3061 Note that
3062 .Va rtsold_enable
3063 is mutually exclusive to
3064 .Va rtsol_flags ;
3065 .Va rtsold_enable
3066 takes precedence.
3067 .It Va keybell
3068 .Pq Vt str
3069 The keyboard bell sound.
3070 Set to
3071 .Dq Li normal ,
3072 .Dq Li visual ,
3073 .Dq Li off ,
3074 or
3075 .Dq Li NO
3076 if the default behavior is desired.
3077 For details, refer to the
3078 .Xr kbdcontrol 1
3079 manpage.
3080 .It Va keyboard
3081 .Pq Vt str
3082 If set to a non-null string, the virtual console's keyboard input is
3083 set to this device.
3084 .It Va keymap
3085 .Pq Vt str
3086 If set to
3087 .Dq Li NO ,
3088 no keymap is installed, otherwise the value is used to install
3089 the keymap file found in
3090 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3091 (if using
3092 .Xr syscons 4 ) or
3093 .Pa /usr/share/vt/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3094 (if using
3095 .Xr vt 4 ) .
3096 .It Va keyrate
3097 .Pq Vt str
3098 The keyboard repeat speed.
3099 Set to
3100 .Dq Li slow ,
3101 .Dq Li normal ,
3102 .Dq Li fast ,
3103 or
3104 .Dq Li NO
3105 if the default behavior is desired.
3106 .It Va keychange
3107 .Pq Vt str
3108 If not set to
3109 .Dq Li NO ,
3110 attempt to program the function keys with the value.
3111 The value should
3112 be a single string of the form:
3113 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
3114 .It Va cursor
3115 .Pq Vt str
3116 Can be set to the value of
3117 .Dq Li normal ,
3118 .Dq Li blink ,
3119 .Dq Li destructive ,
3120 or
3121 .Dq Li NO
3122 to set the cursor behavior explicitly or choose the default behavior.
3123 .It Va scrnmap
3124 .Pq Vt str
3125 If set to
3126 .Dq Li NO ,
3127 no screen map is installed, otherwise the value is used to install
3128 the screen map file in
3129 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
3130 This parameter is ignored when using
3131 .Xr vt 4
3132 as the console driver.
3133 .It Va font8x16
3134 .Pq Vt str
3135 If set to
3136 .Dq Li NO ,
3137 the default 8x16 font value is used for screen size requests, otherwise
3138 the value in
3139 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3140 or
3141 .Pa /usr/share/vt/fonts/ Ns Aq Ar value
3142 is used (depending on the console driver being used).
3143 .It Va font8x14
3144 .Pq Vt str
3145 If set to
3146 .Dq Li NO ,
3147 the default 8x14 font value is used for screen size requests, otherwise
3148 the value in
3149 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3150 or
3151 .Pa /usr/share/vt/fonts/ Ns Aq Ar value
3152 is used (depending on the console driver being used).
3153 .It Va font8x8
3154 .Pq Vt str
3155 If set to
3156 .Dq Li NO ,
3157 the default 8x8 font value is used for screen size requests, otherwise
3158 the value in
3159 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3160 or
3161 .Pa /usr/share/vt/fonts/ Ns Aq Ar value
3162 is used (depending on the console driver being used).
3163 .It Va blanktime
3164 .Pq Vt int
3165 If set to
3166 .Dq Li NO ,
3167 the default screen blanking interval is used, otherwise it is set
3168 to
3169 .Ar value
3170 seconds.
3171 .It Va saver
3172 .Pq Vt str
3173 If not set to
3174 .Dq Li NO ,
3175 this is the actual screen saver to use
3176 .Li ( blank , snake , daemon ,
3177 etc).
3178 .It Va moused_nondefault_enable
3179 .Pq Vt str
3180 If set to
3181 .Dq Li NO ,
3182 the mouse device specified on
3183 the command line is not automatically treated as enabled by the
3184 .Pa /etc/rc.d/moused
3185 script.
3186 Having this variable set to
3187 .Dq Li YES
3188 allows a
3189 .Xr usb 4
3190 mouse,
3191 for example,
3192 to be enabled as soon as it is plugged in.
3193 .It Va moused_enable
3194 .Pq Vt str
3195 If set to
3196 .Dq Li YES ,
3197 the
3198 .Xr moused 8
3199 daemon is started for doing cut/paste selection on the console.
3200 .It Va moused_type
3201 .Pq Vt str
3202 This is the protocol type of the mouse connected to this host.
3203 This variable must be set if
3204 .Va moused_enable
3205 is set to
3206 .Dq Li YES .
3207 The
3208 .Xr moused 8
3209 daemon
3210 is able to detect the appropriate mouse type automatically in many cases.
3211 Set this variable to
3212 .Dq Li auto
3213 to let the daemon detect it, or
3214 select one from the following list if the automatic detection fails.
3215 .Pp
3216 If the mouse is attached to the PS/2 mouse port, choose
3217 .Dq Li auto
3218 or
3219 .Dq Li ps/2 ,
3220 regardless of the brand and model of the mouse.
3221 Likewise, if the
3222 mouse is attached to the bus mouse port, choose
3223 .Dq Li auto
3224 or
3225 .Dq Li busmouse .
3226 All other protocols are for serial mice and will not work with
3227 the PS/2 and bus mice.
3228 If this is a USB mouse,
3229 .Dq Li auto
3230 is the only protocol type which will work.
3231 .Pp
3232 .Bl -tag -width ".Li x10mouseremote" -compact
3233 .It Li microsoft
3234 Microsoft mouse (serial)
3235 .It Li intellimouse
3236 Microsoft IntelliMouse (serial)
3237 .It Li mousesystems
3238 Mouse systems Corp.\& mouse (serial)
3239 .It Li mmseries
3240 MM Series mouse (serial)
3241 .It Li logitech
3242 Logitech mouse (serial)
3243 .It Li busmouse
3244 A bus mouse
3245 .It Li mouseman
3246 Logitech MouseMan and TrackMan (serial)
3247 .It Li glidepoint
3248 ALPS GlidePoint (serial)
3249 .It Li thinkingmouse
3250 Kensington ThinkingMouse (serial)
3251 .It Li ps/2
3252 PS/2 mouse
3253 .It Li mmhittab
3254 MM HitTablet (serial)
3255 .It Li x10mouseremote
3256 X10 MouseRemote (serial)
3257 .It Li versapad
3258 Interlink VersaPad (serial)
3259 .El
3260 .Pp
3261 Even if the mouse is not in the above list, it may be compatible
3262 with one in the list.
3263 Refer to the manual page for
3264 .Xr moused 8
3265 for compatibility information.
3266 .Pp
3267 It should also be noted that while this is enabled, any
3268 other client of the mouse (such as an X server) should access
3269 the mouse through the virtual mouse device,
3270 .Pa /dev/sysmouse ,
3271 and configure it as a
3272 .Dq Li sysmouse
3273 type mouse, since all
3274 mouse data is converted to this single canonical format when
3275 using
3276 .Xr moused 8 .
3277 If the client program does not support the
3278 .Dq Li sysmouse
3279 type,
3280 specify the
3281 .Dq Li mousesystems
3282 type.
3283 It is the second preferred type.
3284 .It Va moused_port
3285 .Pq Vt str
3286 If
3287 .Va moused_enable
3288 is set to
3289 .Dq Li YES ,
3290 this is the actual port the mouse is on.
3291 It might be
3292 .Pa /dev/cuau0
3293 for a COM1 serial mouse, or
3294 .Pa /dev/psm0
3295 for a PS/2 mouse, for example.
3296 .It Va moused_flags
3297 .Pq Vt str
3298 If
3299 .Va moused_flags
3300 is set, its value is used as an additional set of flags to pass to the
3301 .Xr moused 8
3302 daemon.
3303 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
3304 When
3305 .Va moused_nondefault_enable
3306 is enabled, and a
3307 .Xr moused 8
3308 daemon is started for a non-default port, the
3309 .Va "moused_" Ns Ar XXX Ns Va "_flags"
3310 set of options has precedence over and replaces the default
3311 .Va moused_flags
3312 (where
3313 .Ar XXX
3314 is the name of the non-default port, i.e.,\&
3315 .Ar ums0 ) .
3316 By setting
3317 .Va "moused_" Ns Ar XXX Ns Va "_flags"
3318 it is possible to set up a different set of default flags for each
3319 .Xr moused 8
3320 instance.
3321 For example, you can use
3322 .Dq Li "-3"
3323 for the default
3324 .Va moused_flags
3325 to make your laptop's touchpad more comfortable to use,
3326 but an empty set of options for
3327 .Va moused_ums0_flags
3328 when your
3329 .Xr usb 4
3330 mouse has three or more buttons.
3331 .It Va mousechar_start
3332 .Pq Vt int
3333 If set to
3334 .Dq Li NO ,
3335 the default mouse cursor character range
3336 .Li 0xd0 Ns - Ns Li 0xd3
3337 is used,
3338 otherwise the range start is set
3339 to
3340 .Ar value
3341 character, see
3342 .Xr vidcontrol 1 .
3343 Use if the default range is occupied in the language code table.
3344 .It Va allscreens_flags
3345 .Pq Vt str
3346 If set,
3347 .Xr vidcontrol 1
3348 is run with these options for each of the virtual terminals
3349 .Pq Pa /dev/ttyv* .
3350 For example,
3351 .Dq Fl m Cm on
3352 will enable the mouse pointer on all virtual terminals
3353 if
3354 .Va moused_enable
3355 is set to
3356 .Dq Li YES .
3357 .It Va allscreens_kbdflags
3358 .Pq Vt str
3359 If set,
3360 .Xr kbdcontrol 1
3361 is run with these options for each of the virtual terminals
3362 .Pq Pa /dev/ttyv* .
3363 For example,
3364 .Dq Fl h Li 200
3365 will set the
3366 .Xr syscons 4
3367 or
3368 .Xr vt 4
3369 scrollback (history) buffer to 200 lines.
3370 .It Va cron_enable
3371 .Pq Vt bool
3372 If set to
3373 .Dq Li YES ,
3374 run the
3375 .Xr cron 8
3376 daemon at system boot time.
3377 .It Va cron_program
3378 .Pq Vt str
3379 Path to
3380 .Xr cron 8
3381 (default
3382 .Pa /usr/sbin/cron ) .
3383 .It Va cron_flags
3384 .Pq Vt str
3385 If
3386 .Va cron_enable
3387 is set to
3388 .Dq Li YES ,
3389 these are the flags to pass to
3390 .Xr cron 8 .
3391 .It Va cron_dst
3392 .Pq Vt bool
3393 If set to
3394 .Dq Li YES ,
3395 enable the special handling of transitions to and from the
3396 Daylight Saving Time in
3397 .Xr cron 8
3398 (equivalent to using the flag
3399 .Fl s ) .
3400 .It Va lpd_program
3401 .Pq Vt str
3402 Path to
3403 .Xr lpd 8
3404 (default
3405 .Pa /usr/sbin/lpd ) .
3406 .It Va lpd_enable
3407 .Pq Vt bool
3408 If set to
3409 .Dq Li YES ,
3410 run the
3411 .Xr lpd 8
3412 daemon at system boot time.
3413 .It Va lpd_flags
3414 .Pq Vt str
3415 If
3416 .Va lpd_enable
3417 is set to
3418 .Dq Li YES ,
3419 these are the flags to pass to the
3420 .Xr lpd 8
3421 daemon.
3422 .It Va chkprintcap_enable
3423 .Pq Vt bool
3424 If set to
3425 .Dq Li YES ,
3426 run the
3427 .Xr chkprintcap 8
3428 command before starting the
3429 .Xr lpd 8
3430 daemon.
3431 .It Va chkprintcap_flags
3432 .Pq Vt str
3433 If
3434 .Va lpd_enable
3435 and
3436 .Va chkprintcap_enable
3437 are set to
3438 .Dq Li YES ,
3439 these are the flags to pass to the
3440 .Xr chkprintcap 8
3441 program.
3442 The default is
3443 .Dq Li -d ,
3444 which causes missing directories to be created.
3445 .It Va mta_start_script
3446 .Pq Vt str
3447 This variable specifies the full path to the script to run to start
3448 a mail transfer agent.
3449 The default is
3450 .Pa /etc/rc.sendmail .
3451 The
3452 .Va sendmail_*
3453 variables which
3454 .Pa /etc/rc.sendmail
3455 uses are documented in the
3456 .Xr rc.sendmail 8
3457 manual page.
3458 .It Va dumpdev
3459 .Pq Vt str
3460 Indicates the device (usually a swap partition) to which a crash dump
3461 should be written in the event of a system crash.
3462 If the value of this variable is
3463 .Dq Li AUTO ,
3464 the first suitable swap device listed in
3465 .Pa /etc/fstab
3466 will be used as dump device.
3467 Otherwise, the value of this variable is passed as the argument to
3468 .Xr dumpon 8 .
3469 To disable crash dumps, set this variable to
3470 .Dq Li NO .
3471 .It Va dumpon_flags
3472 .Pq Vt str
3473 Flags to pass to
3474 .Xr dumpon 8
3475 when configuring
3476 .Va dumpdev
3477 as the system dump device.
3478 .It Va dumpdir
3479 .Pq Vt str
3480 When the system reboots after a crash and a crash dump is found on the
3481 device specified by the
3482 .Va dumpdev
3483 variable,
3484 .Xr savecore 8
3485 will save that crash dump and a copy of the kernel to the directory
3486 specified by the
3487 .Va dumpdir
3488 variable.
3489 The default value is
3490 .Pa /var/crash .
3491 Set to
3492 .Dq Li NO
3493 to not run
3494 .Xr savecore 8
3495 at boot time when
3496 .Va dumpdir
3497 is set.
3498 .It Va savecore_enable
3499 .Pq Vt bool
3500 If set to
3501 .Dq Li NO ,
3502 disable automatic extraction of the crash dump from the
3503 .Va dumpdev .
3504 .It Va savecore_flags
3505 .Pq Vt str
3506 If crash dumps are enabled, these are the flags to pass to the
3507 .Xr savecore 8
3508 utility.
3509 .It Va quota_enable
3510 .Pq Vt bool
3511 Set to
3512 .Dq Li YES
3513 to turn on user and group disk quotas on system startup via the
3514 .Xr quotaon 8
3515 command for all file systems marked as having quotas enabled in
3516 .Pa /etc/fstab .
3517 The kernel must be built with
3518 .Cd "options QUOTA"
3519 for disk quotas to function.
3520 .It Va check_quotas
3521 .Pq Vt bool
3522 Set to
3523 .Dq Li YES
3524 to enable user and group disk quota checking via the
3525 .Xr quotacheck 8
3526 command.
3527 .It Va quotacheck_flags
3528 .Pq Vt str
3529 If
3530 .Va quota_enable
3531 is set to
3532 .Dq Li YES ,
3533 and
3534 .Va check_quotas
3535 is set to
3536 .Dq Li YES ,
3537 these are the flags to pass to the
3538 .Xr quotacheck 8
3539 utility.
3540 The default is
3541 .Dq Li "-a" ,
3542 which checks quotas for all file systems with quotas enabled in
3543 .Pa /etc/fstab .
3544 .It Va quotaon_flags
3545 .Pq Vt str
3546 If
3547 .Va quota_enable
3548 is set to
3549 .Dq Li YES ,
3550 these are the flags to pass to the
3551 .Xr quotaon 8
3552 utility.
3553 The default is
3554 .Dq Li "-a" ,
3555 which enables quotas for all file systems with quotas enabled in
3556 .Pa /etc/fstab .
3557 .It Va quotaoff_flags
3558 .Pq Vt str
3559 If
3560 .Va quota_enable
3561 is set to
3562 .Dq Li YES ,
3563 these are the flags to pass to the
3564 .Xr quotaoff 8
3565 utility when shutting down the quota system.
3566 The default is
3567 .Dq Li "-a" ,
3568 which disables quotas for all file systems with quotas enabled in
3569 .Pa /etc/fstab .
3570 .It Va accounting_enable
3571 .Pq Vt bool
3572 Set to
3573 .Dq Li YES
3574 to enable system accounting through the
3575 .Xr accton 8
3576 facility.
3577 .It Va firstboot_sentinel
3578 .Pq Vt str
3579 This variable specifies the full path to a
3580 .Dq first boot
3581 sentinel file.
3582 If a file exists with this path,
3583 .Pa rc.d
3584 scripts with the
3585 .Dq firstboot
3586 keyword will be run on startup and the sentinel file will be deleted
3587 after the boot process completes.
3588 The sentinel file must be located on a writable file system which is
3589 mounted no later than
3590 .Va early_late_divider
3591 to function properly.
3592 The default is
3593 .Pa /firstboot .
3594 .It Va linux_enable
3595 .Pq Vt bool
3596 Set to
3597 .Dq Li YES
3598 to enable Linux/ELF binary emulation at system initial
3599 boot time.
3600 .It Va sysvipc_enable
3601 .Pq Vt bool
3602 If set to
3603 .Dq Li YES ,
3604 load System V IPC primitives at boot time.
3605 .It Va clear_tmp_enable
3606 .Pq Vt bool
3607 Set to
3608 .Dq Li YES
3609 to have
3610 .Pa /tmp
3611 cleaned at startup.
3612 .It Va clear_tmp_X
3613 .Pq Vt bool
3614 Set to
3615 .Dq Li NO
3616 to disable removing of X11 lock files,
3617 and the removal and (secure) recreation
3618 of the various socket directories for X11
3619 related programs.
3620 .It Va ldconfig_paths
3621 .Pq Vt str
3622 Set to the list of shared library paths to use with
3623 .Xr ldconfig 8 .
3624 NOTE:
3625 .Pa /usr/lib
3626 will always be added first, so it need not appear in this list.
3627 .It Va ldconfig32_paths
3628 .Pq Vt str
3629 Set to the list of 32-bit compatibility shared library paths to
3630 use with
3631 .Xr ldconfig 8 .
3632 .It Va ldconfig_paths_aout
3633 .Pq Vt str
3634 Set to the list of shared library paths to use with
3635 .Xr ldconfig 8
3636 legacy
3637 .Xr a.out 5
3638 support.
3639 .It Va ldconfig_insecure
3640 .Pq Vt bool
3641 The
3642 .Xr ldconfig 8
3643 utility normally refuses to use directories
3644 which are writable by anyone except root.
3645 Set this variable to
3646 .Dq Li YES
3647 to disable that security check during system startup.
3648 .It Va ldconfig_local_dirs
3649 .Pq Vt str
3650 Set to the list of local
3651 .Xr ldconfig 8
3652 directories.
3653 The names of all files in the directories listed will be
3654 passed as arguments to
3655 .Xr ldconfig 8 .
3656 .It Va ldconfig_local32_dirs
3657 .Pq Vt str
3658 Set to the list of local 32-bit compatibility
3659 .Xr ldconfig 8
3660 directories.
3661 The names of all files in the directories listed will be
3662 passed as arguments to
3663 .Dq Nm ldconfig Fl 32 .
3664 .It Va kern_securelevel_enable
3665 .Pq Vt bool
3666 Set to
3667 .Dq Li YES
3668 to set the kernel security level at system startup.
3669 .It Va kern_securelevel
3670 .Pq Vt int
3671 The kernel security level to set at startup.
3672 The allowed range of
3673 .Ar value
3674 ranges from \-1 (the compile time default) to 3 (the
3675 most secure).
3676 See
3677 .Xr security 7
3678 for the list of possible security levels and their effect
3679 on system operation.
3680 .It Va sshd_program
3681 .Pq Vt str
3682 Path to the SSH server program
3683 .Pa ( /usr/sbin/sshd
3684 is the default).
3685 .It Va sshd_enable
3686 .Pq Vt bool
3687 Set to
3688 .Dq Li YES
3689 to start
3690 .Xr sshd 8
3691 at system boot time.
3692 .It Va sshd_flags
3693 .Pq Vt str
3694 If
3695 .Va sshd_enable
3696 is set to
3697 .Dq Li YES ,
3698 these are the flags to pass to the
3699 .Xr sshd 8
3700 daemon.
3701 .It Va ftpd_program
3702 .Pq Vt str
3703 Path to the FTP server program
3704 .Pa ( /usr/libexec/ftpd
3705 is the default).
3706 .It Va ftpd_enable
3707 .Pq Vt bool
3708 Set to
3709 .Dq Li YES
3710 to start
3711 .Xr ftpd 8
3712 as a stand-alone daemon at system boot time.
3713 .It Va ftpd_flags
3714 .Pq Vt str
3715 If
3716 .Va ftpd_enable
3717 is set to
3718 .Dq Li YES ,
3719 these are the additional flags to pass to the
3720 .Xr ftpd 8
3721 daemon.
3722 .It Va watchdogd_enable
3723 .Pq Vt bool
3724 If set to
3725 .Dq Li YES ,
3726 start the
3727 .Xr watchdogd 8
3728 daemon at boot time.
3729 This requires that the kernel have been compiled with a
3730 .Xr watchdog 4
3731 compatible device.
3732 .It Va watchdogd_flags
3733 .Pq Vt str
3734 If
3735 .Va watchdogd_enable
3736 is set to
3737 .Dq Li YES ,
3738 these are the flags passed to the
3739 .Xr watchdogd 8
3740 daemon.
3741 .It Va devfs_rulesets
3742 .Pq Vt str
3743 List of files containing sets of rules for
3744 .Xr devfs 8 .
3745 .It Va devfs_system_ruleset
3746 .Pq Vt str
3747 Rule name(s) to apply to the system
3748 .Pa /dev
3749 itself.
3750 .It Va devfs_set_rulesets
3751 .Pq Vt str
3752 Pairs of already-mounted
3753 .Pa dev
3754 directories and rulesets that should be applied to them.
3755 For example: /mount/dev=ruleset_name
3756 .It Va devfs_load_rulesets
3757 .Pq Vt bool
3758 If set, always load the default rulesets listed in
3759 .Va devfs_rulesets .
3760 .It Va performance_cx_lowest
3761 .Pq Vt str
3762 CPU idle state to use while on AC power.
3763 The string
3764 .Dq Li LOW
3765 indicates that
3766 .Xr acpi 4
3767 should use the lowest power state available while
3768 .Dq Li HIGH
3769 indicates that the lowest latency state (less power savings) should be used.
3770 .It Va performance_cpu_freq
3771 .Pq Vt str
3772 CPU clock frequency to use while on AC power.
3773 The string
3774 .Dq Li LOW
3775 indicates that
3776 .Xr cpufreq 4
3777 should use the lowest frequency available while
3778 .Dq Li HIGH
3779 indicates that the highest frequency (less power savings) should be used.
3780 .It Va economy_cx_lowest
3781 .Pq Vt str
3782 CPU idle state to use when off AC power.
3783 The string
3784 .Dq Li LOW
3785 indicates that
3786 .Xr acpi 4
3787 should use the lowest power state available while
3788 .Dq Li HIGH
3789 indicates that the lowest latency state (less power savings) should be used.
3790 .It Va economy_cpu_freq
3791 .Pq Vt str
3792 CPU clock frequency to use when off AC power.
3793 The string
3794 .Dq Li LOW
3795 indicates that
3796 .Xr cpufreq 4
3797 should use the lowest frequency available while
3798 .Dq Li HIGH
3799 indicates that the highest frequency (less power savings) should be used.
3800 .It Va jail_enable
3801 .Pq Vt bool
3802 If set to
3803 .Dq Li NO ,
3804 any configured jails will not be started.
3805 .It Va jail_conf
3806 .Pq Vt str
3807 The configuration filename used by
3808 .Xr jail 8
3809 utility.
3810 The default value is
3811 .Pa /etc/jail.conf .
3812 .It Va jail_parallel_start
3813 .Pq Vt bool
3814 If set to
3815 .Dq Li YES ,
3816 all configured jails will be started in the background (in parallel).
3817 .It Va jail_flags
3818 .Pq Vt str
3819 Unset by default.
3820 When set, use as default value for
3821 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3822 for every jail in
3823 .Va jail_list .
3824 .It Va jail_list
3825 .Pq Vt str
3826 A space-delimited list of jail names.
3827 When left empty, all of the
3828 .Xr jail 8
3829 instances defined in the configuration file are started.
3830 The names specified in this list control the jail startup order.
3831 .Xr jail 8
3832 instances missing from
3833 .Va jail_list
3834 must be started manually.
3835 Note that a jail's
3836 .Va depend
3837 parameter in the configuration file may override this list.
3838 .It Va jail_reverse_stop
3839 .Pq Vt bool
3840 When set to
3841 .Dq Li YES ,
3842 all configured jails in
3843 .Va jail_list
3844 are stopped in reverse order.
3845 .It Va jail_* variables
3846 Note that older releases supported per-jail configuration via
3847 .Nm
3848 variables.
3849 For example,
3850 hostname of a jail named
3851 .Li vjail
3852 was able to be set by
3853 .Li jail_vjail_hostname .
3854 These per-jail configuration variables are now obsolete in favor of
3855 .Xr jail 8
3856 configuration file.
3857 For backward compatibility,
3858 when per-jail configuration variables are defined,
3859 .Xr jail 8
3860 configuration files are created as
3861 .Pa /var/run/jail. Ns Ao Ar jname Ac Ns Pa .conf
3862 and used.
3863 .Pp
3864 The following per-jail parameters are handled by
3865 .Pa rc.d/jail
3866 script out of their corresponding
3867 .Nm
3868 variables.
3869 In addition to them, parameters in
3870 .Va jail_ Ns Ao Ar jname Ac Ns Va _parameters
3871 will be added to the configuration file.
3872 They must be a semi-colon
3873 .Pq Ql \&;
3874 delimited list of
3875 .Dq key=value .
3876 For more details,
3877 see
3878 .Xr jail 8
3879 manual page.
3880 .Bl  -tag -width "host.hostname" -offset indent
3881 .It Li path
3882 set from
3883 .Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3884 .It Li host.hostname
3885 set from
3886 .Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3887 .It Li exec.consolelog
3888 set from
3889 .Va jail_ Ns Ao Ar jname Ac Ns Va _consolelog .
3890 The default value is
3891 .Pa /var/log/jail_ Ao Ar jname Ac Pa _console.log .
3892 .It Li interface
3893 set from
3894 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface .
3895 .It Li vnet.interface
3896 set from
3897 .Va jail_ Ns Ao Ar jname Ac Ns Va _vnet_interface .
3898 This implies
3899 .Li vnet
3900 parameter will be enabled and cannot be specified with
3901 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface ,
3902 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3903 and/or
3904 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
3905 at the same time.
3906 .It Li fstab
3907 set from
3908 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3909 .It Li mount
3910 set from
3911 .Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable .
3912 .It Li exec.fib
3913 set from
3914 .Va jail_ Ns Ao Ar jname Ac Ns Va _fib
3915 .It Li exec.start
3916 set from
3917 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start .
3918 The parameter name was
3919 .Li command
3920 in some older releases.
3921 .It Li exec.prestart
3922 set from
3923 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestart
3924 .It Li exec.poststart
3925 set from
3926 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststart
3927 .It Li exec.stop
3928 set from
3929 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3930 .It Li exec.prestop
3931 set from
3932 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestop
3933 .It Li exec.poststop
3934 set from
3935 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststop
3936 .It Li ip4.addr
3937 set if
3938 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3939 or
3940 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
3941 contain IPv4 addresses
3942 .It Li ip6.addr
3943 set if
3944 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3945 or
3946 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
3947 contain IPv6 addresses
3948 .It Li allow.mount
3949 set from
3950 .Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
3951 .It Li mount.devfs
3952 set from
3953 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3954 .It Li devfs_ruleset
3955 set from
3956 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset .
3957 This must be an integer,
3958 not a string.
3959 .It Li mount.fdescfs
3960 set from
3961 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3962 .It Li allow.set_hostname
3963 set from
3964 .Va jail_ Ns Ao Ar jname Ac Ns Va _set_hostname_allow
3965 .It Li allow.rawsocket
3966 set from
3967 .Va jail_ Ns Ao Ar jname Ac Ns Va _socket_unixiproute_only
3968 .It Li allow.sysvipc
3969 set from
3970 .Va jail_ Ns Ao Ar jname Ac Ns Va _sysvipc_allow
3971 .El
3972 .\" -----------------------------------------------------
3973 .It Va harvest_mask
3974 .Pq Vt int
3975 Set to a bit-mask
3976 representing the entropy sources
3977 you wish to harvest.
3978 Refer to
3979 .Xr random 4
3980 for more information.
3981 .It Va entropy_dir
3982 .Pq Vt str
3983 Set to
3984 .Dq Li NO
3985 to disable caching entropy via
3986 .Xr cron 8 .
3987 Otherwise set to the directory
3988 in which the entropy files are stored.
3989 To be useful,
3990 there must be
3991 a system cron job
3992 that regularly writes and rotates
3993 files here.
3994 All files found
3995 will be used at boot time.
3996 The default is
3997 .Pa /var/db/entropy .
3998 .It Va entropy_file
3999 .Pq Vt str
4000 Set to
4001 .Dq Li NO
4002 to disable caching entropy through reboots.
4003 Otherwise set to the name
4004 of a file used to store cached entropy.
4005 This file should be located
4006 on a file system that is readable
4007 before all the volumes specified in
4008 .Xr fstab 5
4009 are mounted.
4010 By default,
4011 .Pa /entropy
4012 is used,
4013 but if
4014 .Pa /var/db/entropy-file
4015 is found it will also be used.
4016 This will be of some use to
4017 .Xr bsdinstall 8 .
4018 .It Va entropy_boot_file
4019 .Pq Vt str
4020 Set to
4021 .Dq Li NO
4022 to disable
4023 very early caching entropy
4024 through reboots.
4025 Otherwise set to the filename
4026 used to read
4027 very early reboot cached entropy.
4028 This file should be located where
4029 .Xr loader 8
4030 can read it.
4031 See also
4032 .Xr loader.conf 5 .
4033 The default location is
4034 .Pa /boot/entropy .
4035 .It Va entropy_save_sz
4036 .Pq Vt int
4037 Size of the entropy cache files saved by
4038 .Nm save-entropy
4039 periodically.
4040 .It Va entropy_save_num
4041 .Pq Vt int
4042 Number of entropy cache files to save by
4043 .Nm save-entropy
4044 periodically.
4045 .It Va ipsec_enable
4046 .Pq Vt bool
4047 Set to
4048 .Dq Li YES
4049 to run
4050 .Xr setkey 8
4051 on
4052 .Va ipsec_file
4053 at boot time.
4054 .It Va ipsec_file
4055 .Pq Vt str
4056 Configuration file for
4057 .Xr setkey 8 .
4058 .It Va dmesg_enable
4059 .Pq Vt bool
4060 Set to
4061 .Dq Li YES
4062 to save
4063 .Xr dmesg 8
4064 to
4065 .Pa /var/run/dmesg.boot
4066 on boot.
4067 .It Va rcshutdown_timeout
4068 .Pq Vt int
4069 If set, start a watchdog timer in the background which will terminate
4070 .Pa rc.shutdown
4071 if
4072 .Xr shutdown 8
4073 has not completed within the specified time (in seconds).
4074 Notice that in addition to this soft timeout,
4075 .Xr init 8
4076 also applies a hard timeout for the execution of
4077 .Pa rc.shutdown .
4078 This is configured via
4079 .Xr sysctl 8
4080 variable
4081 .Va kern.init_shutdown_timeout
4082 and defaults to 120 seconds.
4083 Setting the value of
4084 .Va rcshutdown_timeout
4085 to more than 120 seconds will have no effect until the
4086 .Xr sysctl 8
4087 variable
4088 .Va kern.init_shutdown_timeout
4089 is also increased.
4090 .It Va virecover_enable
4091 .Pq Vt bool
4092 Set to
4093 .Dq Li NO
4094 to prevent the system from trying to
4095 recover pre-maturely terminated
4096 .Xr vi 1
4097 sessions.
4098 .It Va ugidfw_enable
4099 .Pq Vt bool
4100 Set to
4101 .Dq Li YES
4102 to load the
4103 .Xr mac_bsdextended 4
4104 module upon system initialization and load a default
4105 ruleset file.
4106 .It Va bsdextended_script
4107 .Pq Vt str
4108 The default
4109 .Xr mac_bsdextended 4
4110 ruleset file to load.
4111 The default value of this variable is
4112 .Pa /etc/rc.bsdextended .
4113 .It Va newsyslog_enable
4114 .Pq Vt bool
4115 If set to
4116 .Dq Li YES ,
4117 run
4118 .Xr newsyslog 8
4119 command at startup.
4120 .It Va newsyslog_flags
4121 .Pq Vt str
4122 If
4123 .Va newsyslog_enable
4124 is set to
4125 .Dq Li YES ,
4126 these are the flags to pass to the
4127 .Xr newsyslog 8
4128 program.
4129 The default is
4130 .Dq Li -CN ,
4131 which causes log files flagged with a
4132 .Cm C
4133 to be created.
4134 .It Va mdconfig_md Ns Aq Ar X
4135 .Pq Vt str
4136 Arguments to
4137 .Xr mdconfig 8
4138 for
4139 .Xr md 4
4140 device
4141 .Ar X .
4142 At minimum a
4143 .Fl t Ar type
4144 must be specified and either a
4145 .Fl s Ar size
4146 for malloc or swap backed
4147 .Xr md 4
4148 devices or a
4149 .Fl f Ar file
4150 for vnode backed
4151 .Xr md 4
4152 devices.
4153 Note that
4154 .Va mdconfig_md Ns Aq Ar X
4155 variables are evaluated until one variable is unset or null.
4156 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
4157 .Pq Vt str
4158 Optional arguments passed to
4159 .Xr newfs 8
4160 to initialize
4161 .Xr md 4
4162 device
4163 .Ar X .
4164 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
4165 .Pq Vt str
4166 An ownership specification passed to
4167 .Xr chown 8
4168 after the specified
4169 .Xr md 4
4170 device
4171 .Ar X
4172 has been mounted.
4173 Both the
4174 .Xr md 4
4175 device and the mount point will be changed.
4176 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
4177 .Pq Vt str
4178 A mode string passed to
4179 .Xr chmod 1
4180 after the specified
4181 .Xr md 4
4182 device
4183 .Ar X
4184 has been mounted.
4185 Both the
4186 .Xr md 4
4187 device and the mount point will be changed.
4188 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
4189 .Pq Vt str
4190 Files to be copied to the mount point of the
4191 .Xr md 4
4192 device
4193 .Ar X
4194 after it has been mounted.
4195 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
4196 .Pq Vt str
4197 Command to execute after the specified
4198 .Xr md 4
4199 device
4200 .Ar X
4201 has been mounted.
4202 Note that the command is passed to
4203 .Ic eval
4204 and that both
4205 .Va _dev
4206 and
4207 .Va _mp
4208 variables can be used to reference respectively the
4209 .Xr md 4
4210 device and the mount point.
4211 Assuming that the
4212 .Xr md 4
4213 device is
4214 .Li md0 ,
4215 one could set the following:
4216 .Bd -literal
4217 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
4218 .Ed
4219 .It Va autobridge_interfaces
4220 .Pq Vt str
4221 Set to the list of bridge interfaces that will have newly arriving interfaces
4222 checked against to be automatically added.
4223 If not set to
4224 .Dq Li NO
4225 then for each whitespace separated
4226 .Ar element
4227 in the value, a
4228 .Va autobridge_ Ns Aq Ar element
4229 variable is assumed to exist which has a whitespace separated list of interface
4230 names to match, these names can use wildcards.
4231 For example:
4232 .Bd -literal
4233 autobridge_interfaces="bridge0"
4234 autobridge_bridge0="tap* dc0 vlan[345]"
4235 .Ed
4236 .It Va mixer_enable
4237 .Pq Vt bool
4238 If set to
4239 .Dq Li YES ,
4240 enable support for sound mixer.
4241 .It Va hcsecd_enable
4242 .Pq Vt bool
4243 If set to
4244 .Dq Li YES ,
4245 enable Bluetooth security daemon.
4246 .It Va hcsecd_config
4247 .Pq Vt str
4248 Configuration file for
4249 .Xr hcsecd 8 .
4250 Default
4251 .Pa /etc/bluetooth/hcsecd.conf .
4252 .It Va sdpd_enable
4253 .Pq Vt bool
4254 If set to
4255 .Dq Li YES ,
4256 enable Bluetooth Service Discovery Protocol daemon.
4257 .It Va sdpd_control
4258 .Pq Vt str
4259 Path to
4260 .Xr sdpd 8
4261 control socket.
4262 Default
4263 .Pa /var/run/sdp .
4264 .It Va sdpd_groupname
4265 .Pq Vt str
4266 Sets
4267 .Xr sdpd 8
4268 group to run as after it initializes.
4269 Default
4270 .Dq Li nobody .
4271 .It Va sdpd_username
4272 .Pq Vt str
4273 Sets
4274 .Xr sdpd 8
4275 user to run as after it initializes.
4276 Default
4277 .Dq Li nobody .
4278 .It Va bthidd_enable
4279 .Pq Vt bool
4280 If set to
4281 .Dq Li YES ,
4282 enable Bluetooth Human Interface Device daemon.
4283 .It Va bthidd_config
4284 .Pq Vt str
4285 Configuration file for
4286 .Xr bthidd 8 .
4287 Default
4288 .Pa /etc/bluetooth/bthidd.conf .
4289 .It Va bthidd_hids
4290 .Pq Vt str
4291 Path to a file, where
4292 .Xr bthidd 8
4293 will store information about known HID devices.
4294 Default
4295 .Pa /var/db/bthidd.hids .
4296 .It Va rfcomm_pppd_server_enable
4297 .Pq Vt bool
4298 If set to
4299 .Dq Li YES ,
4300 enable Bluetooth RFCOMM PPP wrapper daemon.
4301 .It Va rfcomm_pppd_server_profile
4302 .Pq Vt str
4303 The name of the profile to use from
4304 .Pa /etc/ppp/ppp.conf .
4305 Multiple profiles can be specified here.
4306 Also used to specify per-profile overrides.
4307 When the profile name contains any of the characters
4308 .Dq Li .-/+
4309 they are translated to
4310 .Dq Li _
4311 for the proposes of the override variable names.
4312 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _bdaddr
4313 .Pq Vt str
4314 Overrides local address to listen on.
4315 By default
4316 .Xr rfcomm_pppd 8
4317 will listen on
4318 .Dq Li ANY
4319 address.
4320 The address can be specified as BD_ADDR or name.
4321 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _channel
4322 .Pq Vt str
4323 Overrides local RFCOMM channel to listen on.
4324 By default
4325 .Xr rfcomm_pppd 8
4326 will listen on RFCOMM channel 1.
4327 Must set properly if multiple profiles used in the same time.
4328 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_sp
4329 .Pq Vt bool
4330 Tells
4331 .Xr rfcomm_pppd 8
4332 if it should register Serial Port service on the specified RFCOMM channel.
4333 Default
4334 .Dq Li NO .
4335 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_dun
4336 .Pq Vt bool
4337 Tells
4338 .Xr rfcomm_pppd 8
4339 if it should register Dial-Up Networking service on the specified
4340 RFCOMM channel.
4341 Default
4342 .Dq Li NO .
4343 .It Va ubthidhci_enable
4344 .Pq Vt bool
4345 If set to
4346 .Dq Li YES ,
4347 change the USB Bluetooth controller from HID mode to HCI mode.
4348 You also need to specify the location of USB Bluetooth controller with the
4349 .Va ubthidhci_busnum
4350 and
4351 .Va ubthidhci_addr
4352 variables.
4353 .It Va ubthidhci_busnum
4354 Bus number where the USB Bluetooth controller is located.
4355 Check the output of
4356 .Xr usbconfig 8
4357 on your system to find this information.
4358 .It Va ubthidhci_addr
4359 Bus address of the USB Bluetooth controller.
4360 Check the output of
4361 .Xr usbconfig 8
4362 on your system to find this information.
4363 .It Va netwait_enable
4364 .Pq Vt bool
4365 If set to
4366 .Dq Li YES ,
4367 delays the start of network-reliant services until
4368 .Va netwait_if
4369 is up and ICMP packets to a destination defined in
4370 .Va netwait_ip
4371 are flowing.
4372 Link state is examined first, followed by
4373 .Dq Li pinging
4374 an IP address to verify network usability.
4375 If no destination can be reached or timeouts are exceeded,
4376 network services are started anyway with no guarantee that
4377 the network is usable.
4378 Use of this variable requires both
4379 .Va netwait_ip
4380 and
4381 .Va netwait_if
4382 to be set.
4383 .It Va netwait_ip
4384 .Pq Vt str
4385 Empty by default.
4386 This variable contains a space-delimited list of IP addresses to
4387 .Xr ping 8 .
4388 DNS hostnames should not be used as resolution is not guaranteed
4389 to be functional at this point.
4390 If multiple IP addresses are specified,
4391 each will be tried until one is successful or the list is exhausted.
4392 .It Va netwait_timeout
4393 .Pq Vt int
4394 Indicates the total number of seconds to perform a
4395 .Dq Li ping
4396 against each IP address in
4397 .Va netwait_ip ,
4398 at a rate of one ping per second.
4399 If any of the pings are successful,
4400 full network connectivity is considered reliable.
4401 The default is 60.
4402 .It Va netwait_if
4403 .Pq Vt str
4404 Empty by default.
4405 Defines the name of the network interface on which watch for link.
4406 .Xr ifconfig 8
4407 is used to monitor the interface, looking for
4408 .Dq Li status: no carrier .
4409 Once gone, the link is considered up.
4410 This can be a
4411 .Xr vlan 4
4412 interface if desired.
4413 .It Va netwait_if_timeout
4414 .Pq Vt int
4415 Defines the total number of seconds to wait for link to become usable,
4416 polled at a 1-second interval.
4417 The default is 30.
4418 .It Va rctl_enable
4419 .Pq Vt bool
4420 If set to
4421 .Dq Li YES ,
4422 load
4423 .Xr rctl 8
4424 rules from the defined ruleset.
4425 The kernel must be built with
4426 .Cd "options RACCT"
4427 and
4428 .Cd "options RCTL" .
4429 .It Va rctl_rules
4430 .Pq Vt str
4431 Set to
4432 .Pa /etc/rctl.conf
4433 by default.
4434 This variables contains the
4435 .Xr rctl.conf 5
4436 ruleset to load for
4437 .Xr rctl 8 .
4438 .It Va iovctl_files
4439 .Pq Vt str
4440 A space-separated list of configuration files used by
4441 .Xr iovctl 8 .
4442 The default value is an empty string.
4443 .It Va autofs_enable
4444 .Pq Vt bool
4445 If set to
4446 .Dq Li YES ,
4447 start the
4448 .Xr automount 8
4449 utility and the
4450 .Xr automountd 8
4451 and
4452 .Xr autounmountd 8
4453 daemons at boot time.
4454 .It Va automount_flags
4455 .Pq Vt str
4456 If
4457 .Va autofs_enable
4458 is set to
4459 .Dq Li YES ,
4460 these are the flags to pass to the
4461 .Xr automount 8
4462 program.
4463 By default no flags are passed.
4464 .It Va automountd_flags
4465 .Pq Vt str
4466 If
4467 .Va autofs_enable
4468 is set to
4469 .Dq Li YES ,
4470 these are the flags to pass to the
4471 .Xr automountd 8
4472 daemon.
4473 By default no flags are passed.
4474 .It Va autounmountd_flags
4475 .Pq Vt str
4476 If
4477 .Va autofs_enable
4478 is set to
4479 .Dq Li YES ,
4480 these are the flags to pass to the
4481 .Xr autounmountd 8
4482 daemon.
4483 By default no flags are passed.
4484 .It Va ctld_enable
4485 .Pq Vt bool
4486 If set to
4487 .Dq Li YES ,
4488 start the
4489 .Xr ctld 8
4490 daemon at boot time.
4491 .It Va iscsid_enable
4492 .Pq Vt bool
4493 If set to
4494 .Dq Li YES ,
4495 start the
4496 .Xr iscsid 8
4497 daemon at boot time.
4498 .It Va iscsictl_enable
4499 .Pq Vt bool
4500 If set to
4501 .Dq Li YES ,
4502 start the
4503 .Xr iscsictl 8
4504 utility at boot time.
4505 .It Va iscsictl_flags
4506 .Pq Vt str
4507 If
4508 .Va iscsictl_enable
4509 is set to
4510 .Dq Li YES ,
4511 these are the flags to pass to the
4512 .Xr iscsictl 8
4513 program.
4514 The default is
4515 .Dq Li -Aa ,
4516 which configures sessions based on the
4517 .Pa /etc/iscsi.conf
4518 configuration file.
4519 .It Va cfumass_enable
4520 .Pq Vt bool
4521 If set to
4522 .Dq Li YES ,
4523 create and export an USB LUN using
4524 .Xr cfumass 4
4525 at boot time.
4526 .It Va cfumass_dir
4527 .Pq Vt str
4528 The directory where the files exported by USB LUN are located.
4529 The default directory is
4530 .Pa /var/cfumass .
4531 .It Va service_delete_empty
4532 .Pq Vt bool
4533 If set to
4534 .Dq Li YES ,
4535 .Ql Li service delete
4536 removes empty
4537 .Dq Li rc.conf.d
4538 files.
4539 .El
4540 .Sh FILES
4541 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
4542 .It Pa /etc/defaults/rc.conf
4543 .It Pa /etc/rc.conf
4544 .It Pa /etc/rc.conf.local
4545 .El
4546 .Sh SEE ALSO
4547 .Xr chmod 1 ,
4548 .Xr gdb 1 ,
4549 .Xr info 1 ,
4550 .Xr kbdcontrol 1 ,
4551 .Xr makewhatis 1 ,
4552 .Xr sh 1 ,
4553 .Xr vi 1 ,
4554 .Xr vidcontrol 1 ,
4555 .Xr bridge 4 ,
4556 .Xr dummynet 4 ,
4557 .Xr ip 4 ,
4558 .Xr ipf 4 ,
4559 .Xr ipfw 4 ,
4560 .Xr ipnat 4 ,
4561 .Xr kld 4 ,
4562 .Xr pf 4 ,
4563 .Xr pflog 4 ,
4564 .Xr pfsync 4 ,
4565 .Xr tcp 4 ,
4566 .Xr udp 4 ,
4567 .Xr exports 5 ,
4568 .Xr fstab 5 ,
4569 .Xr ipf 5 ,
4570 .Xr ipnat 5 ,
4571 .Xr jail.conf 5 ,
4572 .Xr loader.conf 5 ,
4573 .Xr motd 5 ,
4574 .Xr newsyslog.conf 5 ,
4575 .Xr pf.conf 5 ,
4576 .Xr security 7 ,
4577 .Xr accton 8 ,
4578 .Xr amd 8 ,
4579 .Xr apm 8 ,
4580 .Xr bsdinstall 8 ,
4581 .Xr bthidd 8 ,
4582 .Xr chkprintcap 8 ,
4583 .Xr chown 8 ,
4584 .Xr cron 8 ,
4585 .Xr devfs 8 ,
4586 .Xr dhclient 8 ,
4587 .Xr ftpd 8 ,
4588 .Xr geli 8 ,
4589 .Xr hcsecd 8 ,
4590 .Xr ifconfig 8 ,
4591 .Xr inetd 8 ,
4592 .Xr iovctl 8 ,
4593 .Xr ipf 8 ,
4594 .Xr ipfw 8 ,
4595 .Xr ipnat 8 ,
4596 .Xr jail 8 ,
4597 .Xr kldxref 8 ,
4598 .Xr loader 8 ,
4599 .Xr lpd 8 ,
4600 .Xr mdconfig 8 ,
4601 .Xr mdmfs 8 ,
4602 .Xr mixer 8 ,
4603 .Xr mountd 8 ,
4604 .Xr moused 8 ,
4605 .Xr newfs 8 ,
4606 .Xr newsyslog 8 ,
4607 .Xr nfsd 8 ,
4608 .Xr ntpd 8 ,
4609 .Xr ntpdate 8 ,
4610 .Xr pfctl 8 ,
4611 .Xr pflogd 8 ,
4612 .Xr ping 8 ,
4613 .Xr powerd 8 ,
4614 .Xr quotacheck 8 ,
4615 .Xr quotaon 8 ,
4616 .Xr rc 8 ,
4617 .Xr rc.sendmail 8 ,
4618 .Xr rfcomm_pppd 8 ,
4619 .Xr route 8 ,
4620 .Xr routed 8 ,
4621 .Xr rpc.lockd 8 ,
4622 .Xr rpc.statd 8 ,
4623 .Xr rpcbind 8 ,
4624 .Xr rwhod 8 ,
4625 .Xr savecore 8 ,
4626 .Xr sdpd 8 ,
4627 .Xr service 8 ,
4628 .Xr sshd 8 ,
4629 .Xr swapon 8 ,
4630 .Xr sysctl 8 ,
4631 .Xr syslogd 8 ,
4632 .Xr sysrc 8 ,
4633 .Xr timed 8 ,
4634 .Xr unbound 8 ,
4635 .Xr usbconfig 8 ,
4636 .Xr wlandebug 8 ,
4637 .Xr yp 8 ,
4638 .Xr ypbind 8 ,
4639 .Xr ypserv 8 ,
4640 .Xr ypset 8
4641 .Sh HISTORY
4642 The
4643 .Nm
4644 file appeared in
4645 .Fx 2.2.2 .
4646 .Sh AUTHORS
4647 .An Jordan K. Hubbard .