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