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