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