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