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