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