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