ntpdate(8) is gone and has been replaced by rdate(8).
[dragonfly.git] / share / man / man5 / rc.conf.5
1 .\" Copyright (c) 1995
2 .\"     Jordan K. Hubbard
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD: src/share/man/man5/rc.conf.5,v 1.197 2003/07/28 13:56:00 mbr Exp $
26 .\" $DragonFly: src/share/man/man5/rc.conf.5,v 1.7 2005/01/11 19:14:58 swildner Exp $
27 .Dd March 3, 2002
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 The following list provides a name and short description for each
72 variable that can be set in the
73 .Nm
74 file:
75 .Bl -tag -width indent-two
76 .It Va rc_debug
77 .Pq Vt bool
78 If set to
79 .Dq Li YES ,
80 enable output of debug messages from rc scripts.
81 This variable can be helpful in diagnosing mistakes when
82 editing or integrating new scripts.
83 Beware that this produces copious output to the terminal and
84 .Xr syslog 3 .
85 .It Va rc_info
86 .Pq Vt bool
87 If set to
88 .Dq Li NO ,
89 disable informational messages from the rc scripts.
90 Informational messages are displayed when
91 a condition that is not serious enough to warrant a warning or
92 an error occurs.
93 .It Va swapfile
94 .Pq Vt str
95 If set to
96 .Dq Li NO ,
97 no swapfile is installed, otherwise the value is used as the full
98 pathname to a file to use for additional swap space.
99 .It Va apm_enable
100 .Pq Vt bool
101 If set to
102 .Dq Li YES ,
103 enable support for Automatic Power Management with
104 the
105 .Xr apm 8
106 command.
107 .It Va apmd_enable
108 .Pq Vt bool
109 Run
110 .Xr apmd 8
111 to handle APM event from userland.
112 This also enables support for APM.
113 .It Va apmd_flags
114 .Pq Vt str
115 If
116 .Va apmd_enable
117 is set to
118 .Dq Li YES ,
119 these are the flags to pass to the
120 .Xr apmd 8
121 daemon.
122 .It Va devd_enable
123 .Pq Vt bool
124 Run
125 .Xr devd 8
126 to handle device added, removed or unknown events from the kernel.
127 .It Va pccard_enable
128 .Pq Vt bool
129 If set to
130 .Dq Li YES ,
131 enable PCCARD support at boot time.
132 .It Va pccard_mem
133 .Pq Vt str
134 Set to PCCARD controller memory address or
135 .Dq Li DEFAULT
136 for the default value.
137 .It Va pccard_ifconfig
138 .Pq Vt str
139 List of arguments to be passed to
140 .Xr ifconfig 8
141 at boot time or on
142 insertion of the card (e.g.\&
143 .Dq Cm inet Li 192.168.1.1 Cm netmask Li 255.255.255.0
144 for a fixed address or
145 .Dq Li DHCP
146 for a DHCP client).
147 .It Va pccard_beep
148 .Pq Vt int
149 If 0,
150 set the PCCARD controller to silent mode.
151 If 1,
152 set it to beep mode.
153 If 2,
154 set it to melody mode.
155 .It Va pccard_conf
156 .Pq Vt str
157 Path to the configuration file for the
158 .Xr pccardd 8
159 daemon (e.g.\&
160 .Pa /etc/pccard.conf.sample ) .
161 .It Va pccardd_flags
162 .Pq Vt str
163 If
164 .Va pccard_enable
165 is set to
166 .Dq Li YES ,
167 these are the flags to pass to the
168 .Xr pccardd 8
169 daemon.
170 .It Va pccard_ether_delay
171 .Pq Vt str
172 Set the delay before starting
173 .Xr dhclient 8
174 in the
175 .Pa /etc/pccard_ether
176 script.
177 This defaults to 5 seconds to work around a bug in the
178 .Xr ed 4
179 driver which can lead to system hangs when using some newer
180 .Xr ed 4
181 based cards.
182 .It Va removable_interfaces
183 .Pq Vt str
184 List of removable network interfaces to be supported by
185 .Pa /etc/pccard_ether .
186 .It Va local_startup
187 .Pq Vt str
188 List of directories to search for startup script files.
189 .It Va script_name_sep
190 .Pq Vt str
191 The field separator to use for breaking down the list of startup script files
192 into individual filenames.
193 The default is a space.
194 It is not necessary to change this unless there are startup scripts with names
195 containing spaces.
196 .It Va hostname
197 .Pq Vt str
198 The fully qualified domain name (FQDN) of this host on the network.
199 This should almost certainly be set to something meaningful, even if
200 there is no network connection.
201 If
202 .Xr dhclient 8
203 is used to set the hostname via DHCP,
204 this variable should be set to an empty string.
205 .It Va ipv6_enable
206 .Pq Vt bool
207 Enable support for IPv6 networking.
208 Note that this requires that the kernel have been compiled with
209 .Cd "options INET6" .
210 .It Va nisdomainname
211 .Pq Vt str
212 The NIS domain name of this host, or
213 .Dq Li NO
214 if NIS is not used.
215 .It Va dhclient_program
216 .Pq Vt str
217 Path to the DHCP client program
218 .Pa ( /sbin/dhclient ,
219 the ISC DHCP client,
220 is the default).
221 .It Va dhclient_flags
222 .Pq Vt str
223 Additional flags to pass to the DHCP client program.
224 For the ISC DHCP client, see the
225 .Xr dhclient 8
226 manpage for a description of the command line options available.
227 .It Va background_dhclient
228 .Pq Vt bool
229 Set to
230 .Dq Li YES
231 to start the dhcp client in background.
232 This can cause trouble with applications depending on
233 a working network, but it will provide a faster startup
234 in many cases.
235 .It Va firewall_enable
236 .Pq Vt bool
237 Set to
238 .Dq Li YES
239 to load firewall rules at startup.
240 If the kernel was not built with
241 .Cd "options IPFIREWALL" ,
242 the
243 .Pa ipfw.ko
244 kernel module will be loaded.
245 See also
246 .Va ipfilter_enable .
247 .It Va ipv6_firewall_enable
248 .Pq Vt bool
249 The IPv6 equivalent of
250 .Va firewall_enable .
251 Set to
252 .Dq Li YES
253 to load IPv6 firewall rules at startup.
254 If the kernel was not built with
255 .Cd "options IPV6FIREWALL" ,
256 the
257 .Pa ip6fw.ko
258 kernel module will be loaded.
259 .It Va firewall_script
260 .Pq Vt str
261 This variable specifies the full path to the firewall script to run.
262 The default is
263 .Pa /etc/rc.firewall .
264 .It Va ipv6_firewall_script
265 .Pq Vt str
266 The IPv6 equivalent of
267 .Va firewall_script .
268 .It Va firewall_type
269 .Pq Vt str
270 Names the firewall type from the selection in
271 .Pa /etc/rc.firewall ,
272 or the file which contains the local firewall ruleset.
273 Valid selections from
274 .Pa /etc/rc.firewall
275 are:
276 .Pp
277 .Bl -tag -width ".Li simple" -compact
278 .It Li open
279 unrestricted IP access
280 .It Li closed
281 all IP services disabled, except via
282 .Dq Li lo0
283 .It Li client
284 basic protection for a workstation
285 .It Li simple
286 basic protection for a LAN.
287 .El
288 .Pp
289 If a filename is specified, the full path
290 must be given.
291 .It Va ipv6_firewall_type
292 .Pq Vt str
293 The IPv6 equivalent of
294 .Va firewall_type .
295 .It Va firewall_quiet
296 .Pq Vt bool
297 Set to
298 .Dq Li YES
299 to disable the display of firewall rules on the console during boot.
300 .It Va ipv6_firewall_quiet
301 .Pq Vt bool
302 The IPv6 equivalent of
303 .Va firewall_quiet .
304 .It Va firewall_logging
305 .Pq Vt bool
306 Set to
307 .Dq Li YES
308 to enable firewall event logging.
309 This is equivalent to the
310 .Dv IPFIREWALL_VERBOSE
311 kernel option.
312 .It Va ipv6_firewall_logging
313 .Pq Vt bool
314 The IPv6 equivalent of
315 .Va firewall_logging .
316 .It Va firewall_flags
317 .Pq Vt str
318 Flags passed to
319 .Xr ipfw 8
320 if
321 .Va firewall_type
322 specifies a filename.
323 .It Va ipv6_firewall_flags
324 .Pq Vt str
325 The IPv6 equivalent of
326 .Va firewall_flags .
327 .It Va natd_program
328 .Pq Vt str
329 Path to
330 .Xr natd 8 .
331 .It Va natd_enable
332 .Pq Vt bool
333 Set to
334 .Dq Li YES
335 to enable
336 .Xr natd 8 .
337 .Va firewall_enable
338 must also be set to
339 .Dq Li YES ,
340 and
341 .Xr divert 4
342 sockets must be enabled in the kernel.
343 .It Va natd_interface
344 .Pq Vt str
345 This is the name of the public interface on which
346 .Xr natd 8
347 should run.
348 The interface may be given as an interface name or as an IP address.
349 .It Va natd_flags
350 .Pq Vt str
351 Additional
352 .Xr natd 8
353 flags should be placed here.
354 The
355 .Fl n
356 or
357 .Fl a
358 flag is automatically added with the above
359 .Va natd_interface
360 as an argument.
361 .\" ----- ipfilter_enable setting --------------------------------
362 .It Va ipfilter_enable
363 .Pq Vt bool
364 Set to
365 .Dq Li NO
366 by default.
367 Setting this to
368 .Dq Li YES
369 enables
370 .Xr ipf 8
371 packet filtering.
372 .Pp
373 Typical usage will require putting
374 .Bd -literal
375 ipfilter_enable="YES"
376 ipnat_enable="YES"
377 ipmon_enable="YES"
378 ipfs_enable="YES"
379 .Ed
380 .Pp
381 into
382 .Pa /etc/rc.conf
383 and editing
384 .Pa /etc/ipf.rules
385 and
386 .Pa /etc/ipnat.rules
387 appropriately.
388 .Pp
389 Note that
390 .Va ipfilter_enable
391 and
392 .Va ipnat_enable
393 can be enabled independently.
394 .Va ipmon_enable
395 and
396 .Va ipfs_enable
397 both require at least one of
398 .Va ipfilter_enable
399 and
400 .Va ipnat_enable
401 to be enabled.
402 .Pp
403 Having
404 .Bd -literal
405 options IPFILTER
406 options IPFILTER_LOG
407 options IPFILTER_DEFAULT_BLOCK
408 .Ed
409 .Pp
410 in the kernel configuration file is a good idea, too.
411 .\" ----- ipfilter_program setting ------------------------------
412 .It Va ipfilter_program
413 .Pq Vt str
414 Path to
415 .Xr ipf 8
416 (default
417 .Pa /sbin/ipf ) .
418 .\" ----- ipfilter_rules setting --------------------------------
419 .It Va ipfilter_rules
420 .Pq Vt str
421 Set to
422 .Pa /etc/ipf.rules
423 by default.
424 This variable contains the name of the filter rule definition file.
425 The file is expected to be readable for the
426 .Xr ipf 8
427 command to execute.
428 .\" ----- ipv6_ipfilter_rules setting ---------------------------
429 .It Va ipv6_ipfilter_rules
430 .Pq Vt str
431 Set to
432 .Pa /etc/ipf6.rules
433 by default.
434 This variable contains the IPv6 filter rule definition file.
435 The file is expected to be readable for the
436 .Xr ipf 8
437 command to execute.
438 .\" ----- ipfilter_flags setting --------------------------------
439 .It Va ipfilter_flags
440 .Pq Vt str
441 Empty by default.
442 This variable contains flags passed to the
443 .Xr ipf 8
444 program.
445 .\" ----- ipnat_enable setting ----------------------------------
446 .It Va ipnat_enable
447 .Pq Vt bool
448 Set to
449 .Dq Li NO
450 by default.
451 Set it to
452 .Dq Li YES
453 to enable
454 .Xr ipnat 1
455 network address translation.
456 See
457 .Va ipfilter_enable
458 for a detailed discussion.
459 .\" ----- ipnat_program setting ---------------------------------
460 .It Va ipnat_program
461 .Pq Vt str
462 Path to
463 .Xr ipnat 1
464 (default
465 .Pa /sbin/ipnat ) .
466 .\" ----- ipnat_rules setting -----------------------------------
467 .It Va ipnat_rules
468 .Pq Vt str
469 Set to
470 .Pa /etc/ipnat.rules
471 by default.
472 This variable contains the name of the file
473 holding the network address translation definition.
474 This file is expected to be readable for the
475 .Xr ipnat 1
476 command to execute.
477 .\" ----- ipnat_flags setting -----------------------------------
478 .It Va ipnat_flags
479 .Pq Vt str
480 Empty by default.
481 This variable contains flags passed to the
482 .Xr ipnat 1
483 program.
484 .\" ----- ipmon_enable setting ----------------------------------
485 .It Va ipmon_enable
486 .Pq Vt bool
487 Set to
488 .Dq Li NO
489 by default.
490 Set it to
491 .Dq Li YES
492 to enable
493 .Xr ipmon 8
494 monitoring (logging
495 .Xr ipf 8
496 and
497 .Xr ipnat 1
498 events).
499 Setting this variable needs setting
500 .Va ipfilter_enable
501 or
502 .Va ipnat_enable
503 too.
504 See
505 .Va ipfilter_enable
506 for a detailed discussion.
507 .\" ----- ipmon_program setting ---------------------------------
508 .It Va ipmon_program
509 .Pq Vt str
510 Path to
511 .Xr ipmon 8
512 (default
513 .Pa /sbin/ipmon ) .
514 .\" ----- ipmon_flags setting -----------------------------------
515 .It Va ipmon_flags
516 .Pq Vt str
517 Set to
518 .Dq Li -Ds
519 by default.
520 This variable contains flags passed to the
521 .Xr ipmon 8
522 program.
523 Another typical example would be
524 .Dq Fl D Pa /var/log/ipflog
525 to have
526 .Xr ipmon 8
527 log directly to a file bypassing
528 .Xr syslogd 8 .
529 Make sure to adjust
530 .Pa /etc/newsyslog.conf
531 in such case like this:
532 .Bd -literal
533 /var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
534 .Ed
535 .\" ----- ipfs_enable setting -----------------------------------
536 .It Va ipfs_enable
537 .Pq Vt bool
538 Set to
539 .Dq Li NO
540 by default.
541 Set it to
542 .Dq Li YES
543 to enable
544 .Xr ipfs 8
545 saving the filter and NAT state tables during shutdown
546 and reloading them during startup again.
547 Setting this variable needs setting
548 .Va ipfilter_enable
549 or
550 .Va ipnat_enable
551 to
552 .Dq Li YES
553 too.
554 See
555 .Va ipfilter_enable
556 for a detailed discussion.
557 Note that if
558 .Va kern_securelevel
559 is set to 3,
560 .Va ipfs_enable
561 cannot be used
562 because the raised securelevel will prevent
563 .Xr ipfs 8
564 from saving the state tables at shutdown time.
565 .\" ----- ipfs_program setting ----------------------------------
566 .It Va ipfs_program
567 .Pq Vt str
568 Path to
569 .Xr ipfs 8
570 (default
571 .Pa /sbin/ipfs ) .
572 .\" ----- ipfs_flags setting ------------------------------------
573 .It Va ipfs_flags
574 .Pq Vt str
575 Empty by default.
576 This variable contains flags passed to the
577 .Xr ipfs 8
578 program.
579 .\" ----- end of added ipf hook ---------------------------------
580 .It Va tcp_extensions
581 .Pq Vt bool
582 Set to
583 .Dq Li YES
584 by default.
585 Setting this to
586 .Dq Li NO
587 disables certain TCP options as described by
588 .Rs
589 .%T "RFC 1323"
590 .Re
591 Setting this to
592 .Dq Li NO
593 might help remedy such problems with connections as randomly hanging
594 or other weird behavior.
595 Some network devices are known
596 to be broken with respect to these options.
597 .It Va log_in_vain
598 .Pq Vt int
599 Set to 0 by default.
600 The
601 .Xr sysctl 8
602 variables,
603 .Va net.inet.tcp.log_in_vain
604 and
605 .Va net.inet.udp.log_in_vain ,
606 as described in
607 .Xr tcp 4
608 and
609 .Xr udp 4 ,
610 are set to the given value.
611 .It Va tcp_keepalive
612 .Pq Vt bool
613 Set to
614 .Dq Li YES
615 by default.
616 Setting to
617 .Dq Li NO
618 will disable probing idle TCP connections to verify that the
619 peer is still up and reachable.
620 .It Va tcp_drop_synfin
621 .Pq Vt bool
622 Set to
623 .Dq Li NO
624 by default.
625 Setting to
626 .Dq Li YES
627 will cause the kernel to ignore TCP frames that have both
628 the SYN and FIN flags set.
629 This prevents OS fingerprinting, but may
630 break some legitimate applications.
631 This option is only available if the
632 kernel was built with the
633 .Dv TCP_DROP_SYNFIN
634 option.
635 .It Va icmp_drop_redirect
636 .Pq Vt bool
637 Set to
638 .Dq Li NO
639 by default.
640 Setting to
641 .Dq Li YES
642 will cause the kernel to ignore ICMP REDIRECT packets.
643 Refer to
644 .Xr icmp 4
645 for more information.
646 .It Va icmp_log_redirect
647 .Pq Vt bool
648 Set to
649 .Dq Li NO
650 by default.
651 Setting to
652 .Dq Li YES
653 will cause the kernel to log ICMP REDIRECT packets.
654 Note that
655 the log messages are not rate-limited, so this option should only be used
656 for troubleshooting networks.
657 Refer to
658 .Xr icmp 4
659 for more information.
660 .It Va icmp_bmcastecho
661 .Pq Vt bool
662 Set to
663 .Dq Li YES
664 to respond to broadcast or multicast ICMP ping packets.
665 Refer to
666 .Xr icmp 4
667 for more information.
668 .It Va ip_portrange_first
669 .Pq Vt int
670 If not set to
671 .Dq Li NO ,
672 this is the first port in the default portrange.
673 Refer to
674 .Xr ip 4
675 for more information.
676 .It Va ip_portrange_last
677 .Pq Vt int
678 If not set to
679 .Dq Li NO ,
680 this is the last port in the default portrange.
681 Refer to
682 .Xr ip 4
683 for more information.
684 .It Va network_interfaces
685 .Pq Vt str
686 Set to the list of network interfaces to configure on this host.
687 For example, if the only network devices in the system are the loopback
688 device
689 .Pq Li lo0
690 and a NIC using the
691 .Xr ed 4
692 driver,
693 this could be set to
694 .Dq Li "lo0 ed0" .
695 An
696 .Va ifconfig_ Ns Aq Ar interface
697 variable is also assumed to exist for each value of
698 .Ar interface .
699 It is also possible to add IP alias entries here in cases where
700 multiple IP addresses registered against a single interface
701 are desired.
702 Assuming that the interface in question was
703 .Li ed0 ,
704 it might look
705 something like this:
706 .Bd -literal
707 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
708 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
709 .Ed
710 .Pp
711 And so on.
712 For each
713 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
714 entry that is found,
715 its contents are passed to
716 .Xr ifconfig 8 .
717 Execution stops at the first unsuccessful access, so if
718 something like this is present:
719 .Bd -literal
720 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
721 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
722 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
723 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
724 .Ed
725 .Pp
726 Then note that alias4 would
727 .Em not
728 be added since the search would
729 stop with the missing alias3 entry.
730 .Pp
731 If the
732 .Pa /etc/start_if. Ns Aq Ar interface
733 file is present, it is read and executed by the
734 .Xr sh 1
735 interpreter
736 before configuring the interface as specified in the
737 .Va ifconfig_ Ns Aq Ar interface
738 and
739 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
740 variables.
741 .Pp
742 It is possible to bring up an interface with DHCP by setting the
743 .Va ifconfig_ Ns Aq Ar interface
744 variable to
745 .Dq Li DHCP .
746 For instance, to initialize the
747 .Li ed0
748 device via DHCP,
749 it is possible to use something like:
750 .Bd -literal
751 ifconfig_ed0="DHCP"
752 .Ed
753 .It Va ipv6_network_interfaces
754 .Pq Vt str
755 This is the IPv6 equivalent of
756 .Va network_interfaces .
757 Instead of setting the ifconfig variables as
758 .Va ifconfig_ Ns Aq Ar interface
759 they should be set as
760 .Va ipv6_ifconfig_ Ns Aq Ar interface .
761 Aliases should be set as
762 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
763 .Va ipv6_prefix_ Ns Aq Ar interface
764 does something.
765 Interfaces that do not have a
766 .Va ipv6_ifconfig_ Ns Aq Ar interface
767 setting will be auto configured by
768 .Xr rtsol 8
769 if the
770 .Va ipv6_gateway_enable
771 is set to
772 .Dq Li NO .
773 Note that the IPv6 networking code does not support the
774 .Pa /etc/start_if. Ns Aq Ar interface
775 files.
776 .It Va ipv6_default_interface
777 .Pq Vt str
778 If not set to
779 .Dq Li NO ,
780 this is the default output interface for scoped addresses.
781 Now this works only for IPv6 link local multicast addresses.
782 .It Va cloned_interfaces
783 .Pq Vt str
784 Set to the list of clonable network interfaces to create on this host.
785 Entries in
786 .Va cloned_interfaces
787 are automatically appended to
788 .Va network_interfaces
789 for configuration.
790 .It Va gif_interfaces
791 .Pq Vt str
792 Set to the list of
793 .Xr gif 4
794 tunnel interfaces to configure on this host.
795 A
796 .Va gifconfig_ Ns Aq Ar interface
797 variable is assumed to exist for each value of
798 .Ar interface .
799 The value of this variable is used to configure the link layer of the
800 tunnel according to the syntax of the
801 .Cm tunnel
802 option to
803 .Xr ifconfig 8 .
804 Additionally, this option ensures that each listed interface is created
805 via the
806 .Cm create
807 option to
808 .Xr ifconfig 8
809 before attempting to configure it.
810 .It Va sppp_interfaces
811 .Pq Vt str
812 Set to the list of
813 .Xr sppp 4
814 interfaces to configure on this host.
815 A
816 .Va spppconfig_ Ns Aq Ar interface
817 variable is assumed to exist for each value of
818 .Ar interface .
819 Each interface should also be configured by a general
820 .Va ifconfig_ Ns Aq Ar interface
821 setting.
822 Refer to
823 .Xr spppcontrol 8
824 for more information about available options.
825 .It Va ppp_enable
826 .Pq Vt bool
827 If set to
828 .Dq Li YES ,
829 run the
830 .Xr ppp 8
831 daemon.
832 .It Va ppp_mode
833 .Pq Vt str
834 Mode in which to run the
835 .Xr ppp 8
836 daemon.
837 Accepted modes are
838 .Dq Li auto ,
839 .Dq Li ddial ,
840 .Dq Li direct
841 and
842 .Dq Li dedicated .
843 See the manual for a full description.
844 .It Va ppp_nat
845 .Pq Vt bool
846 If set to
847 .Dq Li YES ,
848 enables network address translation.
849 Used in conjunction with
850 .Va gateway_enable
851 allows hosts on private network addresses access to the Internet using
852 this host as a network address translating router.
853 .It Va ppp_profile
854 .Pq Vt str
855 The name of the profile to use from
856 .Pa /etc/ppp/ppp.conf .
857 .It Va ppp_user
858 .Pq Vt str
859 The name of the user under which
860 .Xr ppp 8
861 should be started.
862 By
863 default,
864 .Xr ppp 8
865 is started as
866 .Dq Li root .
867 .It Va rc_conf_files
868 .Pq Vt str
869 This option is used to specify a list of files that will override
870 the settings in
871 .Pa /etc/defaults/rc.conf .
872 The files will be read in the order in which they are specified and should
873 include the full path to the file.
874 By default, the files specified are
875 .Pa /etc/rc.conf
876 and
877 .Pa /etc/rc.conf.local
878 .It Va fsck_y_enable
879 .Pq Vt bool
880 If set to
881 .Dq Li YES ,
882 .Xr fsck 8
883 will be run with the
884 .Fl y
885 flag if the initial preen
886 of the file systems fails.
887 .It Va netfs_types
888 .Pq Vt str
889 List of file system types that are network-based.
890 This list should generally not be modified by end users.
891 Use
892 .Va extra_netfs_types
893 instead.
894 .It Va extra_netfs_types
895 .Pq Vt str
896 If set to something other than
897 .Dq Li NO
898 (the default),
899 this variable extends the list of file system types
900 for which automatic mounting at startup by
901 .Xr rc 8
902 should be delayed until the network is initialized.
903 It should contain
904 a whitespace-separated list of network file system descriptor pairs,
905 each consisting of a file system type as passed to
906 .Xr mount 8
907 and a human-readable, one-word description,
908 joined with a colon
909 .Pq Ql \&: .
910 Extending the default list in this way is only necessary
911 when third party file system types are used.
912 .It Va syslogd_enable
913 .Pq Vt bool
914 If set to
915 .Dq Li YES ,
916 run the
917 .Xr syslogd 8
918 daemon.
919 .It Va syslogd_program
920 .Pq Vt str
921 Path to
922 .Xr syslogd 8
923 (default
924 .Pa /usr/sbin/syslogd ) .
925 .It Va syslogd_flags
926 .Pq Vt str
927 If
928 .Va syslogd_enable
929 is set to
930 .Dq Li YES ,
931 these are the flags to pass to
932 .Xr syslogd 8 .
933 .It Va inetd_enable
934 .Pq Vt bool
935 If set to
936 .Dq Li YES ,
937 run the
938 .Xr inetd 8
939 daemon.
940 .It Va inetd_program
941 .Pq Vt str
942 Path to
943 .Xr inetd 8
944 (default
945 .Pa /usr/sbin/inetd ) .
946 .It Va inetd_flags
947 .Pq Vt str
948 If
949 .Va inetd_enable
950 is set to
951 .Dq Li YES ,
952 these are the flags to pass to
953 .Xr inetd 8 .
954 .It Va named_rcng
955 .Pq Vt bool
956 If set to
957 .Dq Li YES
958 use new functionality provided in the
959 .Pa /etc/rc.d/named
960 script to facilitate a
961 .Xr chroot 8
962 instance of
963 .Xr named 8 .
964 This variable is experimental.
965 It may be removed or changed in the near future.
966 .It Va named_enable
967 .Pq Vt bool
968 If set to
969 .Dq Li YES ,
970 run the
971 .Xr named 8
972 daemon.
973 .It Va named_program
974 .Pq Vt str
975 Path to
976 .Xr named 8
977 (default
978 .Pa /usr/sbin/named ) .
979 .It Va named_flags
980 .Pq Vt str
981 If
982 .Va named_enable
983 is set to
984 .Dq Li YES ,
985 these are the flags to pass to
986 .Xr named 8 .
987 .It Va named_pidfile
988 .Pq Vt str
989 This is the default path to the
990 .Xr named 8
991 daemon's PID file.
992 Change it if you change the location in
993 .Xr named.conf 5 .
994 .It Va named_chrootdir
995 .Pq Vt str
996 The root directory for a name server run in a
997 .Xr chroot 8
998 environment.
999 If left empty
1000 .Xr named 8
1001 will not be run in a
1002 .Xr chroot 8
1003 environment.
1004 This variable has no effect if
1005 .Va named_rcng
1006 is not enabled.
1007 This variable is experimental.
1008 It may be removed or changed in the near future.
1009 .It Va named_chroot_autoupdate
1010 .Pq Vt bool
1011 Set to
1012 .Dq Li NO
1013 to disable automatic syncing of libraries and
1014 other system files between the root file system and the
1015 .Xr chroot 8 .
1016 This variable has no effect if
1017 .Va named_rcng
1018 is not enabled.
1019 This variable is experimental.
1020 It may be removed or changed in the near future.
1021 .It Va named_symlink_enable
1022 .Pq Vt bool
1023 Set to
1024 .Dq Li NO
1025 to disable symlinking of
1026 .Va named_pidfile
1027 and
1028 .Pa /var/run/ndc
1029 into the
1030 .Xr chroot 8
1031 environment in which
1032 .Xr named 8
1033 is running.
1034 This variable has no effect if
1035 .Va named_rcng
1036 is not enabled.
1037 This variable is experimental.
1038 It may be removed or changed in the near future.
1039 .It Va kerberos5_server_enable
1040 .Pq Vt bool
1041 Set to
1042 .Dq Li YES
1043 to start a Kerberos 5 authentication server
1044 at boot time.
1045 .It Va kerberos5_server
1046 .Pq Vt str
1047 If
1048 .Va kerberos5_server_enable
1049 is set to
1050 .Dq Li YES
1051 this is the path to Kerberos 5 Authentication Server.
1052 .It Va kadmind5_server_enable
1053 .Pq Vt bool
1054 Set to
1055 .Dq Li YES
1056 to start
1057 .Xr kadmind 8 ,
1058 the Kerberos 5 Administration Daemon; set to
1059 .Dq Li NO
1060 on a slave server.
1061 .It Va kadmind5_server
1062 .Pq Vt str
1063 If
1064 .Va kadmind5_server_enable
1065 is set to
1066 .Dq Li YES
1067 this is the path to Kerberos 5 Administration Daemon.
1068 .It Va kpasswdd_server_enable
1069 .Pq Vt bool
1070 Set to
1071 .Dq Li YES
1072 to start
1073 .Xr kpasswdd 8 ,
1074 the Kerberos 5 Password-Changing Daemon; set to
1075 .Dq Li NO
1076 on a slave server.
1077 .It Va kpasswdd_server
1078 .Pq Vt str
1079 If
1080 .Va kpasswdd_server_enable
1081 is set to
1082 .Dq Li YES
1083 this is the path to Kerberos 5 Password-Changing Daemon.
1084 .It Va rwhod_enable
1085 .Pq Vt bool
1086 If set to
1087 .Dq Li YES ,
1088 run the
1089 .Xr rwhod 8
1090 daemon at boot time.
1091 .It Va rwhod_flags
1092 .Pq Vt str
1093 If
1094 .Va rwhod_enable
1095 is set to
1096 .Dq Li YES ,
1097 these are the flags to pass to it.
1098 .It Va amd_enable
1099 .Pq Vt bool
1100 If set to
1101 .Dq Li YES ,
1102 run the
1103 .Xr amd 8
1104 daemon at boot time.
1105 .It Va amd_flags
1106 .Pq Vt str
1107 If
1108 .Va amd_enable
1109 is set to
1110 .Dq Li YES ,
1111 these are the flags to pass to it.
1112 See the
1113 .Xr amd 8
1114 manpage for more information.
1115 .It Va amd_map_program
1116 .Pq Vt str
1117 If set,
1118 the specified program is run to get the list of
1119 .Xr amd 8
1120 maps.
1121 For example, if the
1122 .Xr amd 8
1123 maps are stored in NIS, one can set this to
1124 run
1125 .Xr ypcat 1
1126 to get a list of
1127 .Xr amd 8
1128 maps from the
1129 .Pa amd.master
1130 NIS map.
1131 .It Va update_motd
1132 .Pq Vt bool
1133 If set to
1134 .Dq Li YES ,
1135 .Pa /etc/motd
1136 will be updated at boot time to reflect the kernel release
1137 being run.
1138 If set to
1139 .Dq Li NO ,
1140 .Pa /etc/motd
1141 will not be updated.
1142 .It Va nfs_client_enable
1143 .Pq Vt bool
1144 If set to
1145 .Dq Li YES ,
1146 run the NFS client daemons at boot time.
1147 .It Va nfs_access_cache
1148 .Pq Vt int
1149 If
1150 .Va nfs_client_enable
1151 is set to
1152 .Dq Li YES ,
1153 this can be set to
1154 .Dq Li 0
1155 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1156 NFS ACCESS
1157 results should be cached.
1158 A value of 2-10 seconds will substantially reduce network
1159 traffic for many NFS operations.
1160 .It Va nfs_server_enable
1161 .Pq Vt bool
1162 If set to
1163 .Dq Li YES ,
1164 run the NFS server daemons at boot time.
1165 .It Va nfs_server_flags
1166 .Pq Vt str
1167 If
1168 .Va nfs_server_enable
1169 is set to
1170 .Dq Li YES ,
1171 these are the flags to pass to the
1172 .Xr nfsd 8
1173 daemon.
1174 .It Va mountd_enable
1175 .Pq Vt bool
1176 If set to
1177 .Dq Li YES ,
1178 and no
1179 .Va nfs_server_enable
1180 is set, start
1181 .Xr mountd 8 ,
1182 but not
1183 .Xr nfsd 8
1184 daemon.
1185 It is commonly needed to run CFS without real NFS used.
1186 .It Va mountd_flags
1187 .Pq Vt str
1188 If
1189 .Va mountd_enable
1190 is set to
1191 .Dq Li YES ,
1192 these are the flags to pass to the
1193 .Xr mountd 8
1194 daemon.
1195 .It Va weak_mountd_authentication
1196 .Pq Vt bool
1197 If set to
1198 .Dq Li YES ,
1199 allow services like PCNFSD to make non-privileged mount
1200 requests.
1201 .It Va nfs_reserved_port_only
1202 .Pq Vt bool
1203 If set to
1204 .Dq Li YES ,
1205 provide NFS services only on a secure port.
1206 .It Va nfs_bufpackets
1207 .Pq Vt int
1208 If set to a number, indicates the number of packets worth of
1209 socket buffer space to reserve on an NFS client.
1210 The kernel default is typically 4.
1211 Using a higher number may be
1212 useful on gigabit networks to improve performance.
1213 The minimum value is
1214 2 and the maximum is 64.
1215 .It Va rpc_umntall_enable
1216 .Pq Vt bool
1217 If set to
1218 .Dq Li YES
1219 (default) and we are also an NFS client, run
1220 .Xr rpc.umntall 8
1221 at boot time to clear out old mounts on remote servers.
1222 If set to
1223 .Dq Li NO
1224 then
1225 .Xr rpc.umntall 8
1226 will not be run at boot time.
1227 .It Va rpc_lockd_enable
1228 .Pq Vt bool
1229 If set to
1230 .Dq Li YES
1231 and also an NFS server, run
1232 .Xr rpc.lockd 8
1233 at boot time.
1234 .It Va rpc_statd_enable
1235 .Pq Vt bool
1236 If set to
1237 .Dq Li YES
1238 and also an NFS server, run
1239 .Xr rpc.statd 8
1240 at boot time.
1241 .It Va rpcbind_program
1242 .Pq Vt str
1243 Path to
1244 .Xr rpcbind 8
1245 (default
1246 .Pa /usr/sbin/rpcbind ) .
1247 .It Va rpcbind_enable
1248 .Pq Vt bool
1249 If set to
1250 .Dq Li YES ,
1251 run the
1252 .Xr rpcbind 8
1253 service at boot time.
1254 .It Va rpcbind_flags
1255 .Pq Vt str
1256 If
1257 .Va rpcbind_enable
1258 is set to
1259 .Dq Li YES ,
1260 these are the flags to pass to the
1261 .Xr rpcbind 8
1262 daemon.
1263 .It Va keyserv_enable
1264 .Pq Vt bool
1265 If set to
1266 .Dq Li YES ,
1267 run the
1268 .Xr keyserv 8
1269 daemon on boot for running Secure RPC.
1270 .It Va keyserv_flags
1271 .Pq Vt str
1272 If
1273 .Va keyserv_enable
1274 is set to
1275 .Dq Li YES ,
1276 these are the flags to pass to
1277 .Xr keyserv 8
1278 daemon.
1279 .It Va pppoed_enable
1280 .Pq Vt bool
1281 If set to
1282 .Dq Li YES ,
1283 run the
1284 .Xr pppoed 8
1285 daemon at boot time to provide PPP over Ethernet services.
1286 .It Va pppoed_ Ns Ar provider
1287 .Pq Vt str
1288 .Xr pppoed 8
1289 listens to requests to this
1290 .Ar provider
1291 and ultimately runs
1292 .Xr ppp 8
1293 with a
1294 .Ar system
1295 argument of the same name.
1296 .It Va pppoed_flags
1297 .Pq Vt str
1298 Additional flags to pass to
1299 .Xr pppoed 8 .
1300 .It Va pppoed_interface
1301 .Pq Vt str
1302 The network interface to run
1303 .Xr pppoed 8
1304 on.
1305 This is mandatory when
1306 .Va pppoed_enable
1307 is set to
1308 .Dq Li YES .
1309 .It Va timed_enable
1310 .Pq Vt bool
1311 If set to
1312 .Dq Li YES ,
1313 run the
1314 .Xr timed 8
1315 service at boot time.
1316 This command is intended for networks of
1317 machines where a consistent
1318 .Dq "network time"
1319 for all hosts must be established.
1320 This is often useful in large NFS
1321 environments where time stamps on files are expected to be consistent
1322 network-wide.
1323 .It Va timed_flags
1324 .Pq Vt str
1325 If
1326 .Va timed_enable
1327 is set to
1328 .Dq Li YES ,
1329 these are the flags to pass to the
1330 .Xr timed 8
1331 service.
1332 .It Va ntpd_enable
1333 .Pq Vt bool
1334 If set to
1335 .Dq Li YES ,
1336 run the
1337 .Xr ntpd 8
1338 command at boot time.
1339 .It Va ntpd_program
1340 .Pq Vt str
1341 Path to
1342 .Xr ntpd 8
1343 (default
1344 .Pa /usr/sbin/ntpd ) .
1345 .It Va ntpd_flags
1346 .Pq Vt str
1347 If
1348 .Va ntpd_enable
1349 is set to
1350 .Dq Li YES ,
1351 these are the flags to pass to the
1352 .Xr ntpd 8
1353 daemon.
1354 .It Va nis_client_enable
1355 .Pq Vt bool
1356 If set to
1357 .Dq Li YES ,
1358 run the
1359 .Xr ypbind 8
1360 service at system boot time.
1361 .It Va nis_client_flags
1362 .Pq Vt str
1363 If
1364 .Va nis_client_enable
1365 is set to
1366 .Dq Li YES ,
1367 these are the flags to pass to the
1368 .Xr ypbind 8
1369 service.
1370 .It Va nis_ypset_enable
1371 .Pq Vt bool
1372 If set to
1373 .Dq Li YES ,
1374 run the
1375 .Xr ypset 8
1376 daemon at system boot time.
1377 .It Va nis_ypset_flags
1378 .Pq Vt str
1379 If
1380 .Va nis_ypset_enable
1381 is set to
1382 .Dq Li YES ,
1383 these are the flags to pass to the
1384 .Xr ypset 8
1385 daemon.
1386 .It Va nis_server_enable
1387 .Pq Vt bool
1388 If set to
1389 .Dq Li YES ,
1390 run the
1391 .Xr ypserv 8
1392 daemon at system boot time.
1393 .It Va nis_server_flags
1394 .Pq Vt str
1395 If
1396 .Va nis_server_enable
1397 is set to
1398 .Dq Li YES ,
1399 these are the flags to pass to the
1400 .Xr ypserv 8
1401 daemon.
1402 .It Va nis_ypxfrd_enable
1403 .Pq Vt bool
1404 If set to
1405 .Dq Li YES ,
1406 run the
1407 .Xr rpc.ypxfrd 8
1408 daemon at system boot time.
1409 .It Va nis_ypxfrd_flags
1410 .Pq Vt str
1411 If
1412 .Va nis_ypxfrd_enable
1413 is set to
1414 .Dq Li YES ,
1415 these are the flags to pass to the
1416 .Xr rpc.ypxfrd 8
1417 daemon.
1418 .It Va nis_yppasswdd_enable
1419 .Pq Vt bool
1420 If set to
1421 .Dq Li YES ,
1422 run the
1423 .Xr rpc.yppasswdd 8
1424 daemon at system boot time.
1425 .It Va nis_yppasswdd_flags
1426 .Pq Vt str
1427 If
1428 .Va nis_yppasswdd_enable
1429 is set to
1430 .Dq Li YES ,
1431 these are the flags to pass to the
1432 .Xr rpc.yppasswdd 8
1433 daemon.
1434 .It Va rpc_ypupdated_enable
1435 .Pq Vt bool
1436 If set to
1437 .Dq Li YES ,
1438 run the
1439 .Nm rpc.ypupdated
1440 daemon at system boot time.
1441 .It Va defaultrouter
1442 .Pq Vt str
1443 If not set to
1444 .Dq Li NO ,
1445 create a default route to this host name or IP address
1446 (use an IP address if this router is also required to get to the
1447 name server!).
1448 .It Va ipv6_defaultrouter
1449 .Pq Vt str
1450 The IPv6 equivalent of
1451 .Va defaultrouter .
1452 .It Va static_routes
1453 .Pq Vt str
1454 Set to the list of static routes that are to be added at system
1455 boot time.
1456 If not set to
1457 .Dq Li NO
1458 then for each whitespace separated
1459 .Ar element
1460 in the value, a
1461 .Va route_ Ns Aq Ar element
1462 variable is assumed to exist
1463 whose contents will later be passed to a
1464 .Dq Nm route Cm add
1465 operation.
1466 .It Va ipv6_static_routes
1467 .Pq Vt str
1468 The IPv6 equivalent of
1469 .Va static_routes .
1470 If not set to
1471 .Dq Li NO
1472 then for each whitespace separated
1473 .Ar element
1474 in the value, a
1475 .Va ipv6_route_ Ns Aq Ar element
1476 variable is assumed to exist
1477 whose contents will later be passed to a
1478 .Dq Nm route Cm add Fl inet6
1479 operation.
1480 .It Va gateway_enable
1481 .Pq Vt bool
1482 If set to
1483 .Dq Li YES ,
1484 configure host to act as an IP router, e.g. to forward packets
1485 between interfaces.
1486 .It Va ipv6_gateway_enable
1487 .Pq Vt bool
1488 The IPv6 equivalent of
1489 .Va gateway_enable .
1490 .It Va router_enable
1491 .Pq Vt bool
1492 If set to
1493 .Dq Li YES ,
1494 run a routing daemon of some sort, based on the
1495 settings of
1496 .Va router
1497 and
1498 .Va router_flags .
1499 .It Va ipv6_router_enable
1500 .Pq Vt bool
1501 The IPv6 equivalent of
1502 .Va router_enable .
1503 If set to
1504 .Dq Li YES ,
1505 run a routing daemon of some sort, based on the
1506 settings of
1507 .Va ipv6_router
1508 and
1509 .Va ipv6_router_flags .
1510 .It Va router
1511 .Pq Vt str
1512 If
1513 .Va router_enable
1514 is set to
1515 .Dq Li YES ,
1516 this is the name of the routing daemon to use.
1517 .It Va ipv6_router
1518 .Pq Vt str
1519 The IPv6 equivalent of
1520 .Va router .
1521 .It Va router_flags
1522 .Pq Vt str
1523 If
1524 .Va router_enable
1525 is set to
1526 .Dq Li YES ,
1527 these are the flags to pass to the routing daemon.
1528 .It Va ipv6_router_flags
1529 .Pq Vt str
1530 The IPv6 equivalent of
1531 .Va router_flags .
1532 .It Va mrouted_enable
1533 .Pq Vt bool
1534 If set to
1535 .Dq Li YES ,
1536 run the multicast routing daemon,
1537 .Xr mrouted 8 .
1538 .It Va mroute6d_enable
1539 .Pq Vt bool
1540 The IPv6 equivalent of
1541 .Va mrouted_enable .
1542 If set to
1543 .Dq Li YES ,
1544 run the IPv6 multicast routing daemon.
1545 Note that no IPv6 multicast routing daemon is included in the
1546 .Dx
1547 base system but
1548 .Xr pim6dd 8
1549 can be installed from the
1550 .Fx
1551 Ports Collection.
1552 .It Va mrouted_flags
1553 .Pq Vt str
1554 If
1555 .Va mrouted_enable
1556 is set to
1557 .Dq Li YES ,
1558 these are the flags to pass to the
1559 .Xr mrouted 8
1560 daemon.
1561 .It Va mroute6d_flags
1562 .Pq Vt str
1563 The IPv6 equivalent of
1564 .Va mrouted_flags .
1565 If
1566 .Va mroute6d_enable
1567 is set to
1568 .Dq Li YES ,
1569 these are the flags passed to the IPv6 multicast routing daemon.
1570 .It Va mroute6d_program
1571 .Pq Vt str
1572 If
1573 .Va mroute6d_enable
1574 is set to
1575 .Dq Li YES ,
1576 this is the path to the IPv6 multicast routing daemon.
1577 .It Va rtadvd_enable
1578 .Pq Vt bool
1579 If set to
1580 .Dq Li YES ,
1581 run the
1582 .Xr rtadvd 8
1583 daemon at boot time.
1584 .Xr rtadvd 8
1585 will only run if
1586 .Va ipv6_gateway_enable
1587 is also set to
1588 .Dq Li YES .
1589 The
1590 .Xr rtadvd 8
1591 utility sends router advertisement packets to the interfaces specified in
1592 .Va rtadvd_interfaces .
1593 .Xr rtadvd 8
1594 and should only be enabled with great care.
1595 You may want to fine-tune
1596 .Xr rtadvd.conf 5 .
1597 .It Va rtadvd_interfaces
1598 .Pq Vt str
1599 If
1600 .Va rtadvd_enable
1601 is set to
1602 .Dq Li YES
1603 this is the list of interfaces to use.
1604 .It Va ipxgateway_enable
1605 .Pq Vt bool
1606 If set to
1607 .Dq Li YES ,
1608 enable the routing of IPX traffic.
1609 .It Va ipxrouted_enable
1610 .Pq Vt bool
1611 If set to
1612 .Dq Li YES ,
1613 run the
1614 .Xr IPXrouted 8
1615 daemon at system boot time.
1616 .It Va ipxrouted_flags
1617 .Pq Vt str
1618 If
1619 .Va ipxrouted_enable
1620 is set to
1621 .Dq Li YES ,
1622 these are the flags to pass to the
1623 .Xr IPXrouted 8
1624 daemon.
1625 .It Va arpproxy_all
1626 .Pq Vt bool
1627 If set to
1628 .Dq Li YES ,
1629 enable global proxy ARP.
1630 .It Va forward_sourceroute
1631 .Pq Vt bool
1632 If set to
1633 .Dq Li YES
1634 and
1635 .Va gateway_enable
1636 is also set to
1637 .Dq Li YES ,
1638 source-routed packets are forwarded.
1639 .It Va accept_sourceroute
1640 .Pq Vt bool
1641 If set to
1642 .Dq Li YES ,
1643 the system will accept source-routed packets directed at it.
1644 .It Va rarpd_enable
1645 .Pq Vt bool
1646 If set to
1647 .Dq Li YES ,
1648 run the
1649 .Xr rarpd 8
1650 daemon at system boot time.
1651 .It Va rarpd_flags
1652 .Pq Vt str
1653 If
1654 .Va rarpd_enable
1655 is set to
1656 .Dq Li YES ,
1657 these are the flags to pass to the
1658 .Xr rarpd 8
1659 daemon.
1660 .It Va bootparamd_enable
1661 .Pq Vt bool
1662 If set to
1663 .Dq Li YES ,
1664 run the
1665 .Xr bootparamd 8
1666 daemon at system boot time.
1667 .It Va bootparamd_flags
1668 .Pq Vt str
1669 If
1670 .Va bootparamd_enable
1671 is set to
1672 .Dq Li YES ,
1673 these are the flags to pass to the
1674 .Xr bootparamd 8
1675 daemon.
1676 .It Va stf_interface_ipv4addr
1677 .Pq Vt str
1678 If not set to
1679 .Dq Li NO ,
1680 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
1681 interface).
1682 Specify this entry to enable the 6to4 interface.
1683 .It Va stf_interface_ipv4plen
1684 .Pq Vt int
1685 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
1686 An effective value is 0-31.
1687 .It Va stf_interface_ipv6_ifid
1688 .Pq Vt str
1689 IPv6 interface ID for
1690 .Xr stf 4 .
1691 This can be set to
1692 .Dq Li AUTO .
1693 .It Va stf_interface_ipv6_slaid
1694 .Pq Vt str
1695 IPv6 Site Level Aggregator for
1696 .Xr stf 4 .
1697 .It Va ipv6_faith_prefix
1698 .Pq Vt str
1699 If not set to
1700 .Dq Li NO ,
1701 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
1702 translator.
1703 You also need
1704 .Xr faithd 8
1705 setup.
1706 .It Va ipv6_ipv4mapping
1707 .Pq Vt bool
1708 If set to
1709 .Dq Li YES
1710 this enables IPv4 mapped IPv6 address communication (like
1711 .Li ::ffff:a.b.c.d ) .
1712 .It Va atm_enable
1713 .Pq Vt bool
1714 Set to
1715 .Dq Li YES
1716 to enable the configuration of ATM interfaces at system boot time.
1717 For all of the ATM variables described below, please refer to the
1718 .Xr atm 8
1719 man page for further details on the available command parameters.
1720 Also refer to the files in
1721 .Pa /usr/share/examples/atm
1722 for more detailed configuration information.
1723 .It Va atm_load
1724 .Pq Vt str
1725 This is a list of physical ATM interface drivers to load. Typical values are
1726 .Dq Li hfa_pci
1727 and/or
1728 .Dq Li hea_pci .
1729 .It Va atm_netif_ Ns Aq Ar intf
1730 .Pq Vt str
1731 For the ATM physical interface
1732 .Ar intf ,
1733 this variable defines the name prefix and count for the ATM network
1734 interfaces to be created.
1735 The value will be passed as the parameters of an
1736 .Dq Nm atm Cm "set netif" Ar intf
1737 command.
1738 .It Va atm_sigmgr_ Ns Aq Ar intf
1739 .Pq Vt str
1740 For the ATM physical interface
1741 .Ar intf ,
1742 this variable defines the ATM signalling manager to be used.
1743 The value will be passed as the parameters of an
1744 .Dq Nm atm Cm attach Ar intf
1745 command.
1746 .It Va atm_prefix_ Ns Aq Ar intf
1747 .Pq Vt str
1748 For the ATM physical interface
1749 .Ar intf ,
1750 this variable defines the NSAP prefix for interfaces using a UNI signalling
1751 manager.
1752 If set to
1753 .Dq Li ILMI ,
1754 the prefix will automatically be set via the
1755 .Xr ilmid 8
1756 daemon.
1757 Otherwise, the value will be passed as the parameters of an
1758 .Dq Nm atm Cm "set prefix" Ar intf
1759 command.
1760 .It Va atm_macaddr_ Ns Aq Ar intf
1761 .Pq Vt str
1762 For the ATM physical interface
1763 .Ar intf ,
1764 this variable defines the MAC address for interfaces using a UNI signalling
1765 manager.
1766 If set to
1767 .Dq Li NO ,
1768 the hardware MAC address contained in the ATM interface card will be used.
1769 Otherwise, the value will be passed as the parameters of an
1770 .Dq Nm atm Cm "set mac" Ar intf
1771 command.
1772 .It Va atm_arpserver_ Ns Aq Ar netif
1773 .Pq Vt str
1774 For the ATM network interface
1775 .Ar netif ,
1776 this variable defines the ATM address for a host which is to provide ATMARP
1777 service.
1778 This variable is only applicable to interfaces using a UNI signalling
1779 manager.
1780 If set to
1781 .Dq Li local ,
1782 this host will become an ATMARP server.
1783 The value will be passed as the parameters of an
1784 .Dq Nm atm Cm "set arpserver" Ar netif
1785 command.
1786 .It Va atm_scsparp_ Ns Aq Ar netif
1787 .Pq Vt bool
1788 If set to
1789 .Dq Li YES ,
1790 SCSP/ATMARP service for the network interface
1791 .Ar netif
1792 will be initiated using the
1793 .Xr scspd 8
1794 and
1795 .Xr atmarpd 8
1796 daemons.
1797 This variable is only applicable if
1798 .Va atm_arpserver_ Ns Aq Ar netif
1799 is set to
1800 .Dq Li local .
1801 .It Va atm_pvcs
1802 .Pq Vt str
1803 Set to the list of ATM PVCs to be added at system
1804 boot time.
1805 For each whitespace separated
1806 .Ar element
1807 in the value, an
1808 .Va atm_pvc_ Ns Aq Ar element
1809 variable is assumed to exist.
1810 The value of each of these variables
1811 will be passed as the parameters of an
1812 .Dq Nm atm Cm "add pvc"
1813 command.
1814 .It Va atm_arps
1815 .Pq Vt str
1816 Set to the list of permanent ATM ARP entries to be added
1817 at system boot time.
1818 For each whitespace separated
1819 .Ar element
1820 in the value, an
1821 .Va atm_arp_ Ns Aq Ar element
1822 variable is assumed to exist.
1823 The value of each of these variables
1824 will be passed as the parameters of an
1825 .Dq Nm atm Cm "add arp"
1826 command.
1827 .It Va natm_interfaces
1828 .Pq Vt str
1829 Set to the list of
1830 .Xr natm 4
1831 interfaces that will also be used for HARP through
1832 .Xr harp 4 .
1833 If this list is not empty all interfaces in the list will be brought up
1834 with
1835 .Xr ifconfig 9
1836 and
1837 .Xr harp 4
1838 will be loaded.
1839 For this to work the interface drivers must be either compiled into the
1840 kernel or must reside on the root partition.
1841 .It Va keybell
1842 .Pq Vt str
1843 The keyboard bell sound.
1844 Set to
1845 .Dq Li normal ,
1846 .Dq Li visual ,
1847 .Dq Li off ,
1848 or
1849 .Dq Li NO
1850 if the default behavior is desired.
1851 For details, refer to the
1852 .Xr kbdcontrol 1
1853 manpage.
1854 .It Va keymap
1855 .Pq Vt str
1856 If set to
1857 .Dq Li NO ,
1858 no keymap is installed, otherwise the value is used to install
1859 the keymap file in
1860 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
1861 .It Va keyrate
1862 .Pq Vt str
1863 The keyboard repeat speed.
1864 Set to
1865 .Dq Li slow ,
1866 .Dq Li normal ,
1867 .Dq Li fast ,
1868 or
1869 .Dq Li NO
1870 if the default behavior is desired.
1871 .It Va keychange
1872 .Pq Vt str
1873 If not set to
1874 .Dq Li NO ,
1875 attempt to program the function keys with the value.
1876 The value should
1877 be a single string of the form:
1878 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
1879 .It Va cursor
1880 .Pq Vt str
1881 Can be set to the value of
1882 .Dq Li normal ,
1883 .Dq Li blink ,
1884 .Dq Li destructive ,
1885 or
1886 .Dq Li NO
1887 to set the cursor behavior explicitly or choose the default behavior.
1888 .It Va scrnmap
1889 .Pq Vt str
1890 If set to
1891 .Dq Li NO ,
1892 no screen map is installed, otherwise the value is used to install
1893 the screen map file in
1894 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
1895 .It Va font8x16
1896 .Pq Vt str
1897 If set to
1898 .Dq Li NO ,
1899 the default 8x16 font value is used for screen size requests, otherwise
1900 the value in
1901 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1902 is used.
1903 .It Va font8x14
1904 .Pq Vt str
1905 If set to
1906 .Dq Li NO ,
1907 the default 8x14 font value is used for screen size requests, otherwise
1908 the value in
1909 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1910 is used.
1911 .It Va font8x8
1912 .Pq Vt str
1913 If set to
1914 .Dq Li NO ,
1915 the default 8x8 font value is used for screen size requests, otherwise
1916 the value in
1917 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1918 is used.
1919 .It Va blanktime
1920 .Pq Vt int
1921 If set to
1922 .Dq Li NO ,
1923 the default screen blanking interval is used, otherwise it is set
1924 to
1925 .Ar value
1926 seconds.
1927 .It Va saver
1928 .Pq Vt str
1929 If not set to
1930 .Dq Li NO ,
1931 this is the actual screen saver to use
1932 .Li ( blank , snake , daemon ,
1933 etc).
1934 .It Va moused_enable
1935 .Pq Vt str
1936 If set to
1937 .Dq Li YES ,
1938 the
1939 .Xr moused 8
1940 daemon is started for doing cut/paste selection on the console.
1941 .It Va moused_type
1942 .Pq Vt str
1943 This is the protocol type of the mouse connected to this host.
1944 This variable must be set if
1945 .Va moused_enable
1946 is set to
1947 .Dq Li YES .
1948 The
1949 .Xr moused 8
1950 daemon
1951 is able to detect the appropriate mouse type automatically in many cases.
1952 Set this variable to
1953 .Dq Li auto
1954 to let the daemon detect it, or
1955 select one from the following list if the automatic detection fails.
1956 .Pp
1957 If the mouse is attached to the PS/2 mouse port, choose
1958 .Dq Li auto
1959 or
1960 .Dq Li ps/2 ,
1961 regardless of the brand and model of the mouse.
1962 Likewise, if the
1963 mouse is attached to the bus mouse port, choose
1964 .Dq Li auto
1965 or
1966 .Dq Li busmouse .
1967 All other protocols are for serial mice and will not work with
1968 the PS/2 and bus mice.
1969 If this is a USB mouse,
1970 .Dq Li auto
1971 is the only protocol type which will work.
1972 .Pp
1973 .Bl -tag -width ".Li x10mouseremote" -compact
1974 .It Li microsoft
1975 Microsoft mouse (serial)
1976 .It Li intellimouse
1977 Microsoft IntelliMouse (serial)
1978 .It Li mousesystems
1979 Mouse systems Corp. mouse (serial)
1980 .It Li mmseries
1981 MM Series mouse (serial)
1982 .It Li logitech
1983 Logitech mouse (serial)
1984 .It Li busmouse
1985 A bus mouse
1986 .It Li mouseman
1987 Logitech MouseMan and TrackMan (serial)
1988 .It Li glidepoint
1989 ALPS GlidePoint (serial)
1990 .It Li thinkingmouse
1991 Kensington ThinkingMouse (serial)
1992 .It Li ps/2
1993 PS/2 mouse
1994 .It Li mmhittab
1995 MM HitTablet (serial)
1996 .It Li x10mouseremote
1997 X10 MouseRemote (serial)
1998 .It Li versapad
1999 Interlink VersaPad (serial)
2000 .El
2001 .Pp
2002 Even if the mouse is not in the above list, it may be compatible
2003 with one in the list.
2004 Refer to the man page for
2005 .Xr moused 8
2006 for compatibility information.
2007 .Pp
2008 It should also be noted that while this is enabled, any
2009 other client of the mouse (such as an X server) should access
2010 the mouse through the virtual mouse device,
2011 .Pa /dev/sysmouse ,
2012 and configure it as a
2013 .Dq Li sysmouse
2014 type mouse, since all
2015 mouse data is converted to this single canonical format when
2016 using
2017 .Xr moused 8 .
2018 If the client program does not support the
2019 .Dq Li sysmouse
2020 type,
2021 specify the
2022 .Dq Li mousesystems
2023 type.
2024 It is the second preferred type.
2025 .It Va moused_port
2026 .Pq Vt str
2027 If
2028 .Va moused_enable
2029 is set to
2030 .Dq Li YES ,
2031 this is the actual port the mouse is on.
2032 It might be
2033 .Pa /dev/cuaa0
2034 for a COM1 serial mouse,
2035 .Pa /dev/psm0
2036 for a PS/2 mouse or
2037 .Pa /dev/mse0
2038 for a bus mouse, for example.
2039 .It Va moused_flags
2040 .Pq Vt str
2041 If
2042 .Va moused_type
2043 is set, these are the additional flags to pass to the
2044 .Xr moused 8
2045 daemon.
2046 .It Va mousechar_start
2047 .Pq Vt int
2048 If set to
2049 .Dq Li NO ,
2050 the default mouse cursor character range
2051 .Li 0xd0 Ns - Ns Li 0xd3
2052 is used,
2053 otherwise the range start is set
2054 to
2055 .Ar value
2056 character, see
2057 .Xr vidcontrol 1 .
2058 Use if the default range is occupied in the language code table.
2059 .It Va allscreens_flags
2060 .Pq Vt str
2061 If set,
2062 .Xr vidcontrol 1
2063 is run with these options for each of the virtual terminals
2064 .Pq Pa /dev/ttyv* .
2065 For example,
2066 .Dq Fl m Cm on
2067 will enable the mouse pointer on all virtual terminals
2068 if
2069 .Va moused_enable
2070 is set to
2071 .Dq Li YES .
2072 .It Va allscreens_kbdflags
2073 .Pq Vt str
2074 If set,
2075 .Xr kbdcontrol 1
2076 is run with these options for each of the virtual terminals
2077 .Pq Pa /dev/ttyv* .
2078 For example,
2079 .Dq Fl h Li 200
2080 will set the
2081 .Xr syscons 4
2082 scrollback (history) buffer to 200 lines.
2083 .It Va cron_enable
2084 .Pq Vt bool
2085 If set to
2086 .Dq Li YES ,
2087 run the
2088 .Xr cron 8
2089 daemon at system boot time.
2090 .It Va cron_program
2091 .Pq Vt str
2092 Path to
2093 .Xr cron 8
2094 (default
2095 .Pa /usr/sbin/cron ) .
2096 .It Va cron_flags
2097 .Pq Vt str
2098 If
2099 .Va cron_enable
2100 is set to
2101 .Dq Li YES ,
2102 these are the flags to pass to
2103 .Xr cron 8 .
2104 .It Va lpd_program
2105 .Pq Vt str
2106 Path to
2107 .Xr lpd 8
2108 (default
2109 .Pa /usr/sbin/lpd ) .
2110 .It Va lpd_enable
2111 .Pq Vt bool
2112 If set to
2113 .Dq Li YES ,
2114 run the
2115 .Xr lpd 8
2116 daemon at system boot time.
2117 .It Va lpd_flags
2118 .Pq Vt str
2119 If
2120 .Va lpd_enable
2121 is set to
2122 .Dq Li YES ,
2123 these are the flags to pass to the
2124 .Xr lpd 8
2125 daemon.
2126 .It Va mta_start_script
2127 .Pq Vt str
2128 This variable specifies the full path to the script to run to start
2129 a mail transfer agent.
2130 The default is
2131 .Pa /etc/rc.sendmail .
2132 The
2133 .Va sendmail_*
2134 variables which
2135 .Pa /etc/rc.sendmail
2136 uses are documented in the
2137 .Xr rc.sendmail 8
2138 man page.
2139 .It Va dumpdev
2140 .Pq Vt str
2141 Indicates the device (usually a swap partition) to which a crash dump
2142 should be written in the event of a system crash.
2143 The value of this variable is passed as the argument to
2144 .Xr dumpon 8 .
2145 To disable crash dumps, set this variable to
2146 .Dq Li NO .
2147 .It Va dumpdir
2148 .Pq Vt str
2149 When the system reboots after a crash and a crash dump is found on the
2150 device specified by the
2151 .Va dumpdev
2152 variable,
2153 .Xr savecore 8
2154 will save that crash dump and a copy of the kernel to the directory
2155 specified by the
2156 .Va dumpdir
2157 variable.
2158 The default value is
2159 .Pa /var/crash .
2160 Set to
2161 .Dq Li NO
2162 to not run
2163 .Xr savecore 8
2164 at boot time when
2165 .Va dumpdir
2166 is set.
2167 .It Va savecore_flags
2168 .Pq Vt str
2169 If crash dumps are enabled, these are the flags to pass to the
2170 .Xr savecore 8
2171 utility.
2172 .It Va enable_quotas
2173 .Pq Vt bool
2174 Set to
2175 .Dq Li YES
2176 to turn on user disk quotas on system startup via the
2177 .Xr quotaon 8
2178 command.
2179 .It Va check_quotas
2180 .Pq Vt bool
2181 Set to
2182 .Dq Li YES
2183 to enable user disk quota checking via the
2184 .Xr quotacheck 8
2185 command.
2186 .It Va accounting_enable
2187 .Pq Vt bool
2188 Set to
2189 .Dq Li YES
2190 to enable system accounting through the
2191 .Xr accton 8
2192 facility.
2193 .It Va ibcs2_enable
2194 .Pq Vt bool
2195 Set to
2196 .Dq Li YES
2197 to enable iBCS2 (SCO) binary emulation at system initial boot
2198 time.
2199 .It Va ibcs2_loaders
2200 .Pq Vt str
2201 If not set to
2202 .Dq Li NO
2203 and if
2204 .Va ibcs2_enable
2205 is set to
2206 .Dq Li YES ,
2207 this specifies a list of additional iBCS2 loaders to enable.
2208 .It Va linux_enable
2209 .Pq Vt bool
2210 Set to
2211 .Dq Li YES
2212 to enable Linux/ELF binary emulation at system initial
2213 boot time.
2214 .It Va osf1_enable
2215 .Pq Vt bool
2216 Set to
2217 .Dq Li YES
2218 to enable OSF/1 (Digital UNIX) binary emulation at system
2219 initial boot time.
2220 (alpha)
2221 .It Va svr4_enable
2222 .Pq Vt bool
2223 If set to
2224 .Dq Li YES ,
2225 enable SysVR4 emulation at boot time.
2226 .It Va sysvipc_enable
2227 .Pq Vt bool
2228 If set to
2229 .Dq Li YES ,
2230 load System V IPC primitives at boot time.
2231 .It Va clear_tmp_enable
2232 .Pq Vt bool
2233 Set to
2234 .Dq Li YES
2235 to have
2236 .Pa /tmp
2237 cleaned at startup.
2238 .It Va ldconfig_paths
2239 .Pq Vt str
2240 Set to the list of shared library paths to use with
2241 .Xr ldconfig 8 .
2242 NOTE:
2243 .Pa /usr/lib
2244 will always be added first, so it need not appear in this list.
2245 .It Va ldconfig_paths_aout
2246 .Pq Vt str
2247 Set to the list of shared library paths to use with
2248 .Xr ldconfig 8
2249 legacy
2250 .Xr a.out 5
2251 support.
2252 .It Va ldconfig_insecure
2253 .Pq Vt bool
2254 The
2255 .Xr ldconfig 8
2256 utility normally refuses to use directories
2257 which are writable by anyone except root.
2258 Set this variable to
2259 .Dq Li YES
2260 to disable that security check during system startup.
2261 .It Va kern_securelevel_enable
2262 .Pq Vt bool
2263 Set to
2264 .Dq Li YES
2265 to set the kernel security level at system startup.
2266 .It Va kern_securelevel
2267 .Pq Vt int
2268 The kernel security level to set at startup.
2269 The allowed range of
2270 .Ar value
2271 ranges from \-1 (the compile time default) to 3 (the
2272 most secure).
2273 See
2274 .Xr init 8
2275 for the list of possible security levels and their effect
2276 on system operation.
2277 .It Va lomac_enable
2278 .Pq Vt bool
2279 Set to
2280 .Dq Li YES
2281 to enable Low Watermark Mandatory Access Control (LOMAC) at boot time.
2282 This security model enforces integrity constraints for system processes;
2283 see
2284 .Xr lomac 4
2285 for a complete description of the LOMAC model, as well as its impact
2286 on system operation.
2287 .It Va start_vinum
2288 .Pq Vt bool
2289 Set to
2290 .Dq Li YES
2291 to start
2292 .Xr vinum 8
2293 at system boot time.
2294 .It Va sshd_program
2295 .Pq Vt str
2296 Path to the SSH server program
2297 .Pa ( /usr/sbin/sshd
2298 is the default).
2299 .It Va sshd_enable
2300 .Pq Vt bool
2301 Set to
2302 .Dq Li YES
2303 to start
2304 .Xr sshd 8
2305 at system boot time.
2306 .It Va sshd_flags
2307 .Pq Vt str
2308 If
2309 .Va sshd_enable
2310 is set to
2311 .Dq Li YES ,
2312 these are the flags to pass to the
2313 .Xr sshd 8
2314 daemon.
2315 .It Va usbd_enable
2316 .Pq Vt bool
2317 If set to
2318 .Dq Li YES ,
2319 run the
2320 .Xr usbd 8
2321 daemon at boot time.
2322 .It Va usbd_flags
2323 .Pq Vt str
2324 If
2325 .Va usbd_enable
2326 is set to
2327 .Dq Li YES ,
2328 these are the flags passed to
2329 .Xr usbd 8
2330 daemon.
2331 .It Va watchdogd_enable
2332 .Pq Vt bool
2333 If set to
2334 .Dq Li YES ,
2335 start the
2336 .Xr watchdogd 8
2337 daemon at boot time.
2338 This requires that the kernel have been compiled with
2339 .Cd "options WATCHDOG" .
2340 .It Va jail_enable
2341 .Pq Vt bool
2342 If set to
2343 .Dq Li NO ,
2344 any configured jails will not be started.
2345 .It Va jail_list
2346 .Pq Vt str
2347 A space separated list of names for jails.
2348 This is purely a configuration aid to help identify and
2349 configure multiple jails.
2350 The names specified in this list will be used to
2351 identify settings common to an instance of a jail.
2352 Assuming that the jail in question was named
2353 .Li vjail ,
2354 you would have the following dependant variables:
2355 .Bd -literal
2356 jail_vjail_hostname="jail.example.com"
2357 jail_vjail_ip="192.168.1.100"
2358 jail_vjail_rootdir="/var/jails/vjail/root"
2359 jail_vjail_exec="/bin/sh /etc/rc"
2360 .Ed
2361 .Pp
2362 The last one is optional.
2363 It defaults to
2364 .Pa /etc/rc
2365 if it is not set.
2366 .It Va jail_set_hostname_allow
2367 .Pq Vt bool
2368 If set to
2369 .Dq Li NO ,
2370 do not allow the root user in a jail to set its hostname.
2371 .It Va jail_socket_unixiproute_only
2372 .Pq Vt bool
2373 If set to
2374 .Dq Li NO ,
2375 do not allow any protocol,
2376 besides TCP/IP,
2377 to be used within a jail.
2378 .It Va jail_sysvipc_allow
2379 .Pq Vt bool
2380 If set to
2381 .Dq Li YES ,
2382 allow applications within a jail to use System V IPC.
2383 .It Va unaligned_print
2384 .Pq Vt bool
2385 If set to
2386 .Dq Li NO ,
2387 unaligned access warnings will not be printed.
2388 (alpha)
2389 .\" ----- isdn settings ---------------------------------
2390 .It Va isdn_enable
2391 .Pq Vt bool
2392 Set to
2393 .Dq Li NO
2394 by default.
2395 When set to
2396 .Dq Li YES ,
2397 starts the
2398 .Xr isdnd 8
2399 daemon
2400 at system boot time.
2401 .It Va isdn_flags
2402 .Pq Vt str
2403 Set to
2404 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
2405 by default.
2406 Additional flags to pass to
2407 .Xr isdnd 8
2408 (but see
2409 .Va isdn_fsdev
2410 and
2411 .Va isdn_ttype
2412 for certain tunable parameters).
2413 .It Va isdn_ttype
2414 .Pq Vt str
2415 Set to
2416 .Dq Li cons25
2417 by default.
2418 The terminal type of the output device when
2419 .Xr isdnd 8
2420 operates in full-screen mode.
2421 .It Va isdn_screenflags
2422 .Pq Vt str
2423 Set to
2424 .Dq Li NO
2425 by default.
2426 The video mode for full-screen mode (only for
2427 .Xr syscons 4
2428 console driver, see
2429 .Xr vidcontrol 1
2430 for valid modes).
2431 .It Va isdn_fsdev
2432 .Pq Vt str
2433 Set to
2434 .Dq Li NO
2435 by default.
2436 The output device for
2437 .Xr isdnd 8
2438 in full-screen mode (or
2439 .Dq Li NO
2440 for daemon mode).
2441 .It Va isdn_trace
2442 .Pq Vt bool
2443 Set to
2444 .Dq Li NO
2445 by default.
2446 When set to
2447 .Dq Li YES ,
2448 enables the ISDN protocol trace utility
2449 .Xr isdntrace 8
2450 at system boot time.
2451 .It Va isdn_traceflags
2452 .Pq Vt str
2453 Set to
2454 .Dq Fl f Pa /var/tmp/isdntrace0
2455 by default.
2456 Flags for
2457 .Xr isdntrace 8 .
2458 .\" -----------------------------------------------------
2459 .It Va pcvt_verbose
2460 .Pq Vt bool
2461 Set to
2462 .Dq Li NO
2463 by default.
2464 When set to
2465 .Dq Li YES ,
2466 verbose messages about the actions done by the start script are displayed.
2467 .Em Note :
2468 the
2469 .Xr pcvt 4
2470 driver must be compiled into the kernel before the
2471 .Xr pcvt 4
2472 related
2473 options described here take any effect.
2474 .It Va pcvt_keymap
2475 .Pq Vt str
2476 Set to
2477 .Dq Li NO
2478 by default.
2479 Use this to configure a national keyboard mapping found in the
2480 .Pa /usr/share/misc/keycap.pcvt
2481 file of keyboard mappings.
2482 (See also the manual pages
2483 .Xr keycap 5
2484 and
2485 .Xr keycap 3
2486 for usage of
2487 .Xr pcvt 4 Ns 's
2488 keycap database and the manual page
2489 .Xr kcon 1
2490 option
2491 .Fl m
2492 for national keyboard mapping configuration.)
2493 .It Va pcvt_keydel
2494 .Pq Vt int
2495 Set to
2496 .Dq Li NO
2497 by default.
2498 Used to set the keyboard key repeat delay value.
2499 Valid values are
2500 in the range 0..3 for delay values of 250, 500, 750 and 1000 msec.
2501 (See also the
2502 .Xr kcon 1
2503 manual page.)
2504 .It Va pcvt_keyrate
2505 .Pq Vt int
2506 Set to
2507 .Dq Li NO
2508 by default.
2509 Used to set the keyboard key repetition rate value.
2510 Valid values are
2511 in the range 0..31 for repetition values of 2..30 characters per second.
2512 .It Va pcvt_keyrepeat
2513 .Pq Vt bool
2514 Set to
2515 .Dq Li NO
2516 by default.
2517 Set to
2518 .Dq Li YES
2519 to enable automatic keyboard key repeating.
2520 .It Va pcvt_force24
2521 .Pq Vt bool
2522 Set to
2523 .Dq Li NO
2524 by default.
2525 Set to
2526 .Dq Li YES
2527 to force
2528 .Xr pcvt 4
2529 to use 24 lines only (in 25 lines mode) for compatibility
2530 with the original
2531 .Tn VT220
2532 terminal.
2533 .It Va pcvt_hpext
2534 .Pq Vt bool
2535 Set to
2536 .Dq Li NO
2537 by default.
2538 Set to
2539 .Dq Li YES
2540 to enable the display and functionality of function key labels (as found
2541 on
2542 .Tn Hewlett-Packard
2543 terminals such as the
2544 .Tn HP2392A
2545 and the
2546 .Tn HP700/92
2547 in
2548 .Tn ANSI
2549 mode).
2550 .It Va pcvt_lines
2551 .Pq Vt int
2552 Set to
2553 .Dq Li NO
2554 by default resulting in a value of 25.
2555 Used to set the number of lines on the screen.
2556 For VGA displays, valid
2557 values are 25, 28, 40 and 50 lines.
2558 (See also the
2559 .Xr scon 1
2560 manual page.)
2561 .It Va pcvt_blanktime
2562 .Pq Vt int
2563 Set to
2564 .Dq Li NO
2565 by default.
2566 Used to set the screen saver timeout in seconds for values greater than
2567 zero.
2568 .It Va pcvt_cursorh
2569 .Pq Vt int
2570 Set to
2571 .Dq Li NO
2572 by default.
2573 Used to set the cursor top scanline.
2574 (See also the
2575 .Xr cursor 1
2576 manual page.)
2577 .It Va pcvt_cursorl
2578 .Pq Vt int
2579 Set to
2580 .Dq Li NO
2581 by default.
2582 Used to set the cursor bottom scanline.
2583 .It Va pcvt_monohigh
2584 .Pq Vt bool
2585 Set to
2586 .Dq Li NO
2587 by default.
2588 Set to
2589 .Dq Li YES
2590 to set intensity to high on monochrome monitors.
2591 (See also the
2592 .Xr scon 1
2593 manual page, option
2594 .Fl p ,
2595 for more information on changing VGA palette
2596 values.)
2597 .It Va harvest_interrupt
2598 .Pq Vt bool
2599 Set to
2600 .Dq Li YES
2601 to use hardware interrupts as an entropy source.
2602 Refer to
2603 .Xr random 4
2604 for more information.
2605 .It Va harvest_ethernet
2606 .Pq Vt bool
2607 Set to
2608 .Dq Li YES
2609 to use LAN traffic as an entropy source.
2610 Refer to
2611 .Xr random 4
2612 for more information.
2613 .It Va harvest_p_to_p
2614 .Pq Vt bool
2615 Set to
2616 .Dq Li YES
2617 to use serial line traffic as an entropy source.
2618 Refer to
2619 .Xr random 4
2620 for more information.
2621 .It Va entropy_dir
2622 .Pq Vt str
2623 Set to
2624 .Dq Li NO
2625 to disable caching entropy via
2626 .Xr cron 8 .
2627 Otherwise set to the directory used to store entropy files in.
2628 .It Va entropy_file
2629 .Pq Vt str
2630 Set to
2631 .Dq Li NO
2632 to disable caching entropy through reboots.
2633 Otherwise set to the filename used to store cached entropy through
2634 reboots.
2635 This file should be located on the root file system to seed the
2636 .Xr random 4
2637 device as early as possible in the boot process.
2638 .It Va entropy_save_sz
2639 .Pq Vt int
2640 Size of the entropy cache files saved by
2641 .Nm save-entropy
2642 periodically.
2643 .It Va entropy_save_num
2644 .Pq Vt int
2645 Number of entropy cache files to save by
2646 .Nm save-entropy
2647 periodically.
2648 .It Va ipsec_enable
2649 .Pq Vt bool
2650 Set to
2651 .Dq Li YES
2652 to run
2653 .Xr setkey 8
2654 on
2655 .Va ipsec_file
2656 at boot time.
2657 .It Va ipsec_file
2658 .Pq Vt str
2659 Configuration file for
2660 .Xr setkey 8 .
2661 .It Va dmesg_enable
2662 .Pq Vt bool
2663 Set to
2664 .Dq Li YES
2665 to save
2666 .Xr dmesg 8
2667 to
2668 .Pa /var/run/dmesg.boot
2669 on boot.
2670 .It Va rcshutdown_timeout
2671 .Pq Vt int
2672 If set, start a watchdog timer in the background which will terminate
2673 .Pa rc.shutdown
2674 if
2675 .Xr shutdown 8
2676 has not completed within the specified time (in seconds).
2677 .El
2678 .Sh FILES
2679 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
2680 .It Pa /etc/defaults/rc.conf
2681 .It Pa /etc/rc.conf
2682 .It Pa /etc/rc.conf.local
2683 .El
2684 .Sh SEE ALSO
2685 .Xr catman 1 ,
2686 .Xr gdb 1 ,
2687 .Xr info 1 ,
2688 .Xr kbdcontrol 1 ,
2689 .Xr makewhatis 8 ,
2690 .Xr vidcontrol 1 ,
2691 .Xr ip 4 ,
2692 .Xr kld 4 ,
2693 .Xr tcp 4 ,
2694 .Xr udp 4 ,
2695 .Xr exports 5 ,
2696 .Xr motd 5 ,
2697 .Xr accton 8 ,
2698 .Xr amd 8 ,
2699 .Xr apm 8 ,
2700 .Xr atm 8 ,
2701 .Xr cron 8 ,
2702 .Xr dhclient 8 ,
2703 .Xr ifconfig 8 ,
2704 .Xr inetd 8 ,
2705 .Xr isdnd 8 ,
2706 .Xr isdntrace 8 ,
2707 .Xr kldxref 8 ,
2708 .Xr lpd 8 ,
2709 .Xr mdconfig 8 ,
2710 .Xr mountd 8 ,
2711 .Xr moused 8 ,
2712 .Xr mrouted 8 ,
2713 .Xr named 8 ,
2714 .Xr nfsd 8 ,
2715 .Xr ntpd 8 ,
2716 .Xr pcnfsd 8 ,
2717 .Xr quotacheck 8 ,
2718 .Xr quotaon 8 ,
2719 .Xr rc 8 ,
2720 .Xr rc.sendmail 8 ,
2721 .Xr route 8 ,
2722 .Xr routed 8 ,
2723 .Xr rpc.lockd 8 ,
2724 .Xr rpc.statd 8 ,
2725 .Xr rpcbind 8 ,
2726 .Xr rwhod 8 ,
2727 .Xr savecore 8 ,
2728 .Xr sshd 8 ,
2729 .Xr swapon 8 ,
2730 .Xr sysctl 8 ,
2731 .Xr syslogd 8 ,
2732 .Xr timed 8 ,
2733 .Xr usbd 8 ,
2734 .Xr vinum 8 ,
2735 .Xr yp 8 ,
2736 .Xr ypbind 8 ,
2737 .Xr ypserv 8 ,
2738 .Xr ypset 8
2739 .Sh HISTORY
2740 The
2741 .Nm
2742 file appeared in
2743 .Fx 2.2.2 .
2744 .Sh AUTHORS
2745 .An Jordan K. Hubbard .