]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - share/man/man5/rc.conf.5
MFC r238707:
[FreeBSD/stable/9.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 July 22, 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 .Pq Vt bool
1303 This variable is deprecated.
1304 Use
1305 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1306 and
1307 .Va ipv6_activate_all_interfaces
1308 if necessary.
1309 .Pp
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 .Pq Vt bool
1321 This variable is deprecated.
1322 Use
1323 .Va ip6addrctl_policy
1324 instead.
1325 .Pp
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 forwarding 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.
1453 For example:
1454 .Bd -literal
1455 ifconfig_ed0_ipv6="inet6 2001:db8:1::1 prefixlen 64"
1456 ifconfig_ed0_alias0="inet6 2001:db8:2::1 prefixlen 64"
1457 .Ed
1458 .Pp
1459 Interfaces that have an
1460 .Dq Li inet6 accept_rtadv
1461 keyword in
1462 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1463 setting will be automatically configured by SLAAC
1464 .Pq StateLess Address AutoConfiguration
1465 described in
1466 .Rs
1467 .%T "RFC 4862"
1468 .Re
1469 .Pp
1470 Note that a link-local address will be automatically configured in
1471 addition to the configured global-scope addresses because the IPv6
1472 specifications require it on each link.
1473 The address is calculated from the MAC address by using an algorithm
1474 defined in
1475 .Rs
1476 .%T "RFC 4862"
1477 .%O "Section 5.3"
1478 .Re
1479 .Pp
1480 If only a link-local address is needed on the interface,
1481 the following configuration can be used:
1482 .Bd -literal
1483 ifconfig_ed0_ipv6="inet6 auto_linklocal"
1484 .Ed
1485 .Pp
1486 A link-local address can also be configured manually.
1487 This is useful for the default router address of an IPv6 router
1488 so that it does not change when the network interface
1489 card is replaced.
1490 For example:
1491 .Bd -literal
1492 ifconfig_ed0_ipv6="inet6 fe80::1 prefixlen 64"
1493 .Ed
1494 .It Va ipv6_prefix_ Ns Aq Ar interface
1495 .Pq Vt str
1496 If one or more prefixes are defined in
1497 .Va ipv6_prefix_ Ns Aq Ar interface
1498 addresses based on each prefix and the EUI-64 interface index will be
1499 configured on that interface.
1500 Note that this variable will be ignored when
1501 .Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1502 is empty.
1503 .Pp
1504 For example, the following configuration
1505 .Bd -literal
1506 ipv6_prefix_ed0="2001:db8:1:0 2001:db8:2:0"
1507 .Ed
1508 .Pp
1509 is equivalent to the following:
1510 .Bd -literal
1511 ifconfig_ed0_alias0="inet6 2001:db8:1:: eui64 prefixlen 64"
1512 ifconfig_ed0_alias1="inet6 2001:db8:1:: prefixlen 64 anycast"
1513 ifconfig_ed0_alias2="inet6 2001:db8:2:: eui64 prefixlen 64"
1514 ifconfig_ed0_alias3="inet6 2001:db8:2:: prefixlen 64 anycast"
1515 .Ed
1516 .Pp
1517 These Subnet-Router anycast addresses will be added only when
1518 .Va ipv6_gateway_enable
1519 is YES.
1520 .It Va ipv6_default_interface
1521 .Pq Vt str
1522 If not set to
1523 .Dq Li NO ,
1524 this is the default output interface for scoped addresses.
1525 This works only with ipv6_gateway_enable="NO".
1526 .It Va ip6addrctl_enable
1527 .Pq Vt bool
1528 This variable is to enable configuring default address selection policy table
1529 .Pq RFC 3484 .
1530 The table can be specified in another variable
1531 .Va ip6addrctl_policy .
1532 For
1533 .Va ip6addrctl_policy
1534 the following keywords can be specified:
1535 .Dq Li ipv4_prefer ,
1536 .Dq Li ipv6_prefer ,
1537 or
1538 .Dq Li AUTO .
1539 .Pp
1540 If
1541 .Dq Li ipv4_prefer
1542 or
1543 .Dq Li ipv6_prefer
1544 is specified,
1545 .Xr ip6addrctl 8
1546 installs a pre-defined policy table described in Section 2.1
1547 .Pq IPv6-preferred
1548 or 10.3
1549 .Pq IPv4-preferred
1550 of RFC 3484.
1551 .Pp
1552 If
1553 .Dq Li AUTO
1554 is specified, it attempts to read a file
1555 .Pa /etc/ip6addrctl.conf
1556 first.
1557 If this file is found,
1558 .Xr ip6addrctl 8
1559 reads and installs it.
1560 If not found, a policy is automatically set
1561 according to
1562 .Va ipv6_activate_all_interfaces
1563 variable; if the variable is set to
1564 .Dq Li YES
1565 the IPv6-preferred one is used.
1566 Otherwise IPv4-preferred.
1567 .Pp
1568 The default value of
1569 .Va ip6addrctl_enable
1570 and
1571 .Va ip6addrctl_policy
1572 are
1573 .Dq Li YES
1574 and
1575 .Dq Li AUTO ,
1576 respectively.
1577 .It Va cloned_interfaces
1578 .Pq Vt str
1579 Set to the list of clonable network interfaces to create on this host.
1580 Further cloning arguments may be passed to the
1581 .Xr ifconfig 8
1582 .Cm create
1583 command for each interface by setting the
1584 .Va create_args_ Ns Aq Ar interface
1585 variable.
1586 Entries in
1587 .Va cloned_interfaces
1588 are automatically appended to
1589 .Va network_interfaces
1590 for configuration.
1591 .It Va fec_interfaces
1592 .Pq Vt str
1593 Set to the list of
1594 .Xr ng_fec 4
1595 Fast EtherChannel interfaces to configure on this host.
1596 A
1597 .Va fecconfig_ Ns Aq Ar interface
1598 variable is assumed to exist for each value of
1599 .Ar interface .
1600 The value of this variable is used to configure link aggregated interfaces
1601 according to the syntax of the
1602 .Cm NGM_FEC_ADD_IFACE
1603 to
1604 .Xr ngctl 8
1605 msg.
1606 Additionally, this option ensures that each listed interface is created
1607 via the
1608 .Cm mkpeer
1609 command to
1610 .Xr ngctl 8
1611 before attempting to configure it.
1612 For example:
1613 .Bd -literal
1614 fec_interfaces="fec0"
1615 fecconfig_fec0="em0 em1"
1616 ifconfig_fec0="DHCP"
1617 .Ed
1618 .It Va gif_interfaces
1619 .Pq Vt str
1620 Set to the list of
1621 .Xr gif 4
1622 tunnel interfaces to configure on this host.
1623 A
1624 .Va gifconfig_ Ns Aq Ar interface
1625 variable is assumed to exist for each value of
1626 .Ar interface .
1627 The value of this variable is used to configure the link layer of the
1628 tunnel according to the syntax of the
1629 .Cm tunnel
1630 option to
1631 .Xr ifconfig 8 .
1632 Additionally, this option ensures that each listed interface is created
1633 via the
1634 .Cm create
1635 option to
1636 .Xr ifconfig 8
1637 before attempting to configure it.
1638 .It Va sppp_interfaces
1639 .Pq Vt str
1640 Set to the list of
1641 .Xr sppp 4
1642 interfaces to configure on this host.
1643 A
1644 .Va spppconfig_ Ns Aq Ar interface
1645 variable is assumed to exist for each value of
1646 .Ar interface .
1647 Each interface should also be configured by a general
1648 .Va ifconfig_ Ns Aq Ar interface
1649 setting.
1650 Refer to
1651 .Xr spppcontrol 8
1652 for more information about available options.
1653 .It Va ppp_enable
1654 .Pq Vt bool
1655 If set to
1656 .Dq Li YES ,
1657 run the
1658 .Xr ppp 8
1659 daemon.
1660 .It Va ppp_profile
1661 .Pq Vt str
1662 The name of the profile to use from
1663 .Pa /etc/ppp/ppp.conf .
1664 Also used for per-profile overrides of
1665 .Va ppp_mode
1666 and
1667 .Va ppp_nat ,
1668 and
1669 .Va ppp_ Ns Ao Ar profile Ac Ns _unit .
1670 When the profile name contains any of the characters
1671 .Dq Li .-/+
1672 they are translated to
1673 .Dq Li _
1674 for the proposes of the override variable names.
1675 .It Va ppp_mode
1676 .Pq Vt str
1677 Mode in which to run the
1678 .Xr ppp 8
1679 daemon.
1680 .It Va ppp_ Ns Ao Ar profile Ac Ns _mode
1681 .Pq Vt str
1682 Overrides the global
1683 .Va ppp_mode
1684 for
1685 .Ar profile .
1686 Accepted modes are
1687 .Dq Li auto ,
1688 .Dq Li ddial ,
1689 .Dq Li direct
1690 and
1691 .Dq Li dedicated .
1692 See the manual for a full description.
1693 .It Va ppp_nat
1694 .Pq Vt bool
1695 If set to
1696 .Dq Li YES ,
1697 enables network address translation.
1698 Used in conjunction with
1699 .Va gateway_enable
1700 allows hosts on private network addresses access to the Internet using
1701 this host as a network address translating router.
1702 .It Va ppp_ Ns Ao Ar profile Ac Ns _nat
1703 .Pq Vt str
1704 Overrides the global
1705 .Va ppp_nat
1706 for
1707 .Ar profile .
1708 .It Va ppp_ Ns Ao Ar profile Ac Ns _unit
1709 .Pq Vt int
1710 Set the unit number to be used for this profile.
1711 See the manual description of
1712 .Fl unit Ns Ar N
1713 for details.
1714 .It Va ppp_user
1715 .Pq Vt str
1716 The name of the user under which
1717 .Xr ppp 8
1718 should be started.
1719 By
1720 default,
1721 .Xr ppp 8
1722 is started as
1723 .Dq Li root .
1724 .It Va rc_conf_files
1725 .Pq Vt str
1726 This option is used to specify a list of files that will override
1727 the settings in
1728 .Pa /etc/defaults/rc.conf .
1729 The files will be read in the order in which they are specified and should
1730 include the full path to the file.
1731 By default, the files specified are
1732 .Pa /etc/rc.conf
1733 and
1734 .Pa /etc/rc.conf.local
1735 .It Va zfs_enable
1736 .Pq Vt bool
1737 If set to
1738 .Dq Li YES ,
1739 .Pa /etc/rc.d/zfs
1740 will attempt to automatically mount ZFS file systems and initialize ZFS volumes
1741 (ZVOLs).
1742 .It Va gptboot_enable
1743 .Pq Vt bool
1744 If set to
1745 .Dq Li YES ,
1746 .Pa /etc/rc.d/gptboot
1747 will log if the system successfully (or not) booted from a GPT partition,
1748 which had the
1749 .Ar bootonce
1750 attribute set using
1751 .Xr gpart 8
1752 utility.
1753 .It Va gbde_autoattach_all
1754 .Pq Vt bool
1755 If set to
1756 .Dq Li YES ,
1757 .Pa /etc/rc.d/gbde
1758 will attempt to automatically initialize your .bde devices in
1759 .Pa /etc/fstab .
1760 .It Va gbde_devices
1761 .Pq Vt str
1762 List the devices that the script should try to attach,
1763 or
1764 .Dq Li AUTO .
1765 .It Va gbde_lockdir
1766 .Pq Vt str
1767 The directory where the
1768 .Xr gbde 4
1769 lockfiles are located.
1770 The default lockfile directory is
1771 .Pa /etc .
1772 .Pp
1773 The lockfile for each individual
1774 .Xr gbde 4
1775 device can be overridden by setting the variable
1776 .Va gbde_lock_ Ns Aq Ar device ,
1777 where
1778 .Ar device
1779 is the encrypted device without the
1780 .Dq Pa /dev/
1781 and
1782 .Dq Pa .bde
1783 parts.
1784 .It Va gbde_attach_attempts
1785 .Pq Vt int
1786 Number of times to attempt attaching to a
1787 .Xr gbde 4
1788 device, i.e., how many times the user is asked for the pass-phrase.
1789 Default is 3.
1790 .It Va geli_devices
1791 .Pq Vt str
1792 List of devices to automatically attach on boot.
1793 Note that .eli devices from
1794 .Pa /etc/fstab
1795 are automatically appended to this list.
1796 .It Va geli_tries
1797 .Pq Vt int
1798 Number of times user is asked for the pass-phrase.
1799 If empty, it will be taken from
1800 .Va kern.geom.eli.tries
1801 sysctl variable.
1802 .It Va geli_default_flags
1803 .Pq Vt str
1804 Default flags to use by
1805 .Xr geli 8
1806 when configuring disk encryption.
1807 Flags can be configured for every device separately by defining
1808 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1809 variable.
1810 .It Va geli_autodetach
1811 .Pq Vt str
1812 Specifies if GELI devices should be marked for detach on last close after
1813 file systems are mounted.
1814 Default is
1815 .Dq Li YES .
1816 This can be changed for every device separately by defining
1817 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1818 variable.
1819 .It Va geli_swap_flags
1820 Options passed to the
1821 .Xr geli 8
1822 utility when encrypted GEOM providers for swap partitions are created.
1823 The default is
1824 .Dq Li "-e aes -l 256 -s 4096 -d" .
1825 .It Va root_rw_mount
1826 .Pq Vt bool
1827 Set to
1828 .Dq Li YES
1829 by default.
1830 After the file systems are checked at boot time, the root file system
1831 is remounted as read-write if this is set to
1832 .Dq Li YES .
1833 Diskless systems that mount their root file system from a read-only remote
1834 NFS share should set this to
1835 .Dq Li NO
1836 in their
1837 .Pa rc.conf .
1838 .It Va fsck_y_enable
1839 .Pq Vt bool
1840 If set to
1841 .Dq Li YES ,
1842 .Xr fsck 8
1843 will be run with the
1844 .Fl y
1845 flag if the initial preen
1846 of the file systems fails.
1847 .It Va background_fsck
1848 .Pq Vt bool
1849 If set to
1850 .Dq Li YES ,
1851 the system will attempt to run
1852 .Xr fsck 8
1853 in the background where possible.
1854 .It Va background_fsck_delay
1855 .Pq Vt int
1856 The amount of time in seconds to sleep before starting a background
1857 .Xr fsck 8 .
1858 It defaults to sixty seconds to allow large applications such as
1859 the X server to start before disk I/O bandwidth is monopolized by
1860 .Xr fsck 8 .
1861 If set to a negative number, the background file system check will be
1862 delayed indefinitely to allow the administrator to run it at a more
1863 convenient time.
1864 For example it may be run from
1865 .Xr cron 8
1866 by adding a line like
1867 .Pp
1868 .Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
1869 .Pp
1870 to
1871 .Pa /etc/crontab .
1872 .It Va netfs_types
1873 .Pq Vt str
1874 List of file system types that are network-based.
1875 This list should generally not be modified by end users.
1876 Use
1877 .Va extra_netfs_types
1878 instead.
1879 .It Va extra_netfs_types
1880 .Pq Vt str
1881 If set to something other than
1882 .Dq Li NO
1883 (the default),
1884 this variable extends the list of file system types
1885 for which automatic mounting at startup by
1886 .Xr rc 8
1887 should be delayed until the network is initialized.
1888 It should contain
1889 a whitespace-separated list of network file system descriptor pairs,
1890 each consisting of a file system type as passed to
1891 .Xr mount 8
1892 and a human-readable, one-word description,
1893 joined with a colon
1894 .Pq Ql \&: .
1895 Extending the default list in this way is only necessary
1896 when third party file system types are used.
1897 .It Va syslogd_enable
1898 .Pq Vt bool
1899 If set to
1900 .Dq Li YES ,
1901 run the
1902 .Xr syslogd 8
1903 daemon.
1904 .It Va syslogd_program
1905 .Pq Vt str
1906 Path to
1907 .Xr syslogd 8
1908 (default
1909 .Pa /usr/sbin/syslogd ) .
1910 .It Va syslogd_flags
1911 .Pq Vt str
1912 If
1913 .Va syslogd_enable
1914 is set to
1915 .Dq Li YES ,
1916 these are the flags to pass to
1917 .Xr syslogd 8 .
1918 .It Va inetd_enable
1919 .Pq Vt bool
1920 If set to
1921 .Dq Li YES ,
1922 run the
1923 .Xr inetd 8
1924 daemon.
1925 .It Va inetd_program
1926 .Pq Vt str
1927 Path to
1928 .Xr inetd 8
1929 (default
1930 .Pa /usr/sbin/inetd ) .
1931 .It Va inetd_flags
1932 .Pq Vt str
1933 If
1934 .Va inetd_enable
1935 is set to
1936 .Dq Li YES ,
1937 these are the flags to pass to
1938 .Xr inetd 8 .
1939 .It Va hastd_enable
1940 .Pq Vt bool
1941 If set to
1942 .Dq Li YES ,
1943 run the
1944 .Xr hastd 8
1945 daemon.
1946 .It Va hastd_program
1947 .Pq Vt str
1948 Path to
1949 .Xr hastd 8
1950 (default
1951 .Pa /sbin/hastd ) .
1952 .It Va hastd_flags
1953 .Pq Vt str
1954 If
1955 .Va hastd_enable
1956 is set to
1957 .Dq Li YES ,
1958 these are the flags to pass to
1959 .Xr hastd 8 .
1960 .It Va named_enable
1961 .Pq Vt bool
1962 If set to
1963 .Dq Li YES ,
1964 run the
1965 .Xr named 8
1966 daemon.
1967 .It Va named_program
1968 .Pq Vt str
1969 Path to
1970 .Xr named 8
1971 (default
1972 .Pa /usr/sbin/named ) .
1973 .It Va named_conf
1974 .Pq Vt str
1975 Path to
1976 .Xr named 8
1977 configuration file, (default
1978 .Pa /etc/namedb/named.conf ) .
1979 .It Va named_flags
1980 .Pq Vt str
1981 If
1982 .Va named_enable
1983 is set to
1984 .Dq Li YES ,
1985 these are the flags to pass to
1986 .Xr named 8 .
1987 .It Va named_uid
1988 .Pq Vt str
1989 The user that the
1990 .Xr named 8
1991 process should be run as.
1992 .It Va named_chrootdir
1993 .Pq Vt str
1994 The root directory for a name server run in a
1995 .Xr chroot 8
1996 environment (default
1997 .Pa /var/named ) .
1998 If left empty
1999 .Xr named 8
2000 will not be run in a
2001 .Xr chroot 8
2002 environment.
2003 .It Va named_chroot_autoupdate
2004 .Pq Vt bool
2005 Set to
2006 .Dq Li NO
2007 to disable automatic update of the
2008 .Xr chroot 8
2009 environment.
2010 .It Va named_symlink_enable
2011 .Pq Vt bool
2012 Set to
2013 .Dq Li NO
2014 to disable symlinking of
2015 daemon's PID file
2016 into the
2017 .Xr chroot 8
2018 environment.
2019 .It Va named_wait
2020 .Pq Vt bool
2021 Set to have
2022 .Pa /etc/rc.d/named
2023 loop until working name service is established.
2024 .It Va named_wait_host
2025 .Pq Vt str
2026 Name of host to lookup for the named_wait option.
2027 (Default localhost)
2028 .It Va named_auto_forward
2029 .Pq Vt bool
2030 Set to enable automatic creation of a forwarder
2031 configuration file derived from
2032 .Pa /etc/resolv.conf .
2033 .It Va named_auto_forward_only
2034 .Pq Vt bool
2035 Set to change the default forwarder configuration from
2036 .Dq forward first
2037 to
2038 .Dq forward only .
2039 .It Va kerberos5_server_enable
2040 .Pq Vt bool
2041 Set to
2042 .Dq Li YES
2043 to start a Kerberos 5 authentication server
2044 at boot time.
2045 .It Va kerberos5_server
2046 .Pq Vt str
2047 If
2048 .Va kerberos5_server_enable
2049 is set to
2050 .Dq Li YES
2051 this is the path to Kerberos 5 Authentication Server.
2052 .It Va kerberos5_server_flags
2053 .Pq Vt str
2054 Empty by default.
2055 This variable contains additional flags to be passed to the Kerberos 5
2056 authentication server.
2057 .It Va kadmind5_server_enable
2058 .Pq Vt bool
2059 Set to
2060 .Dq Li YES
2061 to start
2062 .Xr kadmind 8 ,
2063 the Kerberos 5 Administration Daemon; set to
2064 .Dq Li NO
2065 on a slave server.
2066 .It Va kadmind5_server
2067 .Pq Vt str
2068 If
2069 .Va kadmind5_server_enable
2070 is set to
2071 .Dq Li YES
2072 this is the path to Kerberos 5 Administration Daemon.
2073 .It Va kpasswdd_server_enable
2074 .Pq Vt bool
2075 Set to
2076 .Dq Li YES
2077 to start
2078 .Xr kpasswdd 8 ,
2079 the Kerberos 5 Password-Changing Daemon; set to
2080 .Dq Li NO
2081 on a slave server.
2082 .It Va kpasswdd_server
2083 .Pq Vt str
2084 If
2085 .Va kpasswdd_server_enable
2086 is set to
2087 .Dq Li YES
2088 this is the path to Kerberos 5 Password-Changing Daemon.
2089 .It Va rwhod_enable
2090 .Pq Vt bool
2091 If set to
2092 .Dq Li YES ,
2093 run the
2094 .Xr rwhod 8
2095 daemon at boot time.
2096 .It Va rwhod_flags
2097 .Pq Vt str
2098 If
2099 .Va rwhod_enable
2100 is set to
2101 .Dq Li YES ,
2102 these are the flags to pass to it.
2103 .It Va amd_enable
2104 .Pq Vt bool
2105 If set to
2106 .Dq Li YES ,
2107 run the
2108 .Xr amd 8
2109 daemon at boot time.
2110 .It Va amd_flags
2111 .Pq Vt str
2112 If
2113 .Va amd_enable
2114 is set to
2115 .Dq Li YES ,
2116 these are the flags to pass to it.
2117 See the
2118 .Xr amd 8
2119 manpage for more information.
2120 .It Va amd_map_program
2121 .Pq Vt str
2122 If set,
2123 the specified program is run to get the list of
2124 .Xr amd 8
2125 maps.
2126 For example, if the
2127 .Xr amd 8
2128 maps are stored in NIS, one can set this to
2129 run
2130 .Xr ypcat 1
2131 to get a list of
2132 .Xr amd 8
2133 maps from the
2134 .Pa amd.master
2135 NIS map.
2136 .It Va update_motd
2137 .Pq Vt bool
2138 If set to
2139 .Dq Li YES ,
2140 .Pa /etc/motd
2141 will be updated at boot time to reflect the kernel release
2142 being run.
2143 If set to
2144 .Dq Li NO ,
2145 .Pa /etc/motd
2146 will not be updated.
2147 .It Va nfs_client_enable
2148 .Pq Vt bool
2149 If set to
2150 .Dq Li YES ,
2151 run the NFS client daemons at boot time.
2152 .It Va nfs_access_cache
2153 .Pq Vt int
2154 If
2155 .Va nfs_client_enable
2156 is set to
2157 .Dq Li YES ,
2158 this can be set to
2159 .Dq Li 0
2160 to disable NFS ACCESS RPC caching, or to the number of seconds for which
2161 NFS ACCESS
2162 results should be cached.
2163 A value of 2-10 seconds will substantially reduce network
2164 traffic for many NFS operations.
2165 .It Va nfs_server_enable
2166 .Pq Vt bool
2167 If set to
2168 .Dq Li YES ,
2169 run the NFS server daemons at boot time.
2170 .It Va nfs_server_flags
2171 .Pq Vt str
2172 If
2173 .Va nfs_server_enable
2174 is set to
2175 .Dq Li YES ,
2176 these are the flags to pass to the
2177 .Xr nfsd 8
2178 daemon.
2179 .It Va nfsv4_server_enable
2180 .Pq Vt bool
2181 If
2182 .Va nfs_server_enable
2183 is set to
2184 .Dq Li YES
2185 and
2186 .Va nfsv4_server_enable
2187 are set to
2188 .Dq Li YES ,
2189 enable the server for NFSv4 as well as NFSv2 and NFSv3.
2190 .It Va nfsuserd_enable
2191 .Pq Vt bool
2192 If
2193 .Va nfsuserd_enable
2194 is set to
2195 .Dq Li YES ,
2196 run the nfsuserd daemon, which is needed for NFSv4 in order
2197 to map between user/group names vs uid/gid numbers.
2198 If
2199 .Va nfsv4_server_enable
2200 is set to
2201 .Dq Li YES ,
2202 this will be forced enabled.
2203 .It Va nfsuserd_flags
2204 .Pq Vt str
2205 If
2206 .Va nfsuserd_enable
2207 is set to
2208 .Dq Li YES ,
2209 these are the flags to pass to the
2210 .Xr nfsuserd 8
2211 daemon.
2212 .It Va nfscbd_enable
2213 .Pq Vt bool
2214 If
2215 .Va nfscbd_enable
2216 is set to
2217 .Dq Li YES ,
2218 run the nfscbd daemon, which enables callbacks/delegations for the NFSv4 client.
2219 .It Va nfscbd_flags
2220 .Pq Vt str
2221 If
2222 .Va nfscbd_enable
2223 is set to
2224 .Dq Li YES ,
2225 these are the flags to pass to the
2226 .Xr nfscbd 8
2227 daemon.
2228 .It Va oldnfs_server_enable
2229 .Pq Vt bool
2230 If
2231 .Va oldnfs_server_enable
2232 is set to
2233 .Dq Li YES ,
2234 force the NFS server daemons to run the old NFS server code
2235 that does not support NFSv4.
2236 .It Va mountd_enable
2237 .Pq Vt bool
2238 If set to
2239 .Dq Li YES ,
2240 and no
2241 .Va nfs_server_enable
2242 is set, start
2243 .Xr mountd 8 ,
2244 but not
2245 .Xr nfsd 8
2246 daemon.
2247 It is commonly needed to run CFS without real NFS used.
2248 .It Va mountd_flags
2249 .Pq Vt str
2250 If
2251 .Va mountd_enable
2252 is set to
2253 .Dq Li YES ,
2254 these are the flags to pass to the
2255 .Xr mountd 8
2256 daemon.
2257 .It Va weak_mountd_authentication
2258 .Pq Vt bool
2259 If set to
2260 .Dq Li YES ,
2261 allow services like PCNFSD to make non-privileged mount
2262 requests.
2263 .It Va nfs_reserved_port_only
2264 .Pq Vt bool
2265 If set to
2266 .Dq Li YES ,
2267 provide NFS services only on a secure port.
2268 .It Va nfs_bufpackets
2269 .Pq Vt int
2270 If set to a number, indicates the number of packets worth of
2271 socket buffer space to reserve on an NFS client.
2272 The kernel default is typically 4.
2273 Using a higher number may be
2274 useful on gigabit networks to improve performance.
2275 The minimum value is
2276 2 and the maximum is 64.
2277 .It Va rpc_lockd_enable
2278 .Pq Vt bool
2279 If set to
2280 .Dq Li YES
2281 and also an NFS server or client, run
2282 .Xr rpc.lockd 8
2283 at boot time.
2284 .It Va rpc_lockd_flags
2285 .Pq Vt str
2286 If
2287 .Va rpc_lockd_enable
2288 is set to
2289 .Dq Li YES ,
2290 these are the flags to pass to the
2291 .Xr rpc.lockd 8
2292 daemon.
2293 .It Va rpc_statd_enable
2294 .Pq Vt bool
2295 If set to
2296 .Dq Li YES
2297 and also an NFS server or client, run
2298 .Xr rpc.statd 8
2299 at boot time.
2300 .It Va rpc_statd_flags
2301 .Pq Vt str
2302 If
2303 .Va rpc_statd_enable
2304 is set to
2305 .Dq Li YES ,
2306 these are the flags to pass to the
2307 .Xr rpc.statd 8
2308 daemon.
2309 .It Va rpcbind_program
2310 .Pq Vt str
2311 Path to
2312 .Xr rpcbind 8
2313 (default
2314 .Pa /usr/sbin/rpcbind ) .
2315 .It Va rpcbind_enable
2316 .Pq Vt bool
2317 If set to
2318 .Dq Li YES ,
2319 run the
2320 .Xr rpcbind 8
2321 service at boot time.
2322 .It Va rpcbind_flags
2323 .Pq Vt str
2324 If
2325 .Va rpcbind_enable
2326 is set to
2327 .Dq Li YES ,
2328 these are the flags to pass to the
2329 .Xr rpcbind 8
2330 daemon.
2331 .It Va keyserv_enable
2332 .Pq Vt bool
2333 If set to
2334 .Dq Li YES ,
2335 run the
2336 .Xr keyserv 8
2337 daemon on boot for running Secure RPC.
2338 .It Va keyserv_flags
2339 .Pq Vt str
2340 If
2341 .Va keyserv_enable
2342 is set to
2343 .Dq Li YES ,
2344 these are the flags to pass to
2345 .Xr keyserv 8
2346 daemon.
2347 .It Va pppoed_enable
2348 .Pq Vt bool
2349 If set to
2350 .Dq Li YES ,
2351 run the
2352 .Xr pppoed 8
2353 daemon at boot time to provide PPP over Ethernet services.
2354 .It Va pppoed_ Ns Aq Ar provider
2355 .Pq Vt str
2356 .Xr pppoed 8
2357 listens to requests to this
2358 .Ar provider
2359 and ultimately runs
2360 .Xr ppp 8
2361 with a
2362 .Ar system
2363 argument of the same name.
2364 .It Va pppoed_flags
2365 .Pq Vt str
2366 Additional flags to pass to
2367 .Xr pppoed 8 .
2368 .It Va pppoed_interface
2369 .Pq Vt str
2370 The network interface to run
2371 .Xr pppoed 8
2372 on.
2373 This is mandatory when
2374 .Va pppoed_enable
2375 is set to
2376 .Dq Li YES .
2377 .It Va timed_enable
2378 .Pq Vt bool
2379 If set to
2380 .Dq Li YES ,
2381 run the
2382 .Xr timed 8
2383 service at boot time.
2384 This command is intended for networks of
2385 machines where a consistent
2386 .Dq "network time"
2387 for all hosts must be established.
2388 This is often useful in large NFS
2389 environments where time stamps on files are expected to be consistent
2390 network-wide.
2391 .It Va timed_flags
2392 .Pq Vt str
2393 If
2394 .Va timed_enable
2395 is set to
2396 .Dq Li YES ,
2397 these are the flags to pass to the
2398 .Xr timed 8
2399 service.
2400 .It Va ntpdate_enable
2401 .Pq Vt bool
2402 If set to
2403 .Dq Li YES ,
2404 run
2405 .Xr ntpdate 8
2406 at system startup.
2407 This command is intended to
2408 synchronize the system clock only
2409 .Em once
2410 from some standard reference.
2411 An option to set this up initially
2412 (from a list of known servers) is also provided by the
2413 .Xr sysinstall 8
2414 program when the system is first installed.
2415 .It Va ntpdate_config
2416 .Pq Vt str
2417 Configuration file for
2418 .Xr ntpdate 8 .
2419 Default
2420 .Pa /etc/ntp.conf .
2421 .It Va ntpdate_hosts
2422 .Pq Vt str
2423 A whitespace-separated list of NTP servers to synchronize with at startup.
2424 The default is to use the servers listed in
2425 .Va ntpdate_config ,
2426 if that file exists.
2427 .It Va ntpdate_program
2428 .Pq Vt str
2429 Path to
2430 .Xr ntpdate 8
2431 (default
2432 .Pa /usr/sbin/ntpdate ) .
2433 .It Va ntpdate_flags
2434 .Pq Vt str
2435 If
2436 .Va ntpdate_enable
2437 is set to
2438 .Dq Li YES ,
2439 these are the flags to pass to the
2440 .Xr ntpdate 8
2441 command (typically a hostname).
2442 .It Va ntpd_enable
2443 .Pq Vt bool
2444 If set to
2445 .Dq Li YES ,
2446 run the
2447 .Xr ntpd 8
2448 command at boot time.
2449 .It Va ntpd_program
2450 .Pq Vt str
2451 Path to
2452 .Xr ntpd 8
2453 (default
2454 .Pa /usr/sbin/ntpd ) .
2455 .It Va ntpd_config
2456 .Pq Vt str
2457 Path to
2458 .Xr ntpd 8
2459 configuration file.
2460 Default
2461 .Pa /etc/ntp.conf .
2462 .It Va ntpd_flags
2463 .Pq Vt str
2464 If
2465 .Va ntpd_enable
2466 is set to
2467 .Dq Li YES ,
2468 these are the flags to pass to the
2469 .Xr ntpd 8
2470 daemon.
2471 .It Va ntpd_sync_on_start
2472 .Pq Vt bool
2473 If set to
2474 .Dq Li YES ,
2475 .Xr ntpd 8
2476 is run with the
2477 .Fl g
2478 flag, which syncs the system's clock on startup.
2479 See
2480 .Xr ntpd 8
2481 for more information regarding the
2482 .Fl g
2483 option.
2484 This is a preferred alternative to using
2485 .Xr ntpdate 8
2486 or specifying the
2487 .Va ntpdate_enable
2488 variable.
2489 .It Va nis_client_enable
2490 .Pq Vt bool
2491 If set to
2492 .Dq Li YES ,
2493 run the
2494 .Xr ypbind 8
2495 service at system boot time.
2496 .It Va nis_client_flags
2497 .Pq Vt str
2498 If
2499 .Va nis_client_enable
2500 is set to
2501 .Dq Li YES ,
2502 these are the flags to pass to the
2503 .Xr ypbind 8
2504 service.
2505 .It Va nis_ypset_enable
2506 .Pq Vt bool
2507 If set to
2508 .Dq Li YES ,
2509 run the
2510 .Xr ypset 8
2511 daemon at system boot time.
2512 .It Va nis_ypset_flags
2513 .Pq Vt str
2514 If
2515 .Va nis_ypset_enable
2516 is set to
2517 .Dq Li YES ,
2518 these are the flags to pass to the
2519 .Xr ypset 8
2520 daemon.
2521 .It Va nis_server_enable
2522 .Pq Vt bool
2523 If set to
2524 .Dq Li YES ,
2525 run the
2526 .Xr ypserv 8
2527 daemon at system boot time.
2528 .It Va nis_server_flags
2529 .Pq Vt str
2530 If
2531 .Va nis_server_enable
2532 is set to
2533 .Dq Li YES ,
2534 these are the flags to pass to the
2535 .Xr ypserv 8
2536 daemon.
2537 .It Va nis_ypxfrd_enable
2538 .Pq Vt bool
2539 If set to
2540 .Dq Li YES ,
2541 run the
2542 .Xr rpc.ypxfrd 8
2543 daemon at system boot time.
2544 .It Va nis_ypxfrd_flags
2545 .Pq Vt str
2546 If
2547 .Va nis_ypxfrd_enable
2548 is set to
2549 .Dq Li YES ,
2550 these are the flags to pass to the
2551 .Xr rpc.ypxfrd 8
2552 daemon.
2553 .It Va nis_yppasswdd_enable
2554 .Pq Vt bool
2555 If set to
2556 .Dq Li YES ,
2557 run the
2558 .Xr rpc.yppasswdd 8
2559 daemon at system boot time.
2560 .It Va nis_yppasswdd_flags
2561 .Pq Vt str
2562 If
2563 .Va nis_yppasswdd_enable
2564 is set to
2565 .Dq Li YES ,
2566 these are the flags to pass to the
2567 .Xr rpc.yppasswdd 8
2568 daemon.
2569 .It Va rpc_ypupdated_enable
2570 .Pq Vt bool
2571 If set to
2572 .Dq Li YES ,
2573 run the
2574 .Nm rpc.ypupdated
2575 daemon at system boot time.
2576 .It Va bsnmpd_enable
2577 .Pq Vt bool
2578 If set to
2579 .Dq Li YES ,
2580 run the
2581 .Xr bsnmpd 1
2582 daemon at system boot time.
2583 Be sure to understand the security implications of running SNMP daemon
2584 on your host.
2585 .It Va bsnmpd_flags
2586 .Pq Vt str
2587 If
2588 .Va bsnmpd_enable
2589 is set to
2590 .Dq Li YES ,
2591 these are the flags to pass to the
2592 .Xr bsnmpd 1
2593 daemon.
2594 .It Va defaultrouter
2595 .Pq Vt str
2596 If not set to
2597 .Dq Li NO ,
2598 create a default route to this host name or IP address
2599 (use an IP address if this router is also required to get to the
2600 name server!).
2601 .It Va ipv6_defaultrouter
2602 .Pq Vt str
2603 The IPv6 equivalent of
2604 .Va defaultrouter .
2605 .It Va static_arp_pairs
2606 .Pq Vt str
2607 Set to the list of static ARP pairs that are to be added at system
2608 boot time.
2609 For each whitespace separated
2610 .Ar element
2611 in the value, a
2612 .Va static_arp_ Ns Aq Ar element
2613 variable is assumed to exist whose contents will later be passed to a
2614 .Dq Nm arp Cm -S
2615 operation.
2616 For example
2617 .Bd -literal
2618 static_arp_pairs="gw"
2619 static_arp_gw="192.168.1.1 00:01:02:03:04:05"
2620 .Ed
2621 .It Va static_ndp_pairs
2622 .Pq Vt str
2623 Set to the list of static NDP pairs that are to be added at system
2624 boot time.
2625 For each whitespace separated
2626 .Ar element
2627 in the value, a
2628 .Va static_ndp_ Ns Aq Ar element
2629 variable is assumed to exist whose contents will later be passed to a
2630 .Dq Nm ndp Cm -s
2631 operation.
2632 For example
2633 .Bd -literal
2634 static_ndp_pairs="gw"
2635 static_ndp_gw="2001:db8:3::1 00:01:02:03:04:05"
2636 .Ed
2637 .It Va static_routes
2638 .Pq Vt str
2639 Set to the list of static routes that are to be added at system
2640 boot time.
2641 If not set to
2642 .Dq Li NO
2643 then for each whitespace separated
2644 .Ar element
2645 in the value, a
2646 .Va route_ Ns Aq Ar element
2647 variable is assumed to exist
2648 whose contents will later be passed to a
2649 .Dq Nm route Cm add
2650 operation.
2651 For example:
2652 .Bd -literal
2653 static_routes="mcast gif0local"
2654 route_mcast="-net 224.0.0.0/4 -iface gif0"
2655 route_gif0local="-host 169.254.1.1 -iface lo0"
2656 .Ed
2657 .It Va ipv6_static_routes
2658 .Pq Vt str
2659 The IPv6 equivalent of
2660 .Va static_routes .
2661 If not set to
2662 .Dq Li NO
2663 then for each whitespace separated
2664 .Ar element
2665 in the value, a
2666 .Va ipv6_route_ Ns Aq Ar element
2667 variable is assumed to exist
2668 whose contents will later be passed to a
2669 .Dq Nm route Cm add Fl inet6
2670 operation.
2671 .It Va natm_static_routes
2672 .Pq Vt str
2673 The
2674 .Xr natmip 4
2675 equivalent of
2676 .Va static_routes .
2677 If not empty then for each whitespace separated
2678 .Ar element
2679 in the value, a
2680 .Va route_ Ns Aq Ar element
2681 variable is assumed to exist whose contents will later be passed to a
2682 .Dq Nm atmconfig Cm natm Cm add
2683 operation.
2684 .It Va gateway_enable
2685 .Pq Vt bool
2686 If set to
2687 .Dq Li YES ,
2688 configure host to act as an IP router, e.g.\& to forward packets
2689 between interfaces.
2690 .It Va ipv6_gateway_enable
2691 .Pq Vt bool
2692 The IPv6 equivalent of
2693 .Va gateway_enable .
2694 .It Va routed_enable
2695 .Pq Vt bool
2696 If set to
2697 .Dq Li YES ,
2698 run a routing daemon of some sort, based on the
2699 settings of
2700 .Va routed_program
2701 and
2702 .Va routed_flags .
2703 .It Va route6d_enable
2704 .Pq Vt bool
2705 The IPv6 equivalent of
2706 .Va routed_enable .
2707 If set to
2708 .Dq Li YES ,
2709 run a routing daemon of some sort, based on the
2710 settings of
2711 .Va route6d_program
2712 and
2713 .Va route6d_flags .
2714 .It Va routed_program
2715 .Pq Vt str
2716 If
2717 .Va routed_enable
2718 is set to
2719 .Dq Li YES ,
2720 this is the name of the routing daemon to use.
2721 .It Va route6d_program
2722 .Pq Vt str
2723 The IPv6 equivalent of
2724 .Va routed_program .
2725 .It Va routed_flags
2726 .Pq Vt str
2727 If
2728 .Va routed_enable
2729 is set to
2730 .Dq Li YES ,
2731 these are the flags to pass to the routing daemon.
2732 .It Va route6d_flags
2733 .Pq Vt str
2734 The IPv6 equivalent of
2735 .Va routed_flags .
2736 .It Va mrouted_enable
2737 .Pq Vt bool
2738 If set to
2739 .Dq Li YES ,
2740 run the multicast routing daemon,
2741 .Xr mrouted 8 .
2742 .It Va mroute6d_enable
2743 .Pq Vt bool
2744 The IPv6 equivalent of
2745 .Va mrouted_enable .
2746 If set to
2747 .Dq Li YES ,
2748 run the IPv6 multicast routing daemon.
2749 .Pp
2750 Note that multicast routing daemons are no longer included in the
2751 .Fx
2752 base system, however, both
2753 .Xr mrouted 8
2754 and
2755 .Xr pim6dd 8
2756 may be installed from the
2757 .Fx
2758 Ports Collection.
2759 .It Va mrouted_flags
2760 .Pq Vt str
2761 If
2762 .Va mrouted_enable
2763 is set to
2764 .Dq Li YES ,
2765 these are the flags to pass to the
2766 .Xr mrouted 8
2767 daemon.
2768 .It Va mroute6d_flags
2769 .Pq Vt str
2770 The IPv6 equivalent of
2771 .Va mrouted_flags .
2772 If
2773 .Va mroute6d_enable
2774 is set to
2775 .Dq Li YES ,
2776 these are the flags passed to the IPv6 multicast routing daemon.
2777 .It Va mroute6d_program
2778 .Pq Vt str
2779 If
2780 .Va mroute6d_enable
2781 is set to
2782 .Dq Li YES ,
2783 this is the path to the IPv6 multicast routing daemon.
2784 .It Va rtadvd_enable
2785 .Pq Vt bool
2786 If set to
2787 .Dq Li YES ,
2788 run the
2789 .Xr rtadvd 8
2790 daemon at boot time.
2791 The
2792 .Xr rtadvd 8
2793 utility sends ICMPv6 Router Advertisement messages to
2794 the interfaces specified in
2795 .Va rtadvd_interfaces .
2796 This should only be enabled with great care.
2797 You may want to fine-tune
2798 .Xr rtadvd.conf 5 .
2799 .It Va rtadvd_interfaces
2800 .Pq Vt str
2801 If
2802 .Va rtadvd_enable
2803 is set to
2804 .Dq Li YES
2805 this is the list of interfaces to use.
2806 .It Va ipxgateway_enable
2807 .Pq Vt bool
2808 If set to
2809 .Dq Li YES ,
2810 enable the routing of IPX traffic.
2811 .It Va ipxrouted_enable
2812 .Pq Vt bool
2813 If set to
2814 .Dq Li YES ,
2815 run the
2816 .Xr IPXrouted 8
2817 daemon at system boot time.
2818 .It Va ipxrouted_flags
2819 .Pq Vt str
2820 If
2821 .Va ipxrouted_enable
2822 is set to
2823 .Dq Li YES ,
2824 these are the flags to pass to the
2825 .Xr IPXrouted 8
2826 daemon.
2827 .It Va arpproxy_all
2828 .Pq Vt bool
2829 If set to
2830 .Dq Li YES ,
2831 enable global proxy ARP.
2832 .It Va forward_sourceroute
2833 .Pq Vt bool
2834 If set to
2835 .Dq Li YES
2836 and
2837 .Va gateway_enable
2838 is also set to
2839 .Dq Li YES ,
2840 source-routed packets are forwarded.
2841 .It Va accept_sourceroute
2842 .Pq Vt bool
2843 If set to
2844 .Dq Li YES ,
2845 the system will accept source-routed packets directed at it.
2846 .It Va rarpd_enable
2847 .Pq Vt bool
2848 If set to
2849 .Dq Li YES ,
2850 run the
2851 .Xr rarpd 8
2852 daemon at system boot time.
2853 .It Va rarpd_flags
2854 .Pq Vt str
2855 If
2856 .Va rarpd_enable
2857 is set to
2858 .Dq Li YES ,
2859 these are the flags to pass to the
2860 .Xr rarpd 8
2861 daemon.
2862 .It Va bootparamd_enable
2863 .Pq Vt bool
2864 If set to
2865 .Dq Li YES ,
2866 run the
2867 .Xr bootparamd 8
2868 daemon at system boot time.
2869 .It Va bootparamd_flags
2870 .Pq Vt str
2871 If
2872 .Va bootparamd_enable
2873 is set to
2874 .Dq Li YES ,
2875 these are the flags to pass to the
2876 .Xr bootparamd 8
2877 daemon.
2878 .It Va stf_interface_ipv4addr
2879 .Pq Vt str
2880 If not set to
2881 .Dq Li NO ,
2882 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2883 interface).
2884 Specify this entry to enable the 6to4 interface.
2885 .It Va stf_interface_ipv4plen
2886 .Pq Vt int
2887 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2888 An effective value is 0-31.
2889 .It Va stf_interface_ipv6_ifid
2890 .Pq Vt str
2891 IPv6 interface ID for
2892 .Xr stf 4 .
2893 This can be set to
2894 .Dq Li AUTO .
2895 .It Va stf_interface_ipv6_slaid
2896 .Pq Vt str
2897 IPv6 Site Level Aggregator for
2898 .Xr stf 4 .
2899 .It Va ipv6_faith_prefix
2900 .Pq Vt str
2901 If not set to
2902 .Dq Li NO ,
2903 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2904 translator.
2905 You also need
2906 .Xr faithd 8
2907 setup.
2908 .It Va ipv6_ipv4mapping
2909 .Pq Vt bool
2910 If set to
2911 .Dq Li YES
2912 this enables IPv4 mapped IPv6 address communication (like
2913 .Li ::ffff:a.b.c.d ) .
2914 .It Va rtsold_enable
2915 .Pq Vt bool
2916 Set to
2917 .Dq Li YES
2918 to enable the
2919 .Xr rtsold 8
2920 daemon to send ICMPv6 Router Solicitation messages.
2921 .It Va rtsold_flags
2922 .Pq Vt str
2923 If
2924 .Va rtsold_enable
2925 is set to
2926 .Dq Li YES ,
2927 these are the flags to pass to
2928 .Xr rtsold 8 .
2929 .It Va rtsol_flags
2930 .Pq Vt str
2931 For interfaces configured with the
2932 .Dq Li inet6 accept_rtadv
2933 keyword, these are the flags to pass to
2934 .Xr rtsol 8 .
2935 .Pp
2936 Note that
2937 .Va rtsold_enable
2938 is mutually exclusive to
2939 .Va rtsol_flags ;
2940 .Va rtsold_enable
2941 takes precedence.
2942 .It Va atm_enable
2943 .Pq Vt bool
2944 Set to
2945 .Dq Li YES
2946 to enable the configuration of ATM interfaces at system boot time.
2947 For all of the ATM variables described below, please refer to the
2948 .Xr atm 8
2949 manual page for further details on the available command parameters.
2950 Also refer to the files in
2951 .Pa /usr/share/examples/atm
2952 for more detailed configuration information.
2953 .It Va atm_load
2954 .Pq Vt str
2955 This is a list of physical ATM interface drivers to load.
2956 Typical values are
2957 .Dq Li hfa_pci
2958 and/or
2959 .Dq Li hea_pci .
2960 .It Va atm_netif_ Ns Aq Ar intf
2961 .Pq Vt str
2962 For the ATM physical interface
2963 .Ar intf ,
2964 this variable defines the name prefix and count for the ATM network
2965 interfaces to be created.
2966 The value will be passed as the parameters of an
2967 .Dq Nm atm Cm "set netif" Ar intf
2968 command.
2969 .It Va atm_sigmgr_ Ns Aq Ar intf
2970 .Pq Vt str
2971 For the ATM physical interface
2972 .Ar intf ,
2973 this variable defines the ATM signalling manager to be used.
2974 The value will be passed as the parameters of an
2975 .Dq Nm atm Cm attach Ar intf
2976 command.
2977 .It Va atm_prefix_ Ns Aq Ar intf
2978 .Pq Vt str
2979 For the ATM physical interface
2980 .Ar intf ,
2981 this variable defines the NSAP prefix for interfaces using a UNI signalling
2982 manager.
2983 If set to
2984 .Dq Li ILMI ,
2985 the prefix will automatically be set via the
2986 .Xr ilmid 8
2987 daemon.
2988 Otherwise, the value will be passed as the parameters of an
2989 .Dq Nm atm Cm "set prefix" Ar intf
2990 command.
2991 .It Va atm_macaddr_ Ns Aq Ar intf
2992 .Pq Vt str
2993 For the ATM physical interface
2994 .Ar intf ,
2995 this variable defines the MAC address for interfaces using a UNI signalling
2996 manager.
2997 If set to
2998 .Dq Li NO ,
2999 the hardware MAC address contained in the ATM interface card will be used.
3000 Otherwise, the value will be passed as the parameters of an
3001 .Dq Nm atm Cm "set mac" Ar intf
3002 command.
3003 .It Va atm_arpserver_ Ns Aq Ar netif
3004 .Pq Vt str
3005 For the ATM network interface
3006 .Ar netif ,
3007 this variable defines the ATM address for a host which is to provide ATMARP
3008 service.
3009 This variable is only applicable to interfaces using a UNI signalling
3010 manager.
3011 If set to
3012 .Dq Li local ,
3013 this host will become an ATMARP server.
3014 The value will be passed as the parameters of an
3015 .Dq Nm atm Cm "set arpserver" Ar netif
3016 command.
3017 .It Va atm_scsparp_ Ns Aq Ar netif
3018 .Pq Vt bool
3019 If set to
3020 .Dq Li YES ,
3021 SCSP/ATMARP service for the network interface
3022 .Ar netif
3023 will be initiated using the
3024 .Xr scspd 8
3025 and
3026 .Xr atmarpd 8
3027 daemons.
3028 This variable is only applicable if
3029 .Va atm_arpserver_ Ns Aq Ar netif
3030 is set to
3031 .Dq Li local .
3032 .It Va atm_pvcs
3033 .Pq Vt str
3034 Set to the list of ATM PVCs to be added at system
3035 boot time.
3036 For each whitespace separated
3037 .Ar element
3038 in the value, an
3039 .Va atm_pvc_ Ns Aq Ar element
3040 variable is assumed to exist.
3041 The value of each of these variables
3042 will be passed as the parameters of an
3043 .Dq Nm atm Cm "add pvc"
3044 command.
3045 .It Va atm_arps
3046 .Pq Vt str
3047 Set to the list of permanent ATM ARP entries to be added
3048 at system boot time.
3049 For each whitespace separated
3050 .Ar element
3051 in the value, an
3052 .Va atm_arp_ Ns Aq Ar element
3053 variable is assumed to exist.
3054 The value of each of these variables
3055 will be passed as the parameters of an
3056 .Dq Nm atm Cm "add arp"
3057 command.
3058 .It Va natm_interfaces
3059 .Pq Vt str
3060 Set to the list of
3061 .Xr natm 4
3062 interfaces that will also be used for HARP through
3063 .Xr harp 4 .
3064 If this list is not empty all interfaces in the list will be brought up
3065 with
3066 .Xr ifconfig 8
3067 and
3068 .Xr harp 4
3069 will be loaded.
3070 For this to work the interface drivers must be either compiled into the
3071 kernel or must reside on the root partition.
3072 .It Va keybell
3073 .Pq Vt str
3074 The keyboard bell sound.
3075 Set to
3076 .Dq Li normal ,
3077 .Dq Li visual ,
3078 .Dq Li off ,
3079 or
3080 .Dq Li NO
3081 if the default behavior is desired.
3082 For details, refer to the
3083 .Xr kbdcontrol 1
3084 manpage.
3085 .It Va keyboard
3086 .Pq Vt str
3087 If set to a non-null string, the virtual console's keyboard input is
3088 set to this device.
3089 .It Va keymap
3090 .Pq Vt str
3091 If set to
3092 .Dq Li NO ,
3093 no keymap is installed, otherwise the value is used to install
3094 the keymap file in
3095 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
3096 .It Va keyrate
3097 .Pq Vt str
3098 The keyboard repeat speed.
3099 Set to
3100 .Dq Li slow ,
3101 .Dq Li normal ,
3102 .Dq Li fast ,
3103 or
3104 .Dq Li NO
3105 if the default behavior is desired.
3106 .It Va keychange
3107 .Pq Vt str
3108 If not set to
3109 .Dq Li NO ,
3110 attempt to program the function keys with the value.
3111 The value should
3112 be a single string of the form:
3113 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
3114 .It Va cursor
3115 .Pq Vt str
3116 Can be set to the value of
3117 .Dq Li normal ,
3118 .Dq Li blink ,
3119 .Dq Li destructive ,
3120 or
3121 .Dq Li NO
3122 to set the cursor behavior explicitly or choose the default behavior.
3123 .It Va scrnmap
3124 .Pq Vt str
3125 If set to
3126 .Dq Li NO ,
3127 no screen map is installed, otherwise the value is used to install
3128 the screen map file in
3129 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
3130 .It Va font8x16
3131 .Pq Vt str
3132 If set to
3133 .Dq Li NO ,
3134 the default 8x16 font value is used for screen size requests, otherwise
3135 the value in
3136 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3137 is used.
3138 .It Va font8x14
3139 .Pq Vt str
3140 If set to
3141 .Dq Li NO ,
3142 the default 8x14 font value is used for screen size requests, otherwise
3143 the value in
3144 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3145 is used.
3146 .It Va font8x8
3147 .Pq Vt str
3148 If set to
3149 .Dq Li NO ,
3150 the default 8x8 font value is used for screen size requests, otherwise
3151 the value in
3152 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3153 is used.
3154 .It Va blanktime
3155 .Pq Vt int
3156 If set to
3157 .Dq Li NO ,
3158 the default screen blanking interval is used, otherwise it is set
3159 to
3160 .Ar value
3161 seconds.
3162 .It Va saver
3163 .Pq Vt str
3164 If not set to
3165 .Dq Li NO ,
3166 this is the actual screen saver to use
3167 .Li ( blank , snake , daemon ,
3168 etc).
3169 .It Va moused_nondefault_enable
3170 .Pq Vt str
3171 If set to
3172 .Dq Li NO ,
3173 the mouse device specified on
3174 the command line is not automatically treated as enabled by the
3175 .Pa /etc/rc.d/moused
3176 script.
3177 Having this variable set to
3178 .Dq Li YES
3179 allows a
3180 .Xr usb 4
3181 mouse,
3182 for example,
3183 to be enabled as soon as it is plugged in.
3184 .It Va moused_enable
3185 .Pq Vt str
3186 If set to
3187 .Dq Li YES ,
3188 the
3189 .Xr moused 8
3190 daemon is started for doing cut/paste selection on the console.
3191 .It Va moused_type
3192 .Pq Vt str
3193 This is the protocol type of the mouse connected to this host.
3194 This variable must be set if
3195 .Va moused_enable
3196 is set to
3197 .Dq Li YES .
3198 The
3199 .Xr moused 8
3200 daemon
3201 is able to detect the appropriate mouse type automatically in many cases.
3202 Set this variable to
3203 .Dq Li auto
3204 to let the daemon detect it, or
3205 select one from the following list if the automatic detection fails.
3206 .Pp
3207 If the mouse is attached to the PS/2 mouse port, choose
3208 .Dq Li auto
3209 or
3210 .Dq Li ps/2 ,
3211 regardless of the brand and model of the mouse.
3212 Likewise, if the
3213 mouse is attached to the bus mouse port, choose
3214 .Dq Li auto
3215 or
3216 .Dq Li busmouse .
3217 All other protocols are for serial mice and will not work with
3218 the PS/2 and bus mice.
3219 If this is a USB mouse,
3220 .Dq Li auto
3221 is the only protocol type which will work.
3222 .Pp
3223 .Bl -tag -width ".Li x10mouseremote" -compact
3224 .It Li microsoft
3225 Microsoft mouse (serial)
3226 .It Li intellimouse
3227 Microsoft IntelliMouse (serial)
3228 .It Li mousesystems
3229 Mouse systems Corp.\& mouse (serial)
3230 .It Li mmseries
3231 MM Series mouse (serial)
3232 .It Li logitech
3233 Logitech mouse (serial)
3234 .It Li busmouse
3235 A bus mouse
3236 .It Li mouseman
3237 Logitech MouseMan and TrackMan (serial)
3238 .It Li glidepoint
3239 ALPS GlidePoint (serial)
3240 .It Li thinkingmouse
3241 Kensington ThinkingMouse (serial)
3242 .It Li ps/2
3243 PS/2 mouse
3244 .It Li mmhittab
3245 MM HitTablet (serial)
3246 .It Li x10mouseremote
3247 X10 MouseRemote (serial)
3248 .It Li versapad
3249 Interlink VersaPad (serial)
3250 .El
3251 .Pp
3252 Even if the mouse is not in the above list, it may be compatible
3253 with one in the list.
3254 Refer to the manual page for
3255 .Xr moused 8
3256 for compatibility information.
3257 .Pp
3258 It should also be noted that while this is enabled, any
3259 other client of the mouse (such as an X server) should access
3260 the mouse through the virtual mouse device,
3261 .Pa /dev/sysmouse ,
3262 and configure it as a
3263 .Dq Li sysmouse
3264 type mouse, since all
3265 mouse data is converted to this single canonical format when
3266 using
3267 .Xr moused 8 .
3268 If the client program does not support the
3269 .Dq Li sysmouse
3270 type,
3271 specify the
3272 .Dq Li mousesystems
3273 type.
3274 It is the second preferred type.
3275 .It Va moused_port
3276 .Pq Vt str
3277 If
3278 .Va moused_enable
3279 is set to
3280 .Dq Li YES ,
3281 this is the actual port the mouse is on.
3282 It might be
3283 .Pa /dev/cuad0
3284 for a COM1 serial mouse,
3285 .Pa /dev/psm0
3286 for a PS/2 mouse or
3287 .Pa /dev/mse0
3288 for a bus mouse, for example.
3289 .It Va moused_flags
3290 .Pq Vt str
3291 If
3292 .Va moused_flags
3293 is set, its value is used as an additional set of flags to pass to the
3294 .Xr moused 8
3295 daemon.
3296 .It Va "moused_" Ns Ar XXX Ns Va "_flags"
3297 When
3298 .Va moused_nondefault_enable
3299 is enabled, and a
3300 .Xr moused 8
3301 daemon is started for a non-default port, the
3302 .Va "moused_" Ns Ar XXX Ns Va "_flags"
3303 set of options has precedence over and replaces the default
3304 .Va moused_flags
3305 (where
3306 .Ar XXX
3307 is the name of the non-default port, i.e.,\&
3308 .Ar ums0 ) .
3309 By setting
3310 .Va "moused_" Ns Ar XXX Ns Va "_flags"
3311 it is possible to set up a different set of default flags for each
3312 .Xr moused 8
3313 instance.
3314 For example, you can use
3315 .Dq Li "-3"
3316 for the default
3317 .Va moused_flags
3318 to make your laptop's touchpad more comfortable to use,
3319 but an empty set of options for
3320 .Va moused_ums0_flags
3321 when your
3322 .Xr usb 4
3323 mouse has three or more buttons.
3324 .It Va mousechar_start
3325 .Pq Vt int
3326 If set to
3327 .Dq Li NO ,
3328 the default mouse cursor character range
3329 .Li 0xd0 Ns - Ns Li 0xd3
3330 is used,
3331 otherwise the range start is set
3332 to
3333 .Ar value
3334 character, see
3335 .Xr vidcontrol 1 .
3336 Use if the default range is occupied in the language code table.
3337 .It Va allscreens_flags
3338 .Pq Vt str
3339 If set,
3340 .Xr vidcontrol 1
3341 is run with these options for each of the virtual terminals
3342 .Pq Pa /dev/ttyv* .
3343 For example,
3344 .Dq Fl m Cm on
3345 will enable the mouse pointer on all virtual terminals
3346 if
3347 .Va moused_enable
3348 is set to
3349 .Dq Li YES .
3350 .It Va allscreens_kbdflags
3351 .Pq Vt str
3352 If set,
3353 .Xr kbdcontrol 1
3354 is run with these options for each of the virtual terminals
3355 .Pq Pa /dev/ttyv* .
3356 For example,
3357 .Dq Fl h Li 200
3358 will set the
3359 .Xr syscons 4
3360 scrollback (history) buffer to 200 lines.
3361 .It Va cron_enable
3362 .Pq Vt bool
3363 If set to
3364 .Dq Li YES ,
3365 run the
3366 .Xr cron 8
3367 daemon at system boot time.
3368 .It Va cron_program
3369 .Pq Vt str
3370 Path to
3371 .Xr cron 8
3372 (default
3373 .Pa /usr/sbin/cron ) .
3374 .It Va cron_flags
3375 .Pq Vt str
3376 If
3377 .Va cron_enable
3378 is set to
3379 .Dq Li YES ,
3380 these are the flags to pass to
3381 .Xr cron 8 .
3382 .It Va cron_dst
3383 .Pq Vt bool
3384 If set to
3385 .Dq Li YES ,
3386 enable the special handling of transitions to and from the
3387 Daylight Saving Time in
3388 .Xr cron 8
3389 (equivalent to using the flag
3390 .Fl s ) .
3391 .It Va lpd_program
3392 .Pq Vt str
3393 Path to
3394 .Xr lpd 8
3395 (default
3396 .Pa /usr/sbin/lpd ) .
3397 .It Va lpd_enable
3398 .Pq Vt bool
3399 If set to
3400 .Dq Li YES ,
3401 run the
3402 .Xr lpd 8
3403 daemon at system boot time.
3404 .It Va lpd_flags
3405 .Pq Vt str
3406 If
3407 .Va lpd_enable
3408 is set to
3409 .Dq Li YES ,
3410 these are the flags to pass to the
3411 .Xr lpd 8
3412 daemon.
3413 .It Va chkprintcap_enable
3414 .Pq Vt bool
3415 If set to
3416 .Dq Li YES ,
3417 run the
3418 .Xr chkprintcap 8
3419 command before starting the
3420 .Xr lpd 8
3421 daemon.
3422 .It Va chkprintcap_flags
3423 .Pq Vt str
3424 If
3425 .Va lpd_enable
3426 and
3427 .Va chkprintcap_enable
3428 are set to
3429 .Dq Li YES ,
3430 these are the flags to pass to the
3431 .Xr chkprintcap 8
3432 program.
3433 The default is
3434 .Dq Li -d ,
3435 which causes missing directories to be created.
3436 .It Va mta_start_script
3437 .Pq Vt str
3438 This variable specifies the full path to the script to run to start
3439 a mail transfer agent.
3440 The default is
3441 .Pa /etc/rc.sendmail .
3442 The
3443 .Va sendmail_*
3444 variables which
3445 .Pa /etc/rc.sendmail
3446 uses are documented in the
3447 .Xr rc.sendmail 8
3448 manual page.
3449 .It Va dumpdev
3450 .Pq Vt str
3451 Indicates the device (usually a swap partition) to which a crash dump
3452 should be written in the event of a system crash.
3453 If the value of this variable is
3454 .Dq Li AUTO ,
3455 the first suitable swap device listed in
3456 .Pa /etc/fstab
3457 will be used as dump device.
3458 Otherwise, the value of this variable is passed as the argument to
3459 .Xr dumpon 8 .
3460 To disable crash dumps, set this variable to
3461 .Dq Li NO .
3462 .It Va dumpdir
3463 .Pq Vt str
3464 When the system reboots after a crash and a crash dump is found on the
3465 device specified by the
3466 .Va dumpdev
3467 variable,
3468 .Xr savecore 8
3469 will save that crash dump and a copy of the kernel to the directory
3470 specified by the
3471 .Va dumpdir
3472 variable.
3473 The default value is
3474 .Pa /var/crash .
3475 Set to
3476 .Dq Li NO
3477 to not run
3478 .Xr savecore 8
3479 at boot time when
3480 .Va dumpdir
3481 is set.
3482 .It Va savecore_flags
3483 .Pq Vt str
3484 If crash dumps are enabled, these are the flags to pass to the
3485 .Xr savecore 8
3486 utility.
3487 .It Va quota_enable
3488 .Pq Vt bool
3489 Set to
3490 .Dq Li YES
3491 to turn on user and group disk quotas on system startup via the
3492 .Xr quotaon 8
3493 command for all file systems marked as having quotas enabled in
3494 .Pa /etc/fstab .
3495 The kernel must be built with
3496 .Cd "options QUOTA"
3497 for disk quotas to function.
3498 .It Va check_quotas
3499 .Pq Vt bool
3500 Set to
3501 .Dq Li YES
3502 to enable user and group disk quota checking via the
3503 .Xr quotacheck 8
3504 command.
3505 .It Va quotacheck_flags
3506 .Pq Vt str
3507 If
3508 .Va quota_enable
3509 is set to
3510 .Dq Li YES ,
3511 and
3512 .Va check_quotas
3513 is set to
3514 .Dq Li YES ,
3515 these are the flags to pass to the
3516 .Xr quotacheck 8
3517 utility.
3518 The default is
3519 .Dq Li "-a" ,
3520 which checks quotas for all file systems with quotas enabled in
3521 .Pa /etc/fstab .
3522 .It Va quotaon_flags
3523 .Pq Vt str
3524 If
3525 .Va quota_enable
3526 is set to
3527 .Dq Li YES ,
3528 these are the flags to pass to the
3529 .Xr quotaon 8
3530 utility.
3531 The default is
3532 .Dq Li "-a" ,
3533 which enables quotas for all file systems with quotas enabled in
3534 .Pa /etc/fstab .
3535 .It Va quotaoff_flags
3536 .Pq Vt str
3537 If
3538 .Va quota_enable
3539 is set to
3540 .Dq Li YES ,
3541 these are the flags to pass to the
3542 .Xr quotaoff 8
3543 utility when shutting down the quota system.
3544 The default is
3545 .Dq Li "-a" ,
3546 which disables quotas for all file systems with quotas enabled in
3547 .Pa /etc/fstab .
3548 .It Va accounting_enable
3549 .Pq Vt bool
3550 Set to
3551 .Dq Li YES
3552 to enable system accounting through the
3553 .Xr accton 8
3554 facility.
3555 .It Va ibcs2_enable
3556 .Pq Vt bool
3557 Set to
3558 .Dq Li YES
3559 to enable iBCS2 (SCO) binary emulation at system initial boot
3560 time.
3561 .It Va ibcs2_loaders
3562 .Pq Vt str
3563 If not set to
3564 .Dq Li NO
3565 and if
3566 .Va ibcs2_enable
3567 is set to
3568 .Dq Li YES ,
3569 this specifies a list of additional iBCS2 loaders to enable.
3570 .It Va linux_enable
3571 .Pq Vt bool
3572 Set to
3573 .Dq Li YES
3574 to enable Linux/ELF binary emulation at system initial
3575 boot time.
3576 .It Va svr4_enable
3577 .Pq Vt bool
3578 If set to
3579 .Dq Li YES ,
3580 enable SysVR4 emulation at boot time.
3581 .It Va sysvipc_enable
3582 .Pq Vt bool
3583 If set to
3584 .Dq Li YES ,
3585 load System V IPC primitives at boot time.
3586 .It Va clear_tmp_enable
3587 .Pq Vt bool
3588 Set to
3589 .Dq Li YES
3590 to have
3591 .Pa /tmp
3592 cleaned at startup.
3593 .It Va clear_tmp_X
3594 .Pq Vt bool
3595 Set to
3596 .Dq Li NO
3597 to disable removing of X11 lock files,
3598 and the removal and (secure) recreation
3599 of the various socket directories for X11
3600 related programs.
3601 .It Va ldconfig_paths
3602 .Pq Vt str
3603 Set to the list of shared library paths to use with
3604 .Xr ldconfig 8 .
3605 NOTE:
3606 .Pa /usr/lib
3607 will always be added first, so it need not appear in this list.
3608 .It Va ldconfig32_paths
3609 .Pq Vt str
3610 Set to the list of 32-bit compatibility shared library paths to
3611 use with
3612 .Xr ldconfig 8 .
3613 .It Va ldconfig_paths_aout
3614 .Pq Vt str
3615 Set to the list of shared library paths to use with
3616 .Xr ldconfig 8
3617 legacy
3618 .Xr a.out 5
3619 support.
3620 .It Va ldconfig_insecure
3621 .Pq Vt bool
3622 The
3623 .Xr ldconfig 8
3624 utility normally refuses to use directories
3625 which are writable by anyone except root.
3626 Set this variable to
3627 .Dq Li YES
3628 to disable that security check during system startup.
3629 .It Va ldconfig_local_dirs
3630 .Pq Vt str
3631 Set to the list of local
3632 .Xr ldconfig 8
3633 directories.
3634 The names of all files in the directories listed will be
3635 passed as arguments to
3636 .Xr ldconfig 8 .
3637 .It Va ldconfig_local32_dirs
3638 .Pq Vt str
3639 Set to the list of local 32-bit compatibility
3640 .Xr ldconfig 8
3641 directories.
3642 The names of all files in the directories listed will be
3643 passed as arguments to
3644 .Dq Nm ldconfig Fl 32 .
3645 .It Va kern_securelevel_enable
3646 .Pq Vt bool
3647 Set to
3648 .Dq Li YES
3649 to set the kernel security level at system startup.
3650 .It Va kern_securelevel
3651 .Pq Vt int
3652 The kernel security level to set at startup.
3653 The allowed range of
3654 .Ar value
3655 ranges from \-1 (the compile time default) to 3 (the
3656 most secure).
3657 See
3658 .Xr security 7
3659 for the list of possible security levels and their effect
3660 on system operation.
3661 .It Va sshd_program
3662 .Pq Vt str
3663 Path to the SSH server program
3664 .Pa ( /usr/sbin/sshd
3665 is the default).
3666 .It Va sshd_enable
3667 .Pq Vt bool
3668 Set to
3669 .Dq Li YES
3670 to start
3671 .Xr sshd 8
3672 at system boot time.
3673 .It Va sshd_flags
3674 .Pq Vt str
3675 If
3676 .Va sshd_enable
3677 is set to
3678 .Dq Li YES ,
3679 these are the flags to pass to the
3680 .Xr sshd 8
3681 daemon.
3682 .It Va ftpd_program
3683 .Pq Vt str
3684 Path to the FTP server program
3685 .Pa ( /usr/libexec/ftpd
3686 is the default).
3687 .It Va ftpd_enable
3688 .Pq Vt bool
3689 Set to
3690 .Dq Li YES
3691 to start
3692 .Xr ftpd 8
3693 as a stand-alone daemon at system boot time.
3694 .It Va ftpd_flags
3695 .Pq Vt str
3696 If
3697 .Va ftpd_enable
3698 is set to
3699 .Dq Li YES ,
3700 these are the additional flags to pass to the
3701 .Xr ftpd 8
3702 daemon.
3703 .It Va watchdogd_enable
3704 .Pq Vt bool
3705 If set to
3706 .Dq Li YES ,
3707 start the
3708 .Xr watchdogd 8
3709 daemon at boot time.
3710 This requires that the kernel have been compiled with a
3711 .Xr watchdog 4
3712 compatible device.
3713 .It Va watchdogd_flags
3714 .Pq Vt str
3715 If
3716 .Va watchdogd_enable
3717 is set to
3718 .Dq Li YES ,
3719 these are the flags passed to the
3720 .Xr watchdogd 8
3721 daemon.
3722 .It Va devfs_rulesets
3723 .Pq Vt str
3724 List of files containing sets of rules for
3725 .Xr devfs 8 .
3726 .It Va devfs_system_ruleset
3727 .Pq Vt str
3728 Rule name(s) to apply to the system
3729 .Pa /dev
3730 itself.
3731 .It Va devfs_set_rulesets
3732 .Pq Vt str
3733 Pairs of already-mounted
3734 .Pa dev
3735 directories and rulesets that should be applied to them.
3736 For example: /mount/dev=ruleset_name
3737 .It Va devfs_load_rulesets
3738 .Pq Vt bool
3739 If set, always load the default rulesets listed in
3740 .Va devfs_rulesets .
3741 .It Va performance_cx_lowest
3742 .Pq Vt str
3743 CPU idle state to use while on AC power.
3744 The string
3745 .Dq Li LOW
3746 indicates that
3747 .Xr acpi 4
3748 should use the lowest power state available while
3749 .Dq Li HIGH
3750 indicates that the lowest latency state (less power savings) should be used.
3751 .It Va performance_cpu_freq
3752 .Pq Vt str
3753 CPU clock frequency to use while on AC power.
3754 The string
3755 .Dq Li LOW
3756 indicates that
3757 .Xr cpufreq 4
3758 should use the lowest frequency available while
3759 .Dq Li HIGH
3760 indicates that the highest frequency (less power savings) should be used.
3761 .It Va economy_cx_lowest
3762 .Pq Vt str
3763 CPU idle state to use when off AC power.
3764 The string
3765 .Dq Li LOW
3766 indicates that
3767 .Xr acpi 4
3768 should use the lowest power state available while
3769 .Dq Li HIGH
3770 indicates that the lowest latency state (less power savings) should be used.
3771 .It Va economy_cpu_freq
3772 .Pq Vt str
3773 CPU clock frequency to use when off AC power.
3774 The string
3775 .Dq Li LOW
3776 indicates that
3777 .Xr cpufreq 4
3778 should use the lowest frequency available while
3779 .Dq Li HIGH
3780 indicates that the highest frequency (less power savings) should be used.
3781 .It Va jail_enable
3782 .Pq Vt bool
3783 If set to
3784 .Dq Li NO ,
3785 any configured jails will not be started.
3786 .It jail_parallel_start
3787 .Pq Vt bool
3788 If set to
3789 .Dq Li YES
3790 all configured jails will be started in the background (= in parallel).
3791 .It Va jail_list
3792 .Pq Vt str
3793 A space separated list of names for jails.
3794 This is purely a configuration aid to help identify and
3795 configure multiple jails.
3796 The names specified in this list will be used to
3797 identify settings common to an instance of a jail,
3798 and should contain alphanumeric characters only.
3799 Assuming that the jail in question was named
3800 .Li vjail ,
3801 you would have the following dependent variables:
3802 .Bd -literal
3803 jail_vjail_hostname="jail.example.com"
3804 jail_vjail_ip="192.0.2.100"
3805 jail_vjail_rootdir="/var/jails/vjail/root"
3806 .Ed
3807 .Pp
3808 .It Va jail_flags
3809 .Pq Vt str
3810 Unset by default.
3811 When set, use as default value for
3812 .Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3813 for every jail in
3814 .Va jail_list .
3815 .It Va jail_interface
3816 .Pq Vt str
3817 Unset by default.
3818 When set, use as default value for
3819 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3820 for every jail in
3821 .Va jail_list .
3822 .It Va jail_fstab
3823 .Pq Vt str
3824 Unset by default.
3825 When set, use as default value for
3826 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
3827 for every jail in
3828 .Va jail_list .
3829 .It Va jail_mount_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 _mount_enable
3838 to
3839 .Dq Li YES
3840 by default for every jail in
3841 .Va jail_list .
3842 .It Va jail_devfs_ruleset
3843 .Pq Vt str
3844 Unset by default.
3845 When set, sets
3846 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
3847 to given value for every jail in
3848 .Va jail_list .
3849 .It Va jail_devfs_enable
3850 .Pq Vt bool
3851 Set to
3852 .Dq Li NO
3853 by default.
3854 When set to
3855 .Dq Li YES ,
3856 sets
3857 .Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
3858 to
3859 .Dq Li YES
3860 by default for every jail in
3861 .Va jail_list .
3862 .It Va jail_fdescfs_enable
3863 .Pq Vt bool
3864 Set to
3865 .Dq Li NO
3866 by default.
3867 When set to
3868 .Dq Li YES ,
3869 sets
3870 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3871 to
3872 .Dq Li YES
3873 by default for every jail in
3874 .Va jail_list .
3875 .It Va jail_procfs_enable
3876 .Pq Vt bool
3877 Set to
3878 .Dq Li NO
3879 by default.
3880 When set to
3881 .Dq Li YES ,
3882 sets
3883 .Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
3884 to
3885 .Dq Li YES
3886 by default for every jail in
3887 .Va jail_list .
3888 .It Va jail_exec_prestart Ns Aq Ar N
3889 .Pq Vt str
3890 Unset by default.
3891 When set, use as default value for
3892 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestart Ns Aq Ar N
3893 for every jail in
3894 .Va jail_list .
3895 .It Va jail_exec_start
3896 .Pq Vt str
3897 Unset by default.
3898 When set, use as default value for
3899 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
3900 for every jail in
3901 .Va jail_list .
3902 .It Va jail_exec_afterstart Ns Aq Ar N
3903 .Pq Vt str
3904 Unset by default.
3905 When set, use as default value for
3906 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
3907 for every jail in
3908 .Va jail_list .
3909 .It Va jail_exec_poststart Ns Aq Ar N
3910 .Pq Vt str
3911 Unset by default.
3912 When set, use as default value for
3913 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststart Ns Aq Ar N
3914 for every jail in
3915 .Va jail_list .
3916 .It Va jail_exec_prestop Ns Aq Ar N
3917 .Pq Vt str
3918 Unset by default.
3919 When set, use as default value for
3920 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestop Ns Aq Ar N
3921 for every jail in
3922 .Va jail_list .
3923 .It Va jail_exec_stop
3924 Unset by default.
3925 When set, use as default value for
3926 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
3927 for every jail in
3928 .Va jail_list .
3929 .It Va jail_exec_poststop Ns Aq Ar N
3930 .Pq Vt str
3931 Unset by default.
3932 When set, use as default value for
3933 .Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststop Ns Aq Ar N
3934 for every jail in
3935 .Va jail_list .
3936 .It Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
3937 .Pq Vt str
3938 Unset by default.
3939 Set to the root directory used by jail
3940 .Va jname .
3941 .It Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
3942 .Pq Vt str
3943 Unset by default.
3944 Set to the fully qualified domain name (FQDN) assigned to jail
3945 .Va jname .
3946 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3947 .Pq Vt str
3948 Unset by default.
3949 Set to the (primary) IPv4 and/or IPv6 address(es) assigned to the jail.
3950 The argument can be a sole address or a comma separated list of addresses.
3951 Additionally each address can be prefixed by the name of an interface
3952 followed by a pipe to overwrite
3953 .Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3954 or
3955 .Va jail_interface
3956 and/or suffixed by a netmask, prefixlen or prefix.
3957 In case no netmask, prefixlen or prefix is given,
3958 .Sq /32
3959 will be used for IPv4 and
3960 .Sq /128
3961 will be used for an IPv6 address.
3962 If no address is given for the jail then the jail will be started with
3963 no networking support.
3964 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
3965 .Pq Vt str
3966 Unset by default.
3967 Set additional IPv4 and/or IPv6 address(es) assigned to the jail.
3968 The sequence starts with
3969 .Dq Li _multi0
3970 and the numbers have to be strictly ascending.
3971 These entries follow the same syntax as their primary
3972 .Va jail_ Ns Ao Ar jname Ac Ns Va _ip
3973 entry.
3974 The order of the entries can be important as the first address for
3975 each address family found will be the primary address of the jail.
3976 See
3977 .Va ip-addresses
3978 option in
3979 .Xr jail 8
3980 for more details.
3981 .It Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3982 .Pq Vt str
3983 Set to
3984 .Dq Li -l -U root
3985 by default.
3986 These are flags to pass to
3987 .Xr jail 8 .
3988 .It Va jail_ Ns Ao Ar jname Ac Ns Va _interface
3989 .Pq Vt str
3990 Unset by default.
3991 When set, sets the interface to use when setting IP address alias.
3992 Note that the alias is created at jail startup and removed at jail shutdown.
3993 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fib
3994 .Pq Vt str
3995 Unset by default.
3996 When set, the jail is started with the specified forwarding table (sometimes
3997 referred to as a routing table) via
3998 .Xr setfib 1 .
3999 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
4000 .Pq Vt str
4001 Set to
4002 .Pa /etc/fstab. Ns Aq Ar jname
4003 by default.
4004 This is the file system information file to use for jail
4005 .Va jname .
4006 .It Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
4007 .Pq Vt bool
4008 Set to
4009 .Dq Li NO
4010 by default.
4011 When set to
4012 .Dq Li YES ,
4013 mount all file systems from
4014 .Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
4015 at jail startup.
4016 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset
4017 .Pq Vt str
4018 Unset by default.
4019 When set, defines the device file system ruleset file to use for jail
4020 .Va jname .
4021 .It Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
4022 .Pq Vt bool
4023 Set to
4024 .Dq Li NO
4025 by default.
4026 When set to
4027 .Dq Li YES ,
4028 mount the device file system inside jail
4029 .Ar jname
4030 at jail startup.
4031 .It Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
4032 .Pq Vt bool
4033 Set to
4034 .Dq Li NO
4035 by default.
4036 When set to
4037 .Dq Li YES ,
4038 mount the file-descriptor file system inside jail
4039 .Ar jname
4040 at jail startup.
4041 .It Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable
4042 .Pq Vt bool
4043 Set to
4044 .Dq Li NO
4045 by default.
4046 When set to
4047 .Dq Li YES ,
4048 mount the process file system inside jail
4049 .Ar jname
4050 at jail startup.
4051 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestart Ns Aq Ar N
4052 .Pq Vt str
4053 Unset by default.
4054 This is the command run as
4055 .Ar N Ns
4056 th command
4057 before jail startup, where
4058 .Ar N
4059 is 0, 1, and so on.
4060 It is run outside the jail.
4061 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
4062 .Pq Vt str
4063 Set to
4064 .Dq Li /bin/sh /etc/rc
4065 by default.
4066 This is the command executed in a jail at jail startup.
4067 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_afterstart Ns Aq Ar N
4068 .Pq Vt str
4069 Unset by default.
4070 This is the command run as
4071 .Ar N Ns
4072 th command
4073 in a jail
4074 after jail startup, where
4075 .Ar N
4076 is 1, 2, and so on.
4077 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststart Ns Aq Ar N
4078 .Pq Vt str
4079 Unset by default.
4080 This is the command run as
4081 .Ar N Ns
4082 th command
4083 after jail startup, where
4084 .Ar N
4085 is 0, 1, and so on.
4086 It is run outside the jail.
4087 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestop Ns Aq Ar N
4088 .Pq Vt str
4089 Unset by default.
4090 This is the command run as
4091 .Ar N Ns
4092 th command
4093 before jail shutdown, where
4094 .Ar N
4095 is 0, 1, and so on.
4096 It is run outside the jail.
4097 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
4098 .Pq Vt str
4099 Set to
4100 .Dq Li /bin/sh /etc/rc.shutdown
4101 by default.
4102 This is the command executed in a jail at jail shutdown.
4103 .It Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststop Ns Aq Ar N
4104 .Pq Vt str
4105 Unset by default.
4106 This is the command run as
4107 .Ar N Ns
4108 th command
4109 after jail shutdown, where
4110 .Ar N
4111 is 0, 1, and so on.
4112 It is run outside the jail.
4113 .It Va jail_set_hostname_allow
4114 .Pq Vt bool
4115 If set to
4116 .Dq Li NO ,
4117 do not allow the root user in a jail to set its hostname.
4118 .It Va jail_socket_unixiproute_only
4119 .Pq Vt bool
4120 If set to
4121 .Dq Li YES ,
4122 do not allow any sockets,
4123 besides UNIX/IP/route sockets,
4124 to be used within a jail.
4125 .It Va jail_sysvipc_allow
4126 .Pq Vt bool
4127 If set to
4128 .Dq Li YES ,
4129 allow applications within a jail to use System V IPC.
4130 .\" -----------------------------------------------------
4131 .It Va harvest_interrupt
4132 .Pq Vt bool
4133 Set to
4134 .Dq Li YES
4135 to use hardware interrupts as an entropy source.
4136 Refer to
4137 .Xr random 4
4138 for more information.
4139 .It Va harvest_ethernet
4140 .Pq Vt bool
4141 Set to
4142 .Dq Li YES
4143 to use LAN traffic as an entropy source.
4144 Refer to
4145 .Xr random 4
4146 for more information.
4147 .It Va harvest_p_to_p
4148 .Pq Vt bool
4149 Set to
4150 .Dq Li YES
4151 to use serial line traffic as an entropy source.
4152 Refer to
4153 .Xr random 4
4154 for more information.
4155 .It Va entropy_dir
4156 .Pq Vt str
4157 Set to
4158 .Dq Li NO
4159 to disable caching entropy via
4160 .Xr cron 8 .
4161 Otherwise set to the directory used to store entropy files in.
4162 .It Va entropy_file
4163 .Pq Vt str
4164 Set to
4165 .Dq Li NO
4166 to disable caching entropy through reboots.
4167 Otherwise set to the filename used to store cached entropy through
4168 reboots.
4169 This file should be located on the root file system to seed the
4170 .Xr random 4
4171 device as early as possible in the boot process.
4172 .It Va entropy_save_sz
4173 .Pq Vt int
4174 Size of the entropy cache files saved by
4175 .Nm save-entropy
4176 periodically.
4177 .It Va entropy_save_num
4178 .Pq Vt int
4179 Number of entropy cache files to save by
4180 .Nm save-entropy
4181 periodically.
4182 .It Va ipsec_enable
4183 .Pq Vt bool
4184 Set to
4185 .Dq Li YES
4186 to run
4187 .Xr setkey 8
4188 on
4189 .Va ipsec_file
4190 at boot time.
4191 .It Va ipsec_file
4192 .Pq Vt str
4193 Configuration file for
4194 .Xr setkey 8 .
4195 .It Va dmesg_enable
4196 .Pq Vt bool
4197 Set to
4198 .Dq Li YES
4199 to save
4200 .Xr dmesg 8
4201 to
4202 .Pa /var/run/dmesg.boot
4203 on boot.
4204 .It Va rcshutdown_timeout
4205 .Pq Vt int
4206 If set, start a watchdog timer in the background which will terminate
4207 .Pa rc.shutdown
4208 if
4209 .Xr shutdown 8
4210 has not completed within the specified time (in seconds).
4211 Notice that in addition to this soft timeout,
4212 .Xr init 8
4213 also applies a hard timeout for the execution of
4214 .Pa rc.shutdown .
4215 This is configured via
4216 .Xr sysctl 8
4217 variable
4218 .Va kern.init_shutdown_timeout
4219 and defaults to 120 seconds.
4220 Setting the value of
4221 .Va rcshutdown_timeout
4222 to more than 120 seconds will have no effect until the
4223 .Xr sysctl 8
4224 variable
4225 .Va kern.init_shutdown_timeout
4226 is also increased.
4227 .It Va virecover_enable
4228 .Pq Vt bool
4229 Set to
4230 .Dq Li NO
4231 to prevent the system from trying to
4232 recover pre-maturely terminated
4233 .Xr vi 1
4234 sessions.
4235 .It Va ugidfw_enable
4236 .Pq Vt bool
4237 Set to
4238 .Dq Li YES
4239 to load the
4240 .Xr mac_bsdextended 4
4241 module upon system initialization and load a default
4242 ruleset file.
4243 .It Va bsdextended_script
4244 .Pq Vt str
4245 The default
4246 .Xr mac_bsdextended 4
4247 ruleset file to load.
4248 The default value of this variable is
4249 .Pa /etc/rc.bsdextended .
4250 .It Va newsyslog_enable
4251 .Pq Vt bool
4252 If set to
4253 .Dq Li YES ,
4254 run
4255 .Xr newsyslog 8
4256 command at startup.
4257 .It Va newsyslog_flags
4258 .Pq Vt str
4259 If
4260 .Va newsyslog_enable
4261 is set to
4262 .Dq Li YES ,
4263 these are the flags to pass to the
4264 .Xr newsyslog 8
4265 program.
4266 The default is
4267 .Dq Li -CN ,
4268 which causes log files flagged with a
4269 .Cm C
4270 to be created.
4271 .It Va mdconfig_md Ns Aq Ar X
4272 .Pq Vt str
4273 Arguments to
4274 .Xr mdconfig 8
4275 for
4276 .Xr md 4
4277 device
4278 .Ar X .
4279 At minimum a
4280 .Fl t Ar type
4281 must be specified and either a
4282 .Fl s Ar size
4283 for malloc or swap backed
4284 .Xr md 4
4285 devices or a
4286 .Fl f Ar file
4287 for vnode backed
4288 .Xr md 4
4289 devices.
4290 Note that
4291 .Va mdconfig_md Ns Aq Ar X
4292 variables are evaluated until one variable is unset or null.
4293 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
4294 .Pq Vt str
4295 Optional arguments passed to
4296 .Xr newfs 8
4297 to initialize
4298 .Xr md 4
4299 device
4300 .Ar X .
4301 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
4302 .Pq Vt str
4303 An ownership specification passed to
4304 .Xr chown 8
4305 after the specified
4306 .Xr md 4
4307 device
4308 .Ar X
4309 has been mounted.
4310 Both the
4311 .Xr md 4
4312 device and the mount point will be changed.
4313 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
4314 .Pq Vt str
4315 A mode string passed to
4316 .Xr chmod 1
4317 after the specified
4318 .Xr md 4
4319 device
4320 .Ar X
4321 has been mounted.
4322 Both the
4323 .Xr md 4
4324 device and the mount point will be changed.
4325 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
4326 .Pq Vt str
4327 Files to be copied to the mount point of the
4328 .Xr md 4
4329 device
4330 .Ar X
4331 after it has been mounted.
4332 .It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
4333 .Pq Vt str
4334 Command to execute after the specified
4335 .Xr md 4
4336 device
4337 .Ar X
4338 has been mounted.
4339 Note that the command is passed to
4340 .Ic eval
4341 and that both
4342 .Va _dev
4343 and
4344 .Va _mp
4345 variables can be used to reference respectively the
4346 .Xr md 4
4347 device and the mount point.
4348 Assuming that the
4349 .Xr md 4
4350 device is
4351 .Li md0 ,
4352 one could set the following:
4353 .Bd -literal
4354 mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
4355 .Ed
4356 .It Va autobridge_interfaces
4357 .Pq Vt str
4358 Set to the list of bridge interfaces that will have newly arriving interfaces
4359 checked against to be automatically added.
4360 If not set to
4361 .Dq Li NO
4362 then for each whitespace separated
4363 .Ar element
4364 in the value, a
4365 .Va autobridge_ Ns Aq Ar element
4366 variable is assumed to exist which has a whitespace separated list of interface
4367 names to match, these names can use wildcards.
4368 For example:
4369 .Bd -literal
4370 autobridge_interfaces="bridge0"
4371 autobridge_bridge0="tap* dc0 vlan[345]"
4372 .Ed
4373 .It Va mixer_enable
4374 .Pq Vt bool
4375 If set to
4376 .Dq Li YES ,
4377 enable support for sound mixer.
4378 .It Va hcsecd_enable
4379 .Pq Vt bool
4380 If set to
4381 .Dq Li YES ,
4382 enable Bluetooth security daemon.
4383 .It Va hcsecd_config
4384 .Pq Vt str
4385 Configuration file for
4386 .Xr hcsecd 8 .
4387 Default
4388 .Pa /etc/bluetooth/hcsecd.conf .
4389 .It Va sdpd_enable
4390 .Pq Vt bool
4391 If set to
4392 .Dq Li YES ,
4393 enable Bluetooth Service Discovery Protocol daemon.
4394 .It Va sdpd_control
4395 .Pq Vt str
4396 Path to
4397 .Xr sdpd 8
4398 control socket.
4399 Default
4400 .Pa /var/run/sdp .
4401 .It Va sdpd_groupname
4402 .Pq Vt str
4403 Sets
4404 .Xr sdpd 8
4405 group to run as after it initializes.
4406 Default
4407 .Dq Li nobody .
4408 .It Va sdpd_username
4409 .Pq Vt str
4410 Sets
4411 .Xr sdpd 8
4412 user to run as after it initializes.
4413 Default
4414 .Dq Li nobody .
4415 .It Va bthidd_enable
4416 .Pq Vt bool
4417 If set to
4418 .Dq Li YES ,
4419 enable Bluetooth Human Interface Device daemon.
4420 .It Va bthidd_config
4421 .Pq Vt str
4422 Configuration file for
4423 .Xr bthidd 8 .
4424 Default
4425 .Pa /etc/bluetooth/bthidd.conf .
4426 .It Va bthidd_hids
4427 .Pq Vt str
4428 Path to a file, where
4429 .Xr bthidd 8
4430 will store information about known HID devices.
4431 Default
4432 .Pa /var/db/bthidd.hids .
4433 .It Va rfcomm_pppd_server_enable
4434 .Pq Vt bool
4435 If set to
4436 .Dq Li YES ,
4437 enable Bluetooth RFCOMM PPP wrapper daemon.
4438 .It Va rfcomm_pppd_server_profile
4439 .Pq Vt str
4440 The name of the profile to use from
4441 .Pa /etc/ppp/ppp.conf .
4442 Multiple profiles can be specified here.
4443 Also used to specify per-profile overrides.
4444 When the profile name contains any of the characters
4445 .Dq Li .-/+
4446 they are translated to
4447 .Dq Li _
4448 for the proposes of the override variable names.
4449 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _bdaddr
4450 .Pq Vt str
4451 Overrides local address to listen on.
4452 By default
4453 .Xr rfcomm_pppd 8
4454 will listen on
4455 .Dq Li ANY
4456 address.
4457 The address can be specified as BD_ADDR or name.
4458 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _channel
4459 .Pq Vt str
4460 Overrides local RFCOMM channel to listen on.
4461 By default
4462 .Xr rfcomm_pppd 8
4463 will listen on RFCOMM channel 1.
4464 Must set properly if multiple profiles used in the same time.
4465 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_sp
4466 .Pq Vt bool
4467 Tells
4468 .Xr rfcomm_pppd 8
4469 if it should register Serial Port service on the specified RFCOMM channel.
4470 Default
4471 .Dq Li NO .
4472 .It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_dun
4473 .Pq Vt bool
4474 Tells
4475 .Xr rfcomm_pppd 8
4476 if it should register Dial-Up Networking service on the specified
4477 RFCOMM channel.
4478 Default
4479 .Dq Li NO .
4480 .It Va ubthidhci_enable
4481 .Pq Vt bool
4482 If set to
4483 .Dq Li YES ,
4484 change the USB Bluetooth controller from HID mode to HCI mode.
4485 You also need to specify the location of USB Bluetooth controller with the
4486 .Va ubthidhci_busnum
4487 and
4488 .Va ubthidhci_addr
4489 variables.
4490 .It Va ubthidhci_busnum
4491 Bus number where the USB Bluetooth controller is located.
4492 Check the output of
4493 .Xr usbconfig 8
4494 on your system to find this information.
4495 .It Va ubthidhci_addr
4496 Bus address of the USB Bluetooth controller.
4497 Check the output of
4498 .Xr usbconfig 8
4499 on your system to find this information.
4500 .It Va netwait_enable
4501 .Pq Vt bool
4502 If set to
4503 .Dq Li YES ,
4504 delays the start of network-reliant services until
4505 .Va netwait_if
4506 is up and ICMP packets to a destination defined in
4507 .Va netwait_ip
4508 are flowing.
4509 Link state is examined first, followed by
4510 .Dq Li pinging
4511 an IP address to verify network usability.
4512 If no destination can be reached or timeouts are exceeded,
4513 network services are started anyway with no guarantee that
4514 the network is usable.
4515 Use of this variable requires both
4516 .Va netwait_ip
4517 and
4518 .Va netwait_if
4519 to be set.
4520 .It Va netwait_ip
4521 .Pq Vt str
4522 Empty by default.
4523 This variable contains a space-delimited list of IP addresses to
4524 .Xr ping 8 .
4525 DNS hostnames should not be used as resolution is not guaranteed
4526 to be functional at this point.
4527 If multiple IP addresses are specified,
4528 each will be tried until one is successful or the list is exhausted.
4529 .It Va netwait_timeout
4530 .Pq Vt int
4531 Indicates the total number of seconds to perform a
4532 .Dq Li ping
4533 against each IP address in
4534 .Va netwait_ip ,
4535 at a rate of one ping per second.
4536 If any of the pings are successful,
4537 full network connectivity is considered reliable.
4538 The default is 60.
4539 .It Va netwait_if
4540 .Pq Vt str
4541 Empty by default.
4542 Defines the name of the network interface on which watch for link.
4543 .Xr ifconfig 8
4544 is used to monitor the interface, looking for
4545 .Dq Li status: no carrier .
4546 Once gone, the link is considered up.
4547 This can be a
4548 .Xr vlan 4
4549 interface if desired.
4550 .It Va netwait_if_timeout
4551 .Pq Vt int
4552 Defines the total number of seconds to wait for link to become usable,
4553 polled at a 1-second interval.
4554 The default is 30.
4555 .El
4556 .Sh FILES
4557 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
4558 .It Pa /etc/defaults/rc.conf
4559 .It Pa /etc/rc.conf
4560 .It Pa /etc/rc.conf.local
4561 .El
4562 .Sh SEE ALSO
4563 .Xr catman 1 ,
4564 .Xr chmod 1 ,
4565 .Xr gdb 1 ,
4566 .Xr info 1 ,
4567 .Xr kbdcontrol 1 ,
4568 .Xr makewhatis 1 ,
4569 .Xr sh 1 ,
4570 .Xr vi 1 ,
4571 .Xr vidcontrol 1 ,
4572 .Xr bridge 4 ,
4573 .Xr dummynet 4 ,
4574 .Xr ip 4 ,
4575 .Xr ipf 4 ,
4576 .Xr ipfw 4 ,
4577 .Xr ipnat 4 ,
4578 .Xr kld 4 ,
4579 .Xr pf 4 ,
4580 .Xr pflog 4 ,
4581 .Xr pfsync 4 ,
4582 .Xr tcp 4 ,
4583 .Xr udp 4 ,
4584 .Xr exports 5 ,
4585 .Xr fstab 5 ,
4586 .Xr ipf 5 ,
4587 .Xr ipnat 5 ,
4588 .Xr motd 5 ,
4589 .Xr newsyslog.conf 5 ,
4590 .Xr pf.conf 5 ,
4591 .Xr security 7 ,
4592 .Xr accton 8 ,
4593 .Xr amd 8 ,
4594 .Xr apm 8 ,
4595 .Xr atm 8 ,
4596 .Xr bthidd 8 ,
4597 .Xr chkprintcap 8 ,
4598 .Xr chown 8 ,
4599 .Xr cron 8 ,
4600 .Xr devfs 8 ,
4601 .Xr dhclient 8 ,
4602 .Xr ftpd 8 ,
4603 .Xr geli 8 ,
4604 .Xr hcsecd 8 ,
4605 .Xr ifconfig 8 ,
4606 .Xr inetd 8 ,
4607 .Xr ipf 8 ,
4608 .Xr ipfw 8 ,
4609 .Xr ipnat 8 ,
4610 .Xr jail 8 ,
4611 .Xr kldxref 8 ,
4612 .Xr lpd 8 ,
4613 .Xr mdconfig 8 ,
4614 .Xr mdmfs 8 ,
4615 .Xr mixer 8 ,
4616 .Xr mountd 8 ,
4617 .Xr moused 8 ,
4618 .Xr mrouted 8 ,
4619 .Xr named 8 ,
4620 .Xr newfs 8 ,
4621 .Xr newsyslog 8 ,
4622 .Xr nfsd 8 ,
4623 .Xr ntpd 8 ,
4624 .Xr ntpdate 8 ,
4625 .Xr pfctl 8 ,
4626 .Xr pflogd 8 ,
4627 .Xr ping 8 ,
4628 .Xr powerd 8 ,
4629 .Xr quotacheck 8 ,
4630 .Xr quotaon 8 ,
4631 .Xr rc 8 ,
4632 .Xr rc.sendmail 8 ,
4633 .Xr rfcomm_pppd 8 ,
4634 .Xr route 8 ,
4635 .Xr routed 8 ,
4636 .Xr rpcbind 8 ,
4637 .Xr rpc.lockd 8 ,
4638 .Xr rpc.statd 8 ,
4639 .Xr rwhod 8 ,
4640 .Xr savecore 8 ,
4641 .Xr sdpd 8 ,
4642 .Xr sshd 8 ,
4643 .Xr swapon 8 ,
4644 .Xr sysctl 8 ,
4645 .Xr syslogd 8 ,
4646 .Xr timed 8 ,
4647 .Xr usbconfig 8 ,
4648 .Xr wlandebug 8 ,
4649 .Xr yp 8 ,
4650 .Xr ypbind 8 ,
4651 .Xr ypserv 8 ,
4652 .Xr ypset 8
4653 .Sh HISTORY
4654 The
4655 .Nm
4656 file appeared in
4657 .Fx 2.2.2 .
4658 .Sh AUTHORS
4659 .An Jordan K. Hubbard .