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