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