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