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