xref: /freebsd/share/man/man5/rc.conf.5 (revision 0c428864495af9dc7d2af4d0a5ae21732af9c739)
1.\" Copyright (c) 1995
2.\"	Jordan K. Hubbard
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\"
13.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd February 28, 2023
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 system installation utility.
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/defaults/vendor.conf
63allows vendors to override
64.Fx
65defaults.
66The file
67.Pa /etc/rc.conf.local
68is used to override settings in
69.Pa /etc/rc.conf
70for historical reasons.
71.Pp
72The sysrc(8) command provides a scripting interface to modify system
73config files.
74.Pp
75In addition to
76.Pa /etc/rc.conf.local
77you can also place smaller configuration files for each
78.Xr rc 8
79script in the
80.Pa /etc/rc.conf.d
81directory or
82.Ao Ar dir Ac Ns Pa /rc.conf.d
83directories (where
84.Ao Ar dir Ac
85is each entry specified in
86 .Va local_startup ,
87but with any trailing
88.Pa /rc.d
89stripped),
90which will be included by the
91.Va load_rc_config
92function.
93For jail configurations you could use the file
94.Pa /etc/rc.conf.d/jail
95to store jail-specific configuration options.
96If
97.Va local_startup
98contains
99.Pa /usr/local/etc/rc.d
100and
101.Pa /opt/conf ,
102.Pa /usr/local/etc/rc.conf.d/jail
103and
104.Pa /opt/conf/rc.conf.d/jail
105will be loaded.
106If
107.Ao Ar dir Ac Ns Pa /rc.conf.d/ Ns Ao Ar name Ac
108is a directory,
109all of files in the directory will be loaded.
110Also see the
111.Va rc_conf_files
112variable below.
113.Pp
114Options are set with
115.Dq Ar name Ns Li = Ns Ar value
116assignments that use
117.Xr sh 1
118syntax.
119The following list provides a name and short description for each
120variable that can be set in the
121.Nm
122file:
123.Bl -tag -width indent-two
124.It Va rc_debug
125.Pq Vt bool
126If set to
127.Dq Li YES ,
128enable output of debug messages from rc scripts.
129This variable can be helpful in diagnosing mistakes when
130editing or integrating new scripts.
131Beware that this produces copious output to the terminal and
132.Xr syslog 3 .
133.It Va rc_info
134.Pq Vt bool
135If set to
136.Dq Li NO ,
137disable informational messages from the rc scripts.
138Informational messages are displayed when
139a condition that is not serious enough to warrant a warning or
140an error occurs.
141.It Va rc_startmsgs
142.Pq Vt bool
143If set to
144.Dq Li YES ,
145show
146.Dq Starting foo:
147when faststart is used (e.g., at boot time).
148.It Va early_late_divider
149.Pq Vt str
150The name of the script that should be used as the
151delimiter between the
152.Dq early
153and
154.Dq late
155stages of the boot process.
156The early stage should contain all the services needed to
157get the disks (local or remote) mounted so that the late
158stage can include scripts contained in the directories
159listed in the
160.Va local_startup
161variable (see below).
162Thus, the two likely candidates for this value are
163.Pa mountcritlocal
164for the typical system, and
165.Pa mountcritremote
166if the system needs remote file
167systems mounted to get access to the
168.Va local_startup
169directories; for example when
170.Pa /usr/local
171is NFS mounted.
172For
173.Pa rc.conf
174within a
175.Xr jail 8
176.Pa NETWORKING
177is likely to be an appropriate value.
178Extreme care should be taken when changing this value,
179and before changing it one should ensure that there are
180adequate provisions to recover from a failed boot
181(such as physical contact with the machine,
182or reliable remote console access).
183.It Va always_force_depends
184.Pq Vt bool
185Various
186.Pa rc.d
187scripts use the force_depend function to check whether required
188services are already running, and to start them if necessary.
189By default during boot time this check is bypassed if the
190required service is enabled in
191.Pa /etc/rc.conf[.local] .
192Setting this option will bypass that check at boot time and
193always test whether or not the service is actually running.
194Enabling this option is likely to increase your boot time if
195services are enabled that utilize the force_depend check.
196.It Ao Ar name Ac Ns Va _chroot
197.Pq Vt str
198.Xr chroot 8
199to this directory before running the service.
200.It Ao Ar name Ac Ns Va _fib
201.Pq Vt int
202The
203.Xr setfib 1
204value to run the service under.
205.It Ao Ar name Ac Ns Va _group
206.Pq Vt str
207Run the chrooted service under this system group.
208Unlike the
209.Ao Ar name Ac Ns Va _user
210setting, this setting has no effect if the service is not chrooted.
211.It Ao Ar name Ac Ns Va _limits
212.Pq Vt str
213Resource limits to apply to the service using
214.Xr limits 1 .
215By default, resource limits are based on the login class defined in
216.Ao Ar name Ac Ns Va _login_class .
217.It Ao Ar name Ac Ns Va _login_class
218.Pq Vt str
219Login class to be used with
220.Ao Ar name Ac Ns Va _limits .
221Defaults to
222.Dq Li daemon .
223.It Ao Ar name Ac Ns Va _nice
224.Pq Vt int
225The
226.Xr nice 1
227value to run the service under.
228.It Ao Ar name Ac Ns Va _oomprotect
229.Pq Vt str
230Use
231.Xr protect 1
232to prevent the service from being killed when swap space
233is exhausted.
234Use
235.Dq Li YES
236to protect only the service itself, and
237.Dq Li ALL
238to protect the service and all its child processes.
239.Pp
240Please note that rc scripts which redefine
241.Dl ${argument}_cmd
242.Pq see Xr rc.subr 8
243such as PostgreSQL will not inherit the OOM killer protection.
244.Pp
245This variable has no effect on services running within a
246.Xr jail 8 .
247.It Ao Ar name Ac Ns Va _umask
248.Pq Vt int
249Run the service using this
250.Xr umask 1
251value.
252.It Ao Ar name Ac Ns Va _user
253.Pq Vt str
254Run the service under this user account.
255.It Va apm_enable
256.Pq Vt bool
257If set to
258.Dq Li YES ,
259enable support for Automatic Power Management with
260the
261.Xr apm 8
262command.
263.It Va apmd_enable
264.Pq Vt bool
265Run
266.Xr apmd 8
267to handle APM event from userland.
268This also enables support for APM.
269.It Va apmd_flags
270.Pq Vt str
271If
272.Va apmd_enable
273is set to
274.Dq Li YES ,
275these are the flags to pass to the
276.Xr apmd 8
277daemon.
278.It Va devd_enable
279.Pq Vt bool
280Run
281.Xr devd 8
282to handle device added, removed or unknown events from the kernel.
283.It Va ddb_enable
284.Pq Vt bool
285Run
286.Xr ddb 8
287to install
288.Xr ddb 4
289scripts at boot time.
290.It Va ddb_config
291.Pq Vt str
292Configuration file for
293.Xr ddb 8 .
294Default
295.Pa /etc/ddb.conf .
296.It Va devmatch_enable
297.Pq Vt bool
298If set to
299.Dq Li NO ,
300disable auto-loading of kernel modules with
301.Xr devmatch 8 .
302.It Va devmatch_blocklist
303.Pq Vt str
304A whitespace-separated list of kernel modules to be ignored by
305.Xr devmatch 8 .
306In addition, the
307.Xr kenv 1
308.Va devmatch_blocklist
309is appended to this variable to allow disabling of
310.Xr devmatch 8
311loaded modules from the boot loader.
312.It Va devmatch_blacklist
313.Pq Vt str
314This variable is deprecated.
315Use
316.Va devmatch_blocklist
317instead.
318A whitespace-separated list of kernel modules to be ignored by
319.Xr devmatch 8 .
320.It Va kld_list
321.Pq Vt str
322A whitespace-separated list of kernel modules to load right after
323the local disks are mounted, without any
324.Pa .ko
325extension or path.
326Loading modules at this point in the boot process is
327much faster than doing it via
328.Pa /boot/loader.conf
329for those modules not necessary for mounting local disks.
330.It Va kldxref_enable
331.Pq Vt bool
332Set to
333.Dq Li NO
334by default.
335Set to
336.Dq Li YES
337to automatically rebuild
338.Pa linker.hints
339files with
340.Xr kldxref 8
341at boot time.
342.It Va kldxref_clobber
343.Pq Vt bool
344Set to
345.Dq Li NO
346by default.
347If
348.Va kldxref_enable
349is true,
350setting to
351.Dq Li YES
352will overwrite existing
353.Pa linker.hints
354files at boot time.
355Otherwise,
356only missing
357.Pa linker.hints
358files are generated.
359.It Va kldxref_module_path
360.Pq Vt str
361Empty by default.
362A semi-colon
363.Pq Ql \&;
364delimited list of paths containing
365.Xr kld 4
366modules.
367If empty,
368the contents of the
369.Va kern.module_path
370.Xr sysctl 8
371are used.
372.It Va powerd_enable
373.Pq Vt bool
374If set to
375.Dq Li YES ,
376enable the system power control facility with the
377.Xr powerd 8
378daemon.
379.It Va powerd_flags
380.Pq Vt str
381If
382.Va powerd_enable
383is set to
384.Dq Li YES ,
385these are the flags to pass to the
386.Xr powerd 8
387daemon.
388.It Va tmpmfs
389Controls the creation of a
390.Pa /tmp
391memory file system.
392Always happens if set to
393.Dq Li YES
394and never happens if set to
395.Dq Li NO .
396If set to anything else, a memory file system is created if
397.Pa /tmp
398is not writable.
399.It Va tmpsize
400Controls the size of a created
401.Pa /tmp
402memory file system.
403.It Va tmpmfs_flags
404Extra options passed to the
405.Xr mdmfs 8
406utility when the memory file system for
407.Pa /tmp
408is created.
409The default is
410.Dq Li "-S" ,
411which inhibits the use of softupdates on
412.Pa /tmp
413so that file system space is freed without delay
414after file truncation or deletion.
415See
416.Xr mdmfs 8
417for other options you can use in
418.Va tmpmfs_flags .
419.It Va varmfs
420Controls the creation of a
421.Pa /var
422memory file system.
423Always happens if set to
424.Dq Li YES
425and never happens if set to
426.Dq Li NO .
427If set to anything else, a memory file system is created if
428.Pa /var
429is not writable.
430.It Va varsize
431Controls the size of a created
432.Pa /var
433memory file system.
434.It Va varmfs_flags
435Extra options passed to the
436.Xr mdmfs 8
437utility when the memory file system for
438.Pa /var
439is created.
440The default is
441.Dq Li "-S" ,
442which inhibits the use of softupdates on
443.Pa /var
444so that file system space is freed without delay
445after file truncation or deletion.
446See
447.Xr mdmfs 8
448for other options you can use in
449.Va varmfs_flags .
450.It Va populate_var
451Controls the automatic population of the
452.Pa /var
453file system.
454Always happens if set to
455.Dq Li YES
456and never happens if set to
457.Dq Li NO .
458If set to anything else, a memory file system is created if
459.Pa /var
460is not writable.
461Note that this process requires access to certain commands in
462.Pa /usr
463before
464.Pa /usr
465is mounted on normal systems.
466.It Va cleanvar_enable
467.Pq Vt bool
468Clean the
469.Pa /var
470directory.
471.It Va var_run_enable
472.Pq Vt bool
473Set to "YES" to enable saving of the
474.Pa /var/run
475directory strcucture into an mtree file at shutdown and the reload of the
476.Pa /var/run
477directory structure at boot.
478.It Va var_run_autosave
479.Pq Vt bool
480In some cases it may be undesirable to save
481.Pa /var/run
482at shutdown.
483When set to "NO"
484.Pa /var/run
485is loaded at reboot but not saved at shutdown.
486Typically in this scenario
487a
488.Pa service
489.Pa var_run
490.Pa save
491would be performed to save a copy of the
492.Pa /var/run
493directory structure once, to be reload during all subsequent reboots.
494.It Va var_run_mtree
495.Pq Vt str
496Where to save the
497.Pa /var/run
498mtree.
499The default location is
500.Pa /var/db/mtree/BSD.var-run.mtree .
501.It Va local_startup
502.Pq Vt str
503List of directories to search for startup script files.
504.It Va script_name_sep
505.Pq Vt str
506The field separator to use for breaking down the list of startup script files
507into individual filenames.
508The default is a space.
509It is not necessary to change this unless there are startup scripts with names
510containing spaces.
511.It Va hostapd_enable
512.Pq Vt bool
513Set to
514.Dq Li YES
515to start
516.Xr hostapd 8
517at system boot time.
518.It Va hostname
519.Pq Vt str
520The fully qualified domain name (FQDN) of this host on the network.
521This should almost certainly be set to something meaningful, even if
522there is no network connection.
523If
524.Xr dhclient 8
525is used to set the hostname via DHCP,
526this variable should be set to an empty string.
527Within a
528.Xr jail 8
529the hostname is generally already set and this variable may be absent.
530If this value remains unset when the system is done booting
531your console login will display the default hostname of
532.Dq Amnesiac .
533.It Va nisdomainname
534.Pq Vt str
535The NIS domain name of this host, or
536.Dq Li NO
537if NIS is not used.
538.It Va dhclient_program
539.Pq Vt str
540Path to the DHCP client program
541.Pa ( /sbin/dhclient ,
542the
543.Ox
544DHCP client,
545is the default).
546.It Va dhclient_flags
547.Pq Vt str
548Additional flags to pass to the DHCP client program.
549For the
550.Ox
551DHCP client, see the
552.Xr dhclient 8
553manpage for a description of the command line options available.
554.It Va dhclient_flags_ Ns Aq Ar iface
555Additional flags to pass to the DHCP client program running on
556.Ar iface
557only.
558When specified, this variable overrides
559.Va dhclient_flags .
560.It Va background_dhclient
561.Pq Vt bool
562Set to
563.Dq Li YES
564to start the DHCP client in background.
565This can cause trouble with applications depending on
566a working network, but it will provide a faster startup
567in many cases.
568.It Va background_dhclient_ Ns Aq Ar iface
569When specified, this variable overrides the
570.Va background_dhclient
571variable for interface
572.Ar iface
573only.
574.It Va synchronous_dhclient
575.Pq Vt bool
576Set to
577.Dq Li YES
578to start
579.Xr dhclient 8
580synchronously at startup.
581This behavior can be overridden on a per-interface basis by replacing
582the
583.Dq Li DHCP
584keyword in the
585.Va ifconfig_ Ns Aq Ar interface
586variable with
587.Dq Li SYNCDHCP
588or
589.Dq Li NOSYNCDHCP .
590.It Va defaultroute_delay
591.Pq Vt int
592When set to a positive value, wait up to this long after configuring
593DHCP interfaces at startup to give the interfaces time to receive a lease.
594.It Va firewall_enable
595.Pq Vt bool
596Set to
597.Dq Li YES
598to load firewall rules at startup.
599If the kernel was not built with
600.Cd "options IPFIREWALL" ,
601the
602.Pa ipfw.ko
603kernel module will be loaded.
604See also
605.Va ipfilter_enable .
606.It Va firewall_script
607.Pq Vt str
608This variable specifies the full path to the firewall script to run.
609The default is
610.Pa /etc/rc.firewall .
611.It Va firewall_type
612.Pq Vt str
613Names the firewall type from the selection in
614.Pa /etc/rc.firewall ,
615or the file which contains the local firewall ruleset.
616Valid selections from
617.Pa /etc/rc.firewall
618are:
619.Pp
620.Bl -tag -width ".Li workstation" -compact
621.It Li open
622unrestricted IP access
623.It Li closed
624all IP services disabled, except via
625.Dq Li lo0
626.It Li client
627basic protection for a workstation
628.It Li workstation
629basic protection for a workstation using stateful firewalling
630.It Li simple
631basic protection for a LAN.
632.El
633.Pp
634If a filename is specified, the full path
635must be given.
636.Pp
637Most of the predefined rulesets define additional configuration variables.
638These are documented in
639.Pa /etc/rc.firewall .
640.It Va firewall_quiet
641.Pq Vt bool
642Set to
643.Dq Li YES
644to disable the display of firewall rules on the console during boot.
645.It Va firewall_logging
646.Pq Vt bool
647Set to
648.Dq Li YES
649to enable firewall event logging.
650This is equivalent to the
651.Dv IPFIREWALL_VERBOSE
652kernel option.
653.It Va firewall_logif
654.Pq Vt bool
655Set to
656.Dq Li YES
657to create pseudo interface
658.Li ipfw0
659for logging.
660For more details, see
661.Xr ipfw 8
662manual page.
663.It Va firewall_flags
664.Pq Vt str
665Flags passed to
666.Xr ipfw 8
667if
668.Va firewall_type
669specifies a filename.
670.It Va firewall_coscripts
671.Pq Vt str
672List of executables and/or rc scripts to run after firewall starts/stops.
673Default is empty.
674.\" ----- firewall_nat_enable setting --------------------------------
675.It Va firewall_nat_enable
676.Pq Vt bool
677The
678.Xr ipfw 8
679equivalent of
680.Va natd_enable .
681Setting this to
682.Dq Li YES
683will automatically load the
684.Xr ipfw 8
685NAT kernel module if
686.Va firewall_enable
687is also set to
688.Dq Li YES .
689.It Va firewall_nat_interface
690.Pq Vt str
691The
692.Xr ipfw 8
693equivalent of
694.Va natd_interface .
695This is the name of the public interface or IP address on which
696kernel NAT should run.
697.It Va firewall_nat_flags
698.Pq Vt str
699Additional configuration parameters for kernel NAT should be placed here.
700.It Va firewall_nat64_enable
701.Pq Vt bool
702Setting this to
703.Dq Li YES
704will automatically load the
705.Xr ipfw 8
706NAT64 kernel module if
707.Va firewall_enable
708is also set to
709.Dq Li YES .
710.It Va firewall_nptv6_enable
711.Pq Vt bool
712Setting this to
713.Dq Li YES
714will automatically load the
715.Xr ipfw 8
716NPTv6 kernel module if
717.Va firewall_enable
718is also set to
719.Dq Li YES .
720.It Va firewall_pmod_enable
721.Pq Vt bool
722Setting this to
723.Dq Li YES
724will automatically load the
725.Xr ipfw 8
726pmod kernel module if
727.Va firewall_enable
728is also set to
729.Dq Li YES .
730.It Va dummynet_enable
731.Pq Vt bool
732Setting this to
733.Dq Li YES
734will automatically load the
735.Xr dummynet 4
736module if
737.Va firewall_enable
738is also set to
739.Dq Li YES .
740.\" -------------------------------------------------------------------
741.It Va ipfw_netflow_enable
742.Pq Vt bool
743Setting this to
744.Dq Li YES
745will enable netflow logging via
746.Xr ng_netflow 4
747.Pp
748By default a ipfw rule is inserted and all packets are duplicated with
749the ngtee command and netflow packets are sent to 127.0.0.1 on the netflow
750port using protocol version 5.
751.It Va ipfw_netflow_hook
752.Pq Vt int
753netflow hook name, must be numerical
754(default
755.Pa 9995 ) .
756.It Va ipfw_netflow_rule
757.Pq Vt int
758ipfw rule number
759(default
760.Pa 1000 ) .
761.It Va ipfw_netflow_ip
762.Pq Vt str
763Destination server ip for receiving netflow data
764(default
765.Pa 127.0.0.1 ) .
766.It Va ipfw_netflow_port
767.Pq Vt int
768Destination server port for receiving netflow data
769(default
770.Pa 9995 ) .
771.It Va ipfw_netflow_version
772.Pq Vt int
773Do not set for using version 5 of the netflow protocol, set it to 9 for using
774version 9.
775.It Va ipfw_netflow_fib
776.Pq Vt int
777Only match packet in FIB
778.Pa ipfw_netflow_fib
779(default is undefined meaning all FIBs).
780.It Va natd_program
781.Pq Vt str
782Path to
783.Xr natd 8 .
784.It Va natd_enable
785.Pq Vt bool
786Set to
787.Dq Li YES
788to enable
789.Xr natd 8 .
790.Va firewall_enable
791must also be set to
792.Dq Li YES ,
793and
794.Xr divert 4
795sockets must be enabled in the kernel.
796If the kernel was not built with
797.Cd "options IPDIVERT" ,
798the
799.Pa ipdivert.ko
800kernel module will be loaded.
801.It Va natd_interface
802.Pq Vt str
803This is the name of the public interface on which
804.Xr natd 8
805should run.
806The interface may be given as an interface name or as an IP address.
807.It Va natd_flags
808.Pq Vt str
809Additional
810.Xr natd 8
811flags should be placed here.
812The
813.Fl n
814or
815.Fl a
816flag is automatically added with the above
817.Va natd_interface
818as an argument.
819.\" ----- ipfilter_enable setting --------------------------------
820.It Va ipfilter_enable
821.Pq Vt bool
822Set to
823.Dq Li NO
824by default.
825Setting this to
826.Dq Li YES
827enables
828.Xr ipf 8
829packet filtering.
830.Pp
831Typical usage will require putting
832.Bd -literal
833ipfilter_enable="YES"
834ipnat_enable="YES"
835ipmon_enable="YES"
836ipfs_enable="YES"
837.Ed
838.Pp
839into
840.Pa /etc/rc.conf
841and editing
842.Pa /etc/ipf.rules
843and
844.Pa /etc/ipnat.rules
845appropriately.
846.Pp
847Note that
848.Va ipfilter_enable
849and
850.Va ipnat_enable
851can be enabled independently.
852.Va ipmon_enable
853and
854.Va ipfs_enable
855both require at least one of
856.Va ipfilter_enable
857and
858.Va ipnat_enable
859to be enabled.
860.Pp
861Having
862.Bd -literal
863options IPFILTER
864options IPFILTER_LOG
865options IPFILTER_DEFAULT_BLOCK
866.Ed
867.Pp
868in the kernel configuration file is a good idea, too.
869.\" ----- ipfilter_program setting ------------------------------
870.It Va ipfilter_program
871.Pq Vt str
872Path to
873.Xr ipf 8
874(default
875.Pa /sbin/ipf ) .
876.\" ----- ipfilter_rules setting --------------------------------
877.It Va ipfilter_rules
878.Pq Vt str
879Set to
880.Pa /etc/ipf.rules
881by default.
882This variable contains the name of the filter rule definition file.
883The file is expected to be readable for the
884.Xr ipf 8
885command to execute.
886.\" ----- ipfilter_flags setting --------------------------------
887.It Va ipfilter_flags
888.Pq Vt str
889Empty by default.
890This variable contains flags passed to the
891.Xr ipf 8
892program.
893.\" ----- ipnat_enable setting ----------------------------------
894.It Va ipnat_enable
895.Pq Vt bool
896Set to
897.Dq Li NO
898by default.
899Set it to
900.Dq Li YES
901to enable
902.Xr ipnat 8
903network address translation.
904See
905.Va ipfilter_enable
906for a detailed discussion.
907.\" ----- ipnat_program setting ---------------------------------
908.It Va ipnat_program
909.Pq Vt str
910Path to
911.Xr ipnat 8
912(default
913.Pa /sbin/ipnat ) .
914.\" ----- ipnat_rules setting -----------------------------------
915.It Va ipnat_rules
916.Pq Vt str
917Set to
918.Pa /etc/ipnat.rules
919by default.
920This variable contains the name of the file
921holding the network address translation definition.
922This file is expected to be readable for the
923.Xr ipnat 8
924command to execute.
925.\" ----- ipnat_flags setting -----------------------------------
926.It Va ipnat_flags
927.Pq Vt str
928Empty by default.
929This variable contains flags passed to the
930.Xr ipnat 8
931program.
932.\" ----- ipmon_enable setting ----------------------------------
933.It Va ipmon_enable
934.Pq Vt bool
935Set to
936.Dq Li NO
937by default.
938Set it to
939.Dq Li YES
940to enable
941.Xr ipmon 8
942monitoring (logging
943.Xr ipf 8
944and
945.Xr ipnat 8
946events).
947Setting this variable needs setting
948.Va ipfilter_enable
949or
950.Va ipnat_enable
951too.
952See
953.Va ipfilter_enable
954for a detailed discussion.
955.\" ----- ipmon_program setting ---------------------------------
956.It Va ipmon_program
957.Pq Vt str
958Path to
959.Xr ipmon 8
960(default
961.Pa /sbin/ipmon ) .
962.\" ----- ipmon_flags setting -----------------------------------
963.It Va ipmon_flags
964.Pq Vt str
965Set to
966.Dq Li -Ds
967by default.
968This variable contains flags passed to the
969.Xr ipmon 8
970program.
971Another typical example would be
972.Dq Fl D Pa /var/log/ipflog
973to have
974.Xr ipmon 8
975log directly to a file bypassing
976.Xr syslogd 8 .
977Make sure to adjust
978.Pa /etc/newsyslog.conf
979in such case like this:
980.Bd -literal
981/var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
982.Ed
983.\" ----- ipfs_enable setting -----------------------------------
984.It Va ipfs_enable
985.Pq Vt bool
986Set to
987.Dq Li NO
988by default.
989Set it to
990.Dq Li YES
991to enable
992.Xr ipfs 8
993saving the filter and NAT state tables during shutdown
994and reloading them during startup again.
995Setting this variable needs setting
996.Va ipfilter_enable
997or
998.Va ipnat_enable
999to
1000.Dq Li YES
1001too.
1002See
1003.Va ipfilter_enable
1004for a detailed discussion.
1005Note that if
1006.Va kern_securelevel
1007is set to 3,
1008.Va ipfs_enable
1009cannot be used
1010because the raised securelevel will prevent
1011.Xr ipfs 8
1012from saving the state tables at shutdown time.
1013.\" ----- ipfs_program setting ----------------------------------
1014.It Va ipfs_program
1015.Pq Vt str
1016Path to
1017.Xr ipfs 8
1018(default
1019.Pa /sbin/ipfs ) .
1020.\" ----- ipfs_flags setting ------------------------------------
1021.It Va ipfs_flags
1022.Pq Vt str
1023Empty by default.
1024This variable contains flags passed to the
1025.Xr ipfs 8
1026program.
1027.\" ----- end of added ipf hook ---------------------------------
1028.It Va pf_enable
1029.Pq Vt bool
1030Set to
1031.Dq Li NO
1032by default.
1033Setting this to
1034.Dq Li YES
1035enables
1036.Xr pf 4
1037packet filtering.
1038.Pp
1039Typical usage will require putting
1040.Pp
1041.Dl pf_enable="YES"
1042.Pp
1043into
1044.Pa /etc/rc.conf
1045and editing
1046.Pa /etc/pf.conf
1047appropriately.
1048Adding
1049.Pp
1050.Dl "device pf"
1051.Pp
1052builds support for
1053.Xr pf 4
1054into the kernel, otherwise the
1055kernel module will be loaded.
1056.It Va pf_rules
1057.Pq Vt str
1058Path to
1059.Xr pf 4
1060ruleset configuration file
1061(default
1062.Pa /etc/pf.conf ) .
1063.It Va pf_program
1064.Pq Vt str
1065Path to
1066.Xr pfctl 8
1067(default
1068.Pa /sbin/pfctl ) .
1069.It Va pf_flags
1070.Pq Vt str
1071If
1072.Va pf_enable
1073is set to
1074.Dq Li YES ,
1075these flags are passed to the
1076.Xr pfctl 8
1077program when loading the ruleset.
1078.It Va pf_fallback_rules_enable
1079.Pq Vt bool
1080Set to
1081.Dq Li NO
1082by default.
1083Setting this to
1084.Dq Li YES
1085enables loading
1086.Va pf_fallback_rules_file
1087or
1088.Va pf_fallback_rules
1089in case of a problem when loading the ruleset in
1090.Va pf_rules .
1091.It Va pf_fallback_rules_file
1092.Pq Vt str
1093Path to a pf ruleset to load in case of failure when loading the
1094ruleset in
1095.Va pf_rules
1096(default
1097.Pa /etc/pf-fallback.conf ) .
1098.It Va pf_fallback_rules
1099.Pq Vt str
1100A pf ruleset to load in case of failure when loading the ruleset in
1101.Va pf_rules
1102and
1103.Va pf_fallback_rules_file
1104is not found.
1105Multiple rules can be set as follows:
1106.Bd -literal
1107pf_fallback_rules="\\
1108	block drop log all\\
1109	pass in quick on em0"
1110.Pp
1111.Ed
1112The default fallback rule is
1113.Dq block drop log all
1114.It Va pflog_enable
1115.Pq Vt bool
1116Set to
1117.Dq Li NO
1118by default.
1119Setting this to
1120.Dq Li YES
1121enables
1122.Xr pflogd 8
1123which logs packets from the
1124.Xr pf 4
1125packet filter.
1126.It Va pflog_logfile
1127.Pq Vt str
1128If
1129.Va pflog_enable
1130is set to
1131.Dq Li YES
1132this controls where
1133.Xr pflogd 8
1134stores the logfile
1135(default
1136.Pa /var/log/pflog ) .
1137Check
1138.Pa /etc/newsyslog.conf
1139to adjust logfile rotation for this.
1140.It Va pflog_program
1141.Pq Vt str
1142Path to
1143.Xr pflogd 8
1144(default
1145.Pa /sbin/pflogd ) .
1146.It Va pflog_flags
1147.Pq Vt str
1148Empty by default.
1149This variable contains additional flags passed to the
1150.Xr pflogd 8
1151program.
1152.It Va pflog_instances
1153.Pq Vt str
1154If logging to more than one
1155.Xr pflog 4
1156interface is desired,
1157.Va pflog_instances
1158is set to the list of
1159.Xr pflogd 8
1160instances that should be started at system boot time.
1161If
1162.Va pflog_instances
1163is set, for each whitespace-separated
1164.Ar element
1165in the list,
1166.Ao Ar element Ac Ns Va _dev
1167and
1168.Ao Ar element Ac Ns Va _logfile
1169elements are assumed to exist.
1170.Ao Ar element Ac Ns Va _dev
1171must contain the
1172.Xr pflog 4
1173interface to be watched by the named
1174.Xr pflogd 8
1175instance.
1176.Ao Ar element Ac Ns Va _logfile
1177must contain the name of the logfile that will be used by the
1178.Xr pflogd 8
1179instance.
1180.It Va ftpproxy_enable
1181.Pq Vt bool
1182Set to
1183.Dq Li NO
1184by default.
1185Setting this to
1186.Dq Li YES
1187enables
1188.Xr ftp-proxy 8
1189which supports the
1190.Xr pf 4
1191packet filter in translating ftp connections.
1192.It Va ftpproxy_flags
1193.Pq Vt str
1194Empty by default.
1195This variable contains additional flags passed to the
1196.Xr ftp-proxy 8
1197program.
1198.It Va ftpproxy_instances
1199.Pq Vt str
1200Empty by default.
1201If multiple instances of
1202.Xr ftp-proxy 8
1203are desired at boot time,
1204.Va ftpproxy_instances
1205should contain a whitespace-separated list of instance names.
1206For each
1207.Ar element
1208in the list, a variable named
1209.Ao Ar element Ac Ns Va _flags
1210should be defined, containing the command-line flags to be passed to the
1211.Xr ftp-proxy 8
1212instance.
1213.It Va pfsync_enable
1214.Pq Vt bool
1215Set to
1216.Dq Li NO
1217by default.
1218Setting this to
1219.Dq Li YES
1220enables exposing
1221.Xr pf 4
1222state changes to other hosts over the network by means of
1223.Xr pfsync 4 .
1224The
1225.Va pfsync_syncdev
1226variable
1227must also be set then.
1228.It Va pfsync_syncdev
1229.Pq Vt str
1230Empty by default.
1231This variable specifies the name of the network interface
1232.Xr pfsync 4
1233should operate through.
1234It must be set accordingly if
1235.Va pfsync_enable
1236is set to
1237.Dq Li YES .
1238.It Va pfsync_syncpeer
1239.Pq Vt str
1240Empty by default.
1241This variable is optional.
1242By default, state change messages are sent out on the synchronisation
1243interface using IP multicast packets.
1244The protocol is IP protocol 240, PFSYNC, and the multicast group used is
1245224.0.0.240.
1246When a peer address is specified using the
1247.Va pfsync_syncpeer
1248option, the peer address is used as a destination for the pfsync
1249traffic, and the traffic can then be protected using
1250.Xr ipsec 4 .
1251See the
1252.Xr pfsync 4
1253manpage for more details about using
1254.Xr ipsec 4
1255with
1256.Xr pfsync 4
1257interfaces.
1258.It Va pfsync_ifconfig
1259.Pq Vt str
1260Empty by default.
1261This variable can contain additional options to be passed to the
1262.Xr ifconfig 8
1263command used to set up
1264.Xr pfsync 4 .
1265.It Va tcp_extensions
1266.Pq Vt bool
1267Set to
1268.Dq Li YES
1269by default.
1270Setting this to
1271.Dq Li NO
1272disables certain TCP options as described by
1273.Rs
1274.%T "RFC 1323"
1275.Re
1276Setting this to
1277.Dq Li NO
1278might help remedy such problems with connections as randomly hanging
1279or other weird behavior.
1280Some network devices are known
1281to be broken with respect to these options.
1282.It Va log_in_vain
1283.Pq Vt int
1284Set to 0 by default.
1285The
1286.Xr sysctl 8
1287variables,
1288.Va net.inet.tcp.log_in_vain
1289and
1290.Va net.inet.udp.log_in_vain ,
1291as described in
1292.Xr tcp 4
1293and
1294.Xr udp 4 ,
1295are set to the given value.
1296.It Va tcp_keepalive
1297.Pq Vt bool
1298Set to
1299.Dq Li YES
1300by default.
1301Setting to
1302.Dq Li NO
1303will disable probing idle TCP connections to verify that the
1304peer is still up and reachable.
1305.It Va tcp_drop_synfin
1306.Pq Vt bool
1307Set to
1308.Dq Li NO
1309by default.
1310Setting to
1311.Dq Li YES
1312will cause the kernel to ignore TCP frames that have both
1313the SYN and FIN flags set.
1314This prevents OS fingerprinting, but may
1315break some legitimate applications.
1316.It Va icmp_drop_redirect
1317.Pq Vt bool
1318Set to
1319.Dq Li AUTO
1320by default.
1321This setting will be identical to
1322.Dq Li YES ,
1323if a dynamicrouting daemon is enabled, because redirect processing may
1324cause performance issues for large routing tables.
1325If no such service is enabled, this setting behaves like a
1326.Dq Li NO .
1327Setting to
1328.Dq Li YES
1329will cause the kernel to ignore ICMP REDIRECT packets.
1330Setting to
1331.Dq Li NO
1332will cause the kernel to process ICMP REDIRECT packets.
1333Refer to
1334.Xr icmp 4
1335for more information.
1336.It Va icmp_log_redirect
1337.Pq Vt bool
1338Set to
1339.Dq Li NO
1340by default.
1341Setting to
1342.Dq Li YES
1343will cause the kernel to log ICMP REDIRECT packets.
1344Note that
1345the log messages are not rate-limited, so this option should only be used
1346for troubleshooting networks.
1347Refer to
1348.Xr icmp 4
1349for more information.
1350.It Va icmp_bmcastecho
1351.Pq Vt bool
1352Set to
1353.Dq Li YES
1354to respond to broadcast or multicast ICMP ping packets.
1355Refer to
1356.Xr icmp 4
1357for more information.
1358.It Va ip_portrange_first
1359.Pq Vt int
1360If not set to
1361.Dq Li NO ,
1362this is the first port in the default portrange.
1363Refer to
1364.Xr ip 4
1365for more information.
1366.It Va ip_portrange_last
1367.Pq Vt int
1368If not set to
1369.Dq Li NO ,
1370this is the last port in the default portrange.
1371Refer to
1372.Xr ip 4
1373for more information.
1374.It Va network_interfaces
1375.Pq Vt str
1376Set to the list of network interfaces to configure on this host or
1377.Dq Li AUTO
1378(the default) for all current interfaces.
1379Setting the
1380.Va network_interfaces
1381variable to anything other than the default is deprecated.
1382Interfaces that the administrator wishes to store configuration for,
1383but not start at boot should be configured with the
1384.Dq Li NOAUTO
1385keyword in their
1386.Va ifconfig_ Ns Aq Ar interface
1387variables as described below.
1388.Pp
1389An
1390.Va ifconfig_ Ns Aq Ar interface
1391variable is also assumed to exist for each value of
1392.Ar interface .
1393When an interface name contains any of the characters
1394.Dq Li .-/+
1395they are translated to
1396.Dq Li _
1397before lookup.
1398The variable can contain arguments to
1399.Xr ifconfig 8 ,
1400as well as special case-insensitive keywords described below.
1401Such keywords are removed before passing the value to
1402.Xr ifconfig 8
1403while the order of the other arguments is preserved.
1404.Pp
1405It is possible to add IP alias entries using
1406.Xr ifconfig 8
1407syntax with the address family keyword such as
1408.Li inet .
1409Assuming that the interface in question was
1410.Li em0 ,
1411it might look something like this:
1412.Bd -literal
1413ifconfig_em0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1414ifconfig_em0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1415.Ed
1416.Pp
1417It also possible to configure multiple IP addresses in Classless
1418Inter-Domain Routing
1419.Pq CIDR
1420address notation,
1421whose each address component can be a range like
1422.Li inet 192.0.2.5-23/24
1423or
1424.Li inet6 2001:db8:1-f::1/64 .
1425This notation allows address and prefix length part only,
1426not the other address modifiers.
1427Note that the maximum number of the generated addresses from a range
1428specification is limited to an integer value specified in
1429.Va netif_ipexpand_max
1430in
1431.Nm
1432because a small typo can unexpectedly generate a large number of addresses.
1433The default value is
1434.Li 2048 .
1435It can be increased by adding the following line into
1436.Nm :
1437.Bd -literal
1438netif_ipexpand_max="4096"
1439.Ed
1440.Pp
1441In the case of
1442.Li 192.0.2.5-23/24 ,
1443the address 192.0.2.5 will be configured with the
1444netmask /24 and the addresses 192.0.2.6 to 192.0.2.23 with
1445the non-conflicting netmask /32 as explained in the
1446.Xr ifconfig 8
1447alias section.
1448Note that this special netmask handling is only for
1449.Li inet ,
1450not for the other address families such as
1451.Li inet6 .
1452.Pp
1453With the interface in question being
1454.Li em0 ,
1455an example could look like:
1456.Bd -literal
1457ifconfig_em0_alias2="inet 192.0.2.129/27"
1458ifconfig_em0_alias3="inet 192.0.2.1-5/28"
1459.Ed
1460.Pp
1461and so on.
1462.Pp
1463Note that deprecated
1464.Va ipv4_addrs_ Ns Aq Ar interface
1465variable was supported for IPv4 CIDR address notation.
1466The
1467.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1468variable replaces it, though
1469.Va ipv4_addrs_ Ns Aq Ar interface
1470is still supported for backward compatibility.
1471.Pp
1472For each
1473.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1474entry with an address family keyword,
1475its contents are passed to
1476.Xr ifconfig 8 .
1477Execution stops at the first unsuccessful access, so if
1478something like this is present:
1479.Bd -literal
1480ifconfig_em0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1481ifconfig_em0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1482ifconfig_em0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1483ifconfig_em0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1484.Ed
1485.Pp
1486Then note that alias4 would
1487.Em not
1488be added since the search would
1489stop with the missing
1490.Dq Li alias3
1491entry.
1492Because of this difficult to manage behavior,
1493there is
1494.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _aliases
1495variable, which has the same functionality as
1496.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1497and can have all of entries in a variable like the following:
1498.Bd -literal
1499ifconfig_em0_aliases="\\
1500	inet 127.0.0.251 netmask 0xffffffff \\
1501	inet 127.0.0.252 netmask 0xffffffff \\
1502	inet 127.0.0.253 netmask 0xffffffff \\
1503	inet 127.0.0.254 netmask 0xffffffff"
1504.Ed
1505.Pp
1506It also supports CIDR notation.
1507.Pp
1508If the
1509.Pa /etc/start_if . Ns Aq Ar interface
1510file is present, it is read and executed by the
1511.Xr sh 1
1512interpreter
1513before configuring the interface as specified in the
1514.Va ifconfig_ Ns Aq Ar interface
1515and
1516.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1517variables.
1518.Pp
1519If a
1520.Va vlans_ Ns Aq Ar interface
1521variable is set,
1522a
1523.Xr vlan 4
1524interface will be created for each item in the list with the
1525.Ar vlandev
1526argument set to
1527.Ar interface .
1528If a vlan interface's name is a number,
1529then that number is used as the vlan tag and the new vlan interface is
1530named
1531.Ar interface . Ns Ar tag .
1532Otherwise,
1533the vlan tag must be specified via a
1534.Va vlan
1535parameter in the
1536.Va create_args_ Ns Aq Ar interface
1537variable.
1538.Pp
1539To create a vlan device named
1540.Li em0.101
1541on
1542.Li em0
1543with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24:
1544.Bd -literal
1545vlans_em0="101"
1546ifconfig_em0_101="inet 192.0.2.1/24"
1547.Ed
1548.Pp
1549To create a vlan device named
1550.Li myvlan
1551on
1552.Li em0
1553with the vlan tag 102:
1554.Bd -literal
1555vlans_em0="myvlan"
1556create_args_myvlan="vlan 102"
1557.Ed
1558.Pp
1559If a
1560.Va wlans_ Ns Aq Ar interface
1561variable is set,
1562an
1563.Xr wlan 4
1564interface will be created for each item in the list with the
1565.Ar wlandev
1566argument set to
1567.Ar interface .
1568Further wlan cloning arguments may be passed to the
1569.Xr ifconfig 8
1570.Cm create
1571command by setting the
1572.Va create_args_ Ns Aq Ar interface
1573variable.
1574One or more
1575.Xr wlan 4
1576devices must be created for each wireless devices as of
1577.Fx 8.0 .
1578Debugging flags for
1579.Xr wlan 4
1580devices as set by
1581.Xr wlandebug 8
1582may be specified with an
1583.Va wlandebug_ Ns Aq Ar interface
1584variable.
1585The contents of this variable will be passed directly to
1586.Xr wlandebug 8 .
1587.Pp
1588If the
1589.Va ifconfig_ Ns Aq Ar interface
1590contains the keyword
1591.Dq Li NOAUTO
1592then the interface will not be configured
1593at boot or by
1594.Pa /etc/pccard_ether
1595when
1596.Va network_interfaces
1597is set to
1598.Dq Li AUTO .
1599.Pp
1600It is possible to bring up an interface with DHCP by adding
1601.Dq Li DHCP
1602to the
1603.Va ifconfig_ Ns Aq Ar interface
1604variable.
1605For instance, to initialize the
1606.Li em0
1607device via DHCP,
1608it is possible to use something like:
1609.Bd -literal
1610ifconfig_em0="DHCP"
1611.Ed
1612.Pp
1613If you want to configure your wireless interface with
1614.Xr wpa_supplicant 8
1615for use with WPA, EAP/LEAP or WEP, you need to add
1616.Dq Li WPA
1617to the
1618.Va ifconfig_ Ns Aq Ar interface
1619variable.
1620.Pp
1621On the other hand, if you want to configure your wireless interface with
1622.Xr hostapd 8 ,
1623you need to add
1624.Dq Li HOSTAP
1625to the
1626.Va ifconfig_ Ns Aq Ar interface
1627variable.
1628.Xr hostapd 8
1629will use the settings from
1630.Pa /etc/hostapd- Ns Ao Ar interface Ac Ns .conf
1631.Pp
1632Finally, you can add
1633.Xr ifconfig 8
1634options in this variable, in addition to the
1635.Pa /etc/start_if . Ns Aq Ar interface
1636file.
1637For instance, to configure an
1638.Xr ath 4
1639wireless device in station mode with an address obtained
1640via DHCP, using WPA authentication and 802.11b mode, it is
1641possible to use something like:
1642.Bd -literal
1643wlans_ath0="wlan0"
1644ifconfig_wlan0="DHCP WPA mode 11b"
1645.Ed
1646.Pp
1647In addition to the
1648.Va ifconfig_ Ns Aq Ar interface
1649form, a fallback variable
1650.Va ifconfig_DEFAULT
1651may be configured.
1652It will be used for all interfaces with no
1653.Va ifconfig_ Ns Aq Ar interface
1654variable.
1655This is intended to replace the no longer supported
1656.Va pccard_ifconfig
1657variable.
1658.Pp
1659It is also possible to rename an interface by doing:
1660.Bd -literal
1661ifconfig_em0_name="net0"
1662ifconfig_net0="inet 192.0.2.1 netmask 0xffffff00"
1663.Ed
1664.It Va ipv6_enable
1665.Pq Vt bool
1666This variable is deprecated.
1667Use
1668.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1669and
1670.Va ipv6_activate_all_interfaces
1671if necessary.
1672.Pp
1673If the variable is
1674.Dq Li YES ,
1675.Dq Li inet6 accept_rtadv
1676is added to all of
1677.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1678and the
1679.Va ipv6_activate_all_interfaces
1680is defined as
1681.Dq Li YES .
1682.It Va ipv6_prefer
1683.Pq Vt bool
1684This variable is deprecated.
1685Use
1686.Va ip6addrctl_policy
1687instead.
1688.Pp
1689If the variable is
1690.Dq Li YES ,
1691the default address selection policy table set by
1692.Xr ip6addrctl 8
1693will be IPv6-preferred.
1694.Pp
1695If the variable is
1696.Dq Li NO ,
1697the default address selection policy table set by
1698.Xr ip6addrctl 8
1699will be IPv4-preferred.
1700.It Va ipv6_activate_all_interfaces
1701.Pq Vt bool
1702This controls initial configuration on IPv6-capable
1703interfaces with no corresponding
1704.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1705variable.
1706Note that it is not always necessary to set this variable to
1707.Dq YES
1708to use IPv6 functionality on
1709.Fx .
1710In most cases, just configuring
1711.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1712variables works.
1713.Pp
1714If the variable is
1715.Dq Li NO ,
1716all interfaces which do not have a corresponding
1717.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1718variable will be marked as
1719.Dq Li IFDISABLED
1720at creation.
1721This means that all of IPv6 functionality on that interface
1722is completely disabled to enforce a security policy.
1723If the variable is set to
1724.Dq YES ,
1725the flag will be cleared on all of the interfaces.
1726.Pp
1727In most cases, just defining an
1728.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1729for an IPv6-capable interface should be sufficient.
1730However, if an interface is added dynamically
1731.Pq by some tunneling protocols such as PPP, for example ,
1732it is often difficult to define the variable in advance.
1733In such a case, configuring the
1734.Dq Li IFDISABLED
1735flag can be disabled by setting this variable to
1736.Dq YES .
1737.Pp
1738For more details of the
1739.Dq Li IFDISABLED
1740flag and keywords
1741.Dq Li inet6 ifdisabled ,
1742see
1743.Xr ifconfig 8 .
1744.Pp
1745Default is
1746.Dq Li NO .
1747.It Va ipv6_privacy
1748.Pq Vt bool
1749If the variable is
1750.Dq Li YES
1751privacy addresses will be generated for each IPv6
1752interface as described in RFC 4941.
1753.It Va ipv6_network_interfaces
1754.Pq Vt str
1755This is the IPv6 equivalent of
1756.Va network_interfaces .
1757Normally manual configuration of this variable is not needed.
1758.It Va ipv6_cpe_wanif
1759.Pq Vt str
1760If the variable is set to an interface name,
1761the
1762.Xr ifconfig 8
1763options
1764.Dq inet6 -no_radr accept_rtadv
1765will be added to the specified interface automatically before evaluating
1766.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1767and two
1768.Xr sysctl 8
1769variables
1770.Va net.inet6.ip6.rfc6204w3
1771and
1772.Va net.inet6.ip6.no_radr
1773will be set to 1.
1774.Pp
1775This means the specified interface will accept ICMPv6 Router
1776Advertisement messages on that link and add the discovered
1777routers into the Default Router List.
1778While the other interfaces can still accept RA messages if the
1779.Dq inet6 accept_rtadv
1780option is specified, adding
1781routes into the Default Router List will be disabled by
1782.Dq inet6 no_radr
1783option by default.
1784See
1785.Xr ifconfig 8
1786for more details.
1787.Pp
1788Note that ICMPv6 Router Advertisement messages will be
1789accepted even when
1790.Va net.inet6.ip6.forwarding
1791is 1
1792.Pq packet forwarding is enabled
1793when
1794.Va net.inet6.ip6.rfc6204w3
1795is set to 1.
1796.Pp
1797Default is
1798.Dq Li NO .
1799.It Va ifconfig_ Ns Ao Ar interface Ac Ns _descr
1800.Pq Vt str
1801This assigns arbitrary description to an interface.
1802The
1803.Xr sysctl 8
1804variable
1805.Va net.ifdescr_maxlen
1806limits its length.
1807This static setting may be overridden by commands
1808started with dynamic interface configuration utilities
1809like
1810.Xr dhclient 8
1811hooks.
1812The description can be seen with
1813.Xr ifconfig 8
1814command and it may be exported with
1815.Xr bsnmpd 1
1816daemon using its MIB-2 module.
1817.It Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1818.Pq Vt str
1819IPv6 functionality on an interface should be configured by
1820.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 ,
1821instead of setting ifconfig parameters in
1822.Va ifconfig_ Ns Aq Ar interface .
1823If this variable is empty, all of IPv6 configurations on the
1824specified interface by other variables such as
1825.Va ipv6_prefix_ Ns Ao Ar interface Ac
1826will be ignored.
1827.Pp
1828Aliases should be set by
1829.Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1830with
1831.Dq Li inet6
1832keyword.
1833For example:
1834.Bd -literal
1835ifconfig_em0_ipv6="inet6 2001:db8:1::1 prefixlen 64"
1836ifconfig_em0_alias0="inet6 2001:db8:2::1 prefixlen 64"
1837.Ed
1838.Pp
1839Interfaces that have an
1840.Dq Li inet6 accept_rtadv
1841keyword in
1842.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1843setting will be automatically configured by SLAAC
1844.Pq StateLess Address AutoConfiguration
1845described in
1846.Rs
1847.%T "RFC 4862"
1848.Re
1849.Pp
1850Note that a link-local address will be automatically configured in
1851addition to the configured global-scope addresses because the IPv6
1852specifications require it on each link.
1853The address is calculated from the MAC address by using an algorithm
1854defined in
1855.Rs
1856.%T "RFC 4862"
1857.%O "Section 5.3"
1858.Re
1859.Pp
1860If only a link-local address is needed on the interface,
1861the following configuration can be used:
1862.Bd -literal
1863ifconfig_em0_ipv6="inet6 auto_linklocal"
1864.Ed
1865.Pp
1866A link-local address can also be configured manually.
1867This is useful for the default router address of an IPv6 router
1868so that it does not change when the network interface
1869card is replaced.
1870For example:
1871.Bd -literal
1872ifconfig_em0_ipv6="inet6 fe80::1 prefixlen 64"
1873.Ed
1874.It Va ipv6_prefix_ Ns Aq Ar interface
1875.Pq Vt str
1876If one or more prefixes are defined in
1877.Va ipv6_prefix_ Ns Aq Ar interface
1878addresses based on each prefix and the EUI-64 interface index will be
1879configured on that interface.
1880Note that this variable will be ignored when
1881.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6
1882is empty.
1883.Pp
1884For example, the following configuration
1885.Bd -literal
1886ipv6_prefix_em0="2001:db8:1:0 2001:db8:2:0"
1887.Ed
1888.Pp
1889is equivalent to the following:
1890.Bd -literal
1891ifconfig_em0_alias0="inet6 2001:db8:1:: eui64 prefixlen 64"
1892ifconfig_em0_alias1="inet6 2001:db8:1:: prefixlen 64 anycast"
1893ifconfig_em0_alias2="inet6 2001:db8:2:: eui64 prefixlen 64"
1894ifconfig_em0_alias3="inet6 2001:db8:2:: prefixlen 64 anycast"
1895.Ed
1896.Pp
1897These Subnet-Router anycast addresses will be added only when
1898.Va ipv6_gateway_enable
1899is YES.
1900.It Va ipv6_default_interface
1901.Pq Vt str
1902If not set to
1903.Dq Li NO ,
1904this is the default output interface for scoped addresses.
1905This works only with ipv6_gateway_enable="NO".
1906.It Va ip6addrctl_enable
1907.Pq Vt bool
1908This variable is to enable configuring default address selection policy table
1909.Pq RFC 3484 .
1910The table can be specified in another variable
1911.Va ip6addrctl_policy .
1912For
1913.Va ip6addrctl_policy
1914the following keywords can be specified:
1915.Dq Li ipv4_prefer ,
1916.Dq Li ipv6_prefer ,
1917or
1918.Dq Li AUTO .
1919.Pp
1920If
1921.Dq Li ipv4_prefer
1922or
1923.Dq Li ipv6_prefer
1924is specified,
1925.Xr ip6addrctl 8
1926installs a pre-defined policy table described in Section 10.3
1927.Pq IPv4-preferred
1928or 2.1
1929.Pq IPv6-preferred
1930of RFC 3484.
1931.Pp
1932If
1933.Dq Li AUTO
1934is specified, it attempts to read a file
1935.Pa /etc/ip6addrctl.conf
1936first.
1937If this file is found,
1938.Xr ip6addrctl 8
1939reads and installs it.
1940If not found, a policy is automatically set
1941according to
1942.Va ipv6_activate_all_interfaces
1943variable; if the variable is set to
1944.Dq Li YES
1945the IPv6-preferred one is used.
1946Otherwise IPv4-preferred.
1947.Pp
1948The default value of
1949.Va ip6addrctl_enable
1950and
1951.Va ip6addrctl_policy
1952are
1953.Dq Li YES
1954and
1955.Dq Li AUTO ,
1956respectively.
1957.It Va cloned_interfaces
1958.Pq Vt str
1959Set to the list of clonable network interfaces to create on this host.
1960Further cloning arguments may be passed to the
1961.Xr ifconfig 8
1962.Cm create
1963command for each interface by setting the
1964.Va create_args_ Ns Aq Ar interface
1965variable.
1966If an interface name is specified with
1967.Dq :sticky
1968keyword,
1969the interface will not be destroyed even when
1970.Pa rc.d/netif
1971script is invoked with
1972.Dq stop
1973argument.
1974This is useful when reconfiguring the interface without destroying it.
1975Entries in
1976.Va cloned_interfaces
1977are automatically appended to
1978.Va network_interfaces
1979for configuration.
1980.It Va cloned_interfaces_sticky
1981.Pq Vt bool
1982This variable is to globally enable functionality of
1983.Dq :sticky
1984keyword in
1985.Va cloned_interfaces
1986for all interfaces.
1987The default value is
1988.Dq NO .
1989Even if this variable is specified to
1990.Dq YES ,
1991.Dq :nosticky
1992keyword can be used to override it on per interface basis.
1993.It Va gif_interfaces
1994Set to the list of
1995.Xr gif 4
1996tunnel interfaces to configure on this host.
1997A
1998.Va gifconfig_ Ns Aq Ar interface
1999variable is assumed to exist for each value of
2000.Ar interface .
2001The value of this variable is used to configure the link layer of the
2002tunnel using the
2003.Cm tunnel
2004option to
2005.Xr ifconfig 8 .
2006Additionally, this option ensures that each listed interface is created
2007via the
2008.Cm create
2009option to
2010.Xr ifconfig 8
2011before attempting to configure it.
2012.Pp
2013For example, configure two
2014.Xr gif 4
2015interfaces with:
2016.Bd -literal
2017gif_interfaces="gif0 gif1"
2018gifconfig_gif0="100.64.0.1 100.64.0.2"
2019ifconfig_gif0="inet 10.0.0.1 10.0.0.2 netmask 255.255.255.252"
2020gifconfig_gif1="inet6 2a00::1 2a01::1"
2021ifconfig_gif1="inet 10.1.0.1 10.1.0.2 netmask 255.255.255.252"
2022.Ed
2023.It Va ppp_enable
2024.Pq Vt bool
2025If set to
2026.Dq Li YES ,
2027run the
2028.Xr ppp 8
2029daemon.
2030.It Va ppp_profile
2031.Pq Vt str
2032The name of the profile to use from
2033.Pa /etc/ppp/ppp.conf .
2034Also used for per-profile overrides of
2035.Va ppp_mode
2036and
2037.Va ppp_nat ,
2038and
2039.Va ppp_ Ns Ao Ar profile Ac Ns _unit .
2040When the profile name contains any of the characters
2041.Dq Li .-/+
2042they are translated to
2043.Dq Li _
2044for the proposes of the override variable names.
2045.It Va ppp_mode
2046.Pq Vt str
2047Mode in which to run the
2048.Xr ppp 8
2049daemon.
2050.It Va ppp_ Ns Ao Ar profile Ac Ns _mode
2051.Pq Vt str
2052Overrides the global
2053.Va ppp_mode
2054for
2055.Ar profile .
2056Accepted modes are
2057.Dq Li auto ,
2058.Dq Li ddial ,
2059.Dq Li direct
2060and
2061.Dq Li dedicated .
2062See the manual for a full description.
2063.It Va ppp_nat
2064.Pq Vt bool
2065If set to
2066.Dq Li YES ,
2067enables network address translation.
2068Used in conjunction with
2069.Va gateway_enable
2070allows hosts on private network addresses access to the Internet using
2071this host as a network address translating router.
2072Default is
2073.Dq Li YES .
2074.It Va ppp_ Ns Ao Ar profile Ac Ns _nat
2075.Pq Vt str
2076Overrides the global
2077.Va ppp_nat
2078for
2079.Ar profile .
2080.It Va ppp_ Ns Ao Ar profile Ac Ns _unit
2081.Pq Vt int
2082Set the unit number to be used for this profile.
2083See the manual description of
2084.Fl unit Ns Ar N
2085for details.
2086.It Va ppp_user
2087.Pq Vt str
2088The name of the user under which
2089.Xr ppp 8
2090should be started.
2091By
2092default,
2093.Xr ppp 8
2094is started as
2095.Dq Li root .
2096.It Va rc_conf_files
2097.Pq Vt str
2098This option is used to specify a list of files that will override
2099the settings in
2100.Pa /etc/defaults/rc.conf .
2101The files will be read in the order in which they are specified and should
2102include the full path to the file.
2103By default, the files specified are
2104.Pa /etc/rc.conf
2105and
2106.Pa /etc/rc.conf.local
2107.It Va zfs_enable
2108.Pq Vt bool
2109If set to
2110.Dq Li YES ,
2111.Pa /etc/rc.d/zfs
2112will attempt to automatically mount ZFS file systems and initialize ZFS volumes
2113(ZVOLs).
2114.It Va zpool_reguid
2115.Pq Vt str
2116A space-separated list of ZFS pool names for which new pool GUIDs should be
2117assigned upon first boot.
2118This is useful when using a ZFS pool copied from a template, such as a virtual
2119machine image.
2120.It Va zpool_upgrade
2121.Pq Vt str
2122A space-separated list of ZFS pool names for which version should be upgraded
2123upon first boot.
2124This is useful when using a ZFS pool generated by the
2125.Xr makefs 8
2126utility.
2127.It Va gptboot_enable
2128.Pq Vt bool
2129If set to
2130.Dq Li YES ,
2131.Pa /etc/rc.d/gptboot
2132will log if the system successfully (or not) booted from a GPT partition,
2133which had the
2134.Ar bootonce
2135attribute set using
2136.Xr gpart 8
2137utility.
2138.It Va gbde_autoattach_all
2139.Pq Vt bool
2140If set to
2141.Dq Li YES ,
2142.Pa /etc/rc.d/gbde
2143will attempt to automatically initialize your .bde devices in
2144.Pa /etc/fstab .
2145.It Va gbde_devices
2146.Pq Vt str
2147List the devices that the script should try to attach,
2148or
2149.Dq Li AUTO .
2150.It Va gbde_lockdir
2151.Pq Vt str
2152The directory where the
2153.Xr gbde 4
2154lockfiles are located.
2155The default lockfile directory is
2156.Pa /etc .
2157.Pp
2158The lockfile for each individual
2159.Xr gbde 4
2160device can be overridden by setting the variable
2161.Va gbde_lock_ Ns Aq Ar device ,
2162where
2163.Ar device
2164is the encrypted device without the
2165.Dq Pa /dev/
2166and
2167.Dq Pa .bde
2168parts.
2169.It Va gbde_attach_attempts
2170.Pq Vt int
2171Number of times to attempt attaching to a
2172.Xr gbde 4
2173device, i.e., how many times the user is asked for the pass-phrase.
2174Default is 3.
2175.It Va geli_devices
2176.Pq Vt str
2177List of devices to automatically attach on boot.
2178Note that .eli devices from
2179.Pa /etc/fstab
2180are automatically appended to this list.
2181.It Va geli_groups
2182.Pq Vt str
2183List of groups containing devices to automatically attach on boot with the same
2184keyfiles and passphrase.
2185This must be accompanied with a corresponding
2186.Va geli_ Ns Ao Ar group Ac Ns Va _devices
2187variable.
2188.It Va geli_tries
2189.Pq Vt int
2190Number of times user is asked for the pass-phrase.
2191If empty, it will be taken from
2192.Va kern.geom.eli.tries
2193sysctl variable.
2194.It Va geli_default_flags
2195.Pq Vt str
2196Default flags to use by
2197.Xr geli 8
2198when configuring disk encryption.
2199Flags can be configured for every device separately by defining the
2200.Va geli_ Ns Ao Ar device Ac Ns Va _flags
2201variable, and for every group separately by defining the
2202.Va geli_ Ns Ao Ar group Ac Ns Va _flags
2203variable.
2204.It Va geli_autodetach
2205.Pq Vt str
2206Specifies if GELI devices should be marked for detach on last close after
2207file systems are mounted.
2208Default is
2209.Dq Li YES .
2210This can be changed for every device separately by defining the
2211.Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
2212variable.
2213.It Va root_rw_mount
2214.Pq Vt bool
2215Set to
2216.Dq Li YES
2217by default.
2218After the file systems are checked at boot time, the root file system
2219is remounted as read-write if this is set to
2220.Dq Li YES .
2221Diskless systems that mount their root file system from a read-only remote
2222NFS share should set this to
2223.Dq Li NO
2224in their
2225.Pa rc.conf .
2226.It Va fsck_y_enable
2227.Pq Vt bool
2228If set to
2229.Dq Li YES ,
2230.Xr fsck 8
2231will be run with the
2232.Fl y
2233flag if the initial preen
2234of the file systems fails.
2235.It Va background_fsck
2236.Pq Vt bool
2237If set to
2238.Dq Li NO ,
2239the system will not attempt to run
2240.Xr fsck 8
2241in the background where possible.
2242.It Va background_fsck_delay
2243.Pq Vt int
2244The amount of time in seconds to sleep before starting a background
2245.Xr fsck 8 .
2246It defaults to sixty seconds to allow large applications such as
2247the X server to start before disk I/O bandwidth is monopolized by
2248.Xr fsck 8 .
2249If set to a negative number, the background file system check will be
2250delayed indefinitely to allow the administrator to run it at a more
2251convenient time.
2252For example it may be run from
2253.Xr cron 8
2254by adding a line like
2255.Pp
2256.Dl "0 4 * * * root /etc/rc.d/bgfsck forcestart"
2257.Pp
2258to
2259.Pa /etc/crontab .
2260.It Va netfs_types
2261.Pq Vt str
2262List of file system types that are network-based.
2263This list should generally not be modified by end users.
2264Use
2265.Va extra_netfs_types
2266instead.
2267.It Va extra_netfs_types
2268.Pq Vt str
2269If set to something other than
2270.Dq Li NO
2271(the default),
2272this variable extends the list of file system types
2273for which automatic mounting at startup by
2274.Xr rc 8
2275should be delayed until the network is initialized.
2276It should contain
2277a whitespace-separated list of network file system descriptor pairs,
2278each consisting of a file system type as passed to
2279.Xr mount 8
2280and a human-readable, one-word description,
2281joined with a colon
2282.Pq Ql \&: .
2283Extending the default list in this way is only necessary
2284when third party file system types are used.
2285.It Va syslogd_enable
2286.Pq Vt bool
2287If set to
2288.Dq Li YES ,
2289run the
2290.Xr syslogd 8
2291daemon.
2292.It Va syslogd_program
2293.Pq Vt str
2294Path to
2295.Xr syslogd 8
2296(default
2297.Pa /usr/sbin/syslogd ) .
2298.It Va syslogd_flags
2299.Pq Vt str
2300If
2301.Va syslogd_enable
2302is set to
2303.Dq Li YES ,
2304these are the flags to pass to
2305.Xr syslogd 8 .
2306.It Va inetd_enable
2307.Pq Vt bool
2308If set to
2309.Dq Li YES ,
2310run the
2311.Xr inetd 8
2312daemon.
2313.It Va inetd_program
2314.Pq Vt str
2315Path to
2316.Xr inetd 8
2317(default
2318.Pa /usr/sbin/inetd ) .
2319.It Va inetd_flags
2320.Pq Vt str
2321If
2322.Va inetd_enable
2323is set to
2324.Dq Li YES ,
2325these are the flags to pass to
2326.Xr inetd 8 .
2327.It Va hastd_enable
2328.Pq Vt bool
2329If set to
2330.Dq Li YES ,
2331run the
2332.Xr hastd 8
2333daemon.
2334.It Va hastd_program
2335.Pq Vt str
2336Path to
2337.Xr hastd 8
2338(default
2339.Pa /sbin/hastd ) .
2340.It Va hastd_flags
2341.Pq Vt str
2342If
2343.Va hastd_enable
2344is set to
2345.Dq Li YES ,
2346these are the flags to pass to
2347.Xr hastd 8 .
2348.It Va local_unbound_enable
2349.Pq Vt bool
2350If set to
2351.Dq Li YES ,
2352run the
2353.Xr unbound 8
2354daemon as a local caching DNS resolver.
2355.It Va nscd_enable
2356.Pq Vt bool
2357Set to
2358.Dq Li YES
2359to start the
2360.Xr nscd 8
2361caching daemon for the
2362.Nm nsswitch
2363subsystem.
2364.It Va nscd_flags
2365.Pq Vt str
2366If
2367.Va nscd_enable
2368is set to
2369.Dq Li YES ,
2370these flags are passed to
2371.Xr nscd 8 .
2372.It Va kdc_enable
2373.Pq Vt bool
2374Set to
2375.Dq Li YES
2376to start a Kerberos 5 authentication server
2377at boot time.
2378.It Va kdc_program
2379.Pq Vt str
2380If
2381.Va kdc_enable
2382is set to
2383.Dq Li YES
2384this is the path to Kerberos 5 Authentication Server.
2385.It Va kdc_flags
2386.Pq Vt str
2387Empty by default.
2388This variable contains additional flags to be passed to the Kerberos 5
2389authentication server.
2390.It Va kadmind_enable
2391.Pq Vt bool
2392Set to
2393.Dq Li YES
2394to start
2395.Xr kadmind 8 ,
2396the Kerberos 5 Administration Daemon; set to
2397.Dq Li NO
2398on a slave server.
2399.It Va kadmind_program
2400.Pq Vt str
2401If
2402.Va kadmind_enable
2403is set to
2404.Dq Li YES
2405this is the path to Kerberos 5 Administration Daemon.
2406.It Va kpasswdd_enable
2407.Pq Vt bool
2408Set to
2409.Dq Li YES
2410to start
2411.Xr kpasswdd 8 ,
2412the Kerberos 5 Password-Changing Daemon; set to
2413.Dq Li NO
2414on a slave server.
2415.It Va kpasswdd_program
2416.Pq Vt str
2417If
2418.Va kpasswdd_enable
2419is set to
2420.Dq Li YES
2421this is the path to Kerberos 5 Password-Changing Daemon.
2422.It Va kfd_enable
2423.Pq Vt bool
2424Set to
2425.Dq Li YES
2426to start
2427.Xr kfd 8 ,
2428the Kerberos 5 ticket forwarding daemon, at the boot time.
2429.It Va kfd_program
2430.Pq Vt str
2431Path to
2432.Xr kfd 8
2433(default
2434.Pa /usr/libexec/kfd ) .
2435.It Va rwhod_enable
2436.Pq Vt bool
2437If set to
2438.Dq Li YES ,
2439run the
2440.Xr rwhod 8
2441daemon at boot time.
2442.It Va rwhod_flags
2443.Pq Vt str
2444If
2445.Va rwhod_enable
2446is set to
2447.Dq Li YES ,
2448these are the flags to pass to it.
2449.It Va update_motd
2450.Pq Vt bool
2451If set to
2452.Dq Li YES ,
2453.Pa /etc/motd
2454will be updated at boot time to reflect the kernel release
2455being run.
2456If set to
2457.Dq Li NO ,
2458.Pa /etc/motd
2459will not be updated.
2460.It Va nfs_client_enable
2461.Pq Vt bool
2462If set to
2463.Dq Li YES ,
2464run the NFS client daemons at boot time.
2465.It Va nfs_access_cache
2466.Pq Vt int
2467If
2468.Va nfs_client_enable
2469is set to
2470.Dq Li YES ,
2471this can be set to
2472.Dq Li 0
2473to disable NFS ACCESS RPC caching, or to the number of seconds for which
2474NFS ACCESS
2475results should be cached.
2476A value of 2-10 seconds will substantially reduce network
2477traffic for many NFS operations.
2478.It Va nfs_server_enable
2479.Pq Vt bool
2480If set to
2481.Dq Li YES ,
2482run the NFS server daemons at boot time.
2483.It Va nfs_server_flags
2484.Pq Vt str
2485If
2486.Va nfs_server_enable
2487is set to
2488.Dq Li YES ,
2489these are the flags to pass to the
2490.Xr nfsd 8
2491daemon.
2492.It Va nfsv4_server_enable
2493.Pq Vt bool
2494If
2495.Va nfs_server_enable
2496is set to
2497.Dq Li YES
2498and
2499.Va nfsv4_server_enable
2500is set to
2501.Dq Li YES ,
2502enable the server for NFSv4 as well as NFSv2 and NFSv3.
2503.It Va nfsv4_server_only
2504.Pq Vt bool
2505If
2506.Va nfs_server_enable
2507is set to
2508.Dq Li YES
2509and
2510.Va nfsv4_server_only
2511is set to
2512.Dq Li YES ,
2513enable the NFS server for NFSv4 only.
2514.It Va nfs_server_maxio
2515.Pq Vt int
2516value to set vfs.nfsd.srvmaxio to, which is the
2517maximum I/O size for the NFS server.
2518.It Va tlsclntd_enable
2519.Pq Vt bool
2520If set to
2521.Dq Li YES ,
2522run the
2523.Xr rpc.tlsclntd 8
2524daemon, which is needed for NFS-over-TLS NFS mounts.
2525.It Va tlsservd_enable
2526.Pq Vt bool
2527If set to
2528.Dq Li YES ,
2529run the
2530.Xr rpc.tlsservd 8
2531daemon, which is needed for the
2532.Xr nfsd 8
2533to support NFS-over-TLS NFS mounts.
2534.It Va nfsuserd_enable
2535.Pq Vt bool
2536If
2537.Va nfsuserd_enable
2538is set to
2539.Dq Li YES ,
2540run the nfsuserd daemon, which is needed for NFSv4 in order
2541to map between user/group names vs uid/gid numbers.
2542If
2543.Va nfsv4_server_enable
2544is set to
2545.Dq Li YES ,
2546this will be forced enabled.
2547.It Va nfsuserd_flags
2548.Pq Vt str
2549If
2550.Va nfsuserd_enable
2551is set to
2552.Dq Li YES ,
2553these are the flags to pass to the
2554.Xr nfsuserd 8
2555daemon.
2556.It Va nfscbd_enable
2557.Pq Vt bool
2558If
2559.Va nfscbd_enable
2560is set to
2561.Dq Li YES ,
2562run the nfscbd daemon, which enables callbacks/delegations for the NFSv4 client.
2563.It Va nfscbd_flags
2564.Pq Vt str
2565If
2566.Va nfscbd_enable
2567is set to
2568.Dq Li YES ,
2569these are the flags to pass to the
2570.Xr nfscbd 8
2571daemon.
2572.It Va mountd_enable
2573.Pq Vt bool
2574If set to
2575.Dq Li YES ,
2576and no
2577.Va nfs_server_enable
2578is set, start
2579.Xr mountd 8 ,
2580but not
2581.Xr nfsd 8
2582daemon.
2583It is commonly needed to run CFS without real NFS used.
2584.It Va mountd_flags
2585.Pq Vt str
2586If
2587.Va mountd_enable
2588is set to
2589.Dq Li YES ,
2590these are the flags to pass to the
2591.Xr mountd 8
2592daemon.
2593.It Va weak_mountd_authentication
2594.Pq Vt bool
2595If set to
2596.Dq Li YES ,
2597allow services like PCNFSD to make non-privileged mount
2598requests.
2599.It Va nfs_reserved_port_only
2600.Pq Vt bool
2601If set to
2602.Dq Li YES ,
2603provide NFS services only on a secure port.
2604.It Va nfs_bufpackets
2605.Pq Vt int
2606If set to a number, indicates the number of packets worth of
2607socket buffer space to reserve on an NFS client.
2608The kernel default is typically 4.
2609Using a higher number may be
2610useful on gigabit networks to improve performance.
2611The minimum value is
26122 and the maximum is 64.
2613.It Va rpc_lockd_enable
2614.Pq Vt bool
2615If set to
2616.Dq Li YES
2617and also an NFS server or client, run
2618.Xr rpc.lockd 8
2619at boot time.
2620.It Va rpc_lockd_flags
2621.Pq Vt str
2622If
2623.Va rpc_lockd_enable
2624is set to
2625.Dq Li YES ,
2626these are the flags to pass to the
2627.Xr rpc.lockd 8
2628daemon.
2629.It Va rpc_statd_enable
2630.Pq Vt bool
2631If set to
2632.Dq Li YES
2633and also an NFS server or client, run
2634.Xr rpc.statd 8
2635at boot time.
2636.It Va rpc_statd_flags
2637.Pq Vt str
2638If
2639.Va rpc_statd_enable
2640is set to
2641.Dq Li YES ,
2642these are the flags to pass to the
2643.Xr rpc.statd 8
2644daemon.
2645.It Va rpcbind_program
2646.Pq Vt str
2647Path to
2648.Xr rpcbind 8
2649(default
2650.Pa /usr/sbin/rpcbind ) .
2651.It Va rpcbind_enable
2652.Pq Vt bool
2653If set to
2654.Dq Li YES ,
2655run the
2656.Xr rpcbind 8
2657service at boot time.
2658.It Va rpcbind_flags
2659.Pq Vt str
2660If
2661.Va rpcbind_enable
2662is set to
2663.Dq Li YES ,
2664these are the flags to pass to the
2665.Xr rpcbind 8
2666daemon.
2667.It Va keyserv_enable
2668.Pq Vt bool
2669If set to
2670.Dq Li YES ,
2671run the
2672.Xr keyserv 8
2673daemon on boot for running Secure RPC.
2674.It Va keyserv_flags
2675.Pq Vt str
2676If
2677.Va keyserv_enable
2678is set to
2679.Dq Li YES ,
2680these are the flags to pass to
2681.Xr keyserv 8
2682daemon.
2683.It Va pppoed_enable
2684.Pq Vt bool
2685If set to
2686.Dq Li YES ,
2687run the
2688.Xr pppoed 8
2689daemon at boot time to provide PPP over Ethernet services.
2690.It Va pppoed_ Ns Aq Ar provider
2691.Pq Vt str
2692.Xr pppoed 8
2693listens to requests to this
2694.Ar provider
2695and ultimately runs
2696.Xr ppp 8
2697with a
2698.Ar system
2699argument of the same name.
2700.It Va pppoed_flags
2701.Pq Vt str
2702Additional flags to pass to
2703.Xr pppoed 8 .
2704.It Va pppoed_interface
2705.Pq Vt str
2706The network interface to run
2707.Xr pppoed 8
2708on.
2709This is mandatory when
2710.Va pppoed_enable
2711is set to
2712.Dq Li YES .
2713.It Va ntpdate_enable
2714.Pq Vt bool
2715If set to
2716.Dq Li YES ,
2717run
2718.Xr ntpdate 8
2719at system startup.
2720This command is intended to
2721synchronize the system clock only
2722.Em once
2723from some standard reference.
2724.Pp
2725Note that the use of the
2726.Va ntpd_sync_on_start
2727variable is a preferred alternative to the
2728.Xr ntpdate 8
2729utility as
2730.Xr ntpdate 8
2731is to be retired from the NTP distribution.
2732.It Va ntpdate_config
2733.Pq Vt str
2734Configuration file for
2735.Xr ntpdate 8 .
2736Default
2737.Pa /etc/ntp.conf .
2738.It Va ntpdate_hosts
2739.Pq Vt str
2740A whitespace-separated list of NTP servers to synchronize with at startup.
2741The default is to use the servers listed in
2742.Va ntpdate_config ,
2743if that file exists.
2744.It Va ntpdate_program
2745.Pq Vt str
2746Path to
2747.Xr ntpdate 8
2748(default
2749.Pa /usr/sbin/ntpdate ) .
2750.It Va ntpdate_flags
2751.Pq Vt str
2752If
2753.Va ntpdate_enable
2754is set to
2755.Dq Li YES ,
2756these are the flags to pass to the
2757.Xr ntpdate 8
2758command (typically a hostname).
2759.It Va ntpd_enable
2760.Pq Vt bool
2761If set to
2762.Dq Li YES ,
2763run the
2764.Xr ntpd 8
2765command at boot time.
2766.It Va ntpd_program
2767.Pq Vt str
2768Path to
2769.Xr ntpd 8
2770(default
2771.Pa /usr/sbin/ntpd ) .
2772.It Va ntpd_config
2773.Pq Vt str
2774Path to
2775.Xr ntpd 8
2776configuration file.
2777Default
2778.Pa /etc/ntp.conf .
2779.It Va ntpd_flags
2780.Pq Vt str
2781If
2782.Va ntpd_enable
2783is set to
2784.Dq Li YES ,
2785these are the flags to pass to the
2786.Xr ntpd 8
2787daemon.
2788.It Va ntpd_sync_on_start
2789.Pq Vt bool
2790If set to
2791.Dq Li YES ,
2792.Xr ntpd 8
2793is run with the
2794.Fl g
2795flag, which syncs the system's clock on startup.
2796See
2797.Xr ntpd 8
2798for more information regarding the
2799.Fl g
2800option.
2801This is a preferred alternative to using
2802.Xr ntpdate 8
2803or specifying the
2804.Va ntpdate_enable
2805variable.
2806.It Va nis_client_enable
2807.Pq Vt bool
2808If set to
2809.Dq Li YES ,
2810run the
2811.Xr ypbind 8
2812service at system boot time.
2813.It Va nis_client_flags
2814.Pq Vt str
2815If
2816.Va nis_client_enable
2817is set to
2818.Dq Li YES ,
2819these are the flags to pass to the
2820.Xr ypbind 8
2821service.
2822.It Va nis_ypldap_enable
2823.Pq Vt bool
2824If set to
2825.Dq Li YES ,
2826run the
2827.Xr ypldap 8
2828daemon at system boot time.
2829.It Va nis_ypldap_flags
2830.Pq Vt str
2831If
2832.Va nis.ypldap_enable
2833is set to
2834.Dq Li YES ,
2835these are the flags to pass to the
2836.Xr ypldap 8
2837daemon.
2838.It Va nis_ypset_enable
2839.Pq Vt bool
2840If set to
2841.Dq Li YES ,
2842run the
2843.Xr ypset 8
2844daemon at system boot time.
2845.It Va nis_ypset_flags
2846.Pq Vt str
2847If
2848.Va nis_ypset_enable
2849is set to
2850.Dq Li YES ,
2851these are the flags to pass to the
2852.Xr ypset 8
2853daemon.
2854.It Va nis_server_enable
2855.Pq Vt bool
2856If set to
2857.Dq Li YES ,
2858run the
2859.Xr ypserv 8
2860daemon at system boot time.
2861.It Va nis_server_flags
2862.Pq Vt str
2863If
2864.Va nis_server_enable
2865is set to
2866.Dq Li YES ,
2867these are the flags to pass to the
2868.Xr ypserv 8
2869daemon.
2870.It Va nis_ypxfrd_enable
2871.Pq Vt bool
2872If set to
2873.Dq Li YES ,
2874run the
2875.Xr rpc.ypxfrd 8
2876daemon at system boot time.
2877.It Va nis_ypxfrd_flags
2878.Pq Vt str
2879If
2880.Va nis_ypxfrd_enable
2881is set to
2882.Dq Li YES ,
2883these are the flags to pass to the
2884.Xr rpc.ypxfrd 8
2885daemon.
2886.It Va nis_yppasswdd_enable
2887.Pq Vt bool
2888If set to
2889.Dq Li YES ,
2890run the
2891.Xr rpc.yppasswdd 8
2892daemon at system boot time.
2893.It Va nis_yppasswdd_flags
2894.Pq Vt str
2895If
2896.Va nis_yppasswdd_enable
2897is set to
2898.Dq Li YES ,
2899these are the flags to pass to the
2900.Xr rpc.yppasswdd 8
2901daemon.
2902.It Va rpc_ypupdated_enable
2903.Pq Vt bool
2904If set to
2905.Dq Li YES ,
2906run the
2907.Nm rpc.ypupdated
2908daemon at system boot time.
2909.It Va bsnmpd_enable
2910.Pq Vt bool
2911If set to
2912.Dq Li YES ,
2913run the
2914.Xr bsnmpd 1
2915daemon at system boot time.
2916Be sure to understand the security implications of running SNMP daemon
2917on your host.
2918.It Va bsnmpd_flags
2919.Pq Vt str
2920If
2921.Va bsnmpd_enable
2922is set to
2923.Dq Li YES ,
2924these are the flags to pass to the
2925.Xr bsnmpd 1
2926daemon.
2927.It Va defaultrouter
2928.Pq Vt str
2929If not set to
2930.Dq Li NO ,
2931create a default route to this host name or IP address
2932(use an IP address if this router is also required to get to the
2933name server!).
2934.It Va defaultrouter_fibN
2935.Pq Vt str
2936If not set to
2937.Dq Li NO ,
2938create a default route in FIB N to this host name or IP address.
2939.It Va ipv6_defaultrouter
2940.Pq Vt str
2941The IPv6 equivalent of
2942.Va defaultrouter .
2943.It Va ipv6_defaultrouter_fibN
2944.Pq Vt str
2945The IPv6 equivalent of
2946.Va defaultrouter_fibN .
2947.It Va static_arp_pairs
2948.Pq Vt str
2949Set to the list of static ARP pairs that are to be added at system
2950boot time.
2951For each whitespace separated
2952.Ar element
2953in the value, a
2954.Va static_arp_ Ns Aq Ar element
2955variable is assumed to exist whose contents will later be passed to a
2956.Dq Nm arp Cm -S
2957operation.
2958For example
2959.Bd -literal
2960static_arp_pairs="gw"
2961static_arp_gw="192.168.1.1 00:01:02:03:04:05"
2962.Ed
2963.It Va static_ndp_pairs
2964.Pq Vt str
2965Set to the list of static NDP pairs that are to be added at system
2966boot time.
2967For each whitespace separated
2968.Ar element
2969in the value, a
2970.Va static_ndp_ Ns Aq Ar element
2971variable is assumed to exist whose contents will later be passed to a
2972.Dq Nm ndp Cm -s
2973operation.
2974For example
2975.Bd -literal
2976static_ndp_pairs="gw"
2977static_ndp_gw="2001:db8:3::1 00:01:02:03:04:05"
2978.Ed
2979.It Va static_routes
2980.Pq Vt str
2981Set to the list of static routes that are to be added at system
2982boot time.
2983If not set to
2984.Dq Li NO
2985then for each whitespace separated
2986.Ar element
2987in the value, a
2988.Va route_ Ns Aq Ar element
2989variable is assumed to exist
2990whose contents will later be passed to a
2991.Dq Nm route Cm add
2992operation.
2993For example:
2994.Bd -literal
2995static_routes="ext mcast:gif0 gif0local:gif0"
2996route_ext="-net 10.0.0.0/24 -gateway 192.168.0.1"
2997route_mcast="-net 224.0.0.0/4 -iface gif0"
2998route_gif0local="-host 169.254.1.1 -iface lo0"
2999.Ed
3000.Pp
3001When an
3002.Ar element
3003is in the form of
3004.Li name:ifname ,
3005the route is specific to the interface
3006.Li ifname .
3007.It Va ipv6_static_routes
3008.Pq Vt str
3009The IPv6 equivalent of
3010.Va static_routes .
3011If not set to
3012.Dq Li NO
3013then for each whitespace separated
3014.Ar element
3015in the value, a
3016.Va ipv6_route_ Ns Aq Ar element
3017variable is assumed to exist
3018whose contents will later be passed to a
3019.Dq Nm route Cm add Fl inet6
3020operation.
3021.It Va gateway_enable
3022.Pq Vt bool
3023If set to
3024.Dq Li YES ,
3025configure host to act as an IP router, e.g.\& to forward packets
3026between interfaces.
3027.It Va ipv6_gateway_enable
3028.Pq Vt bool
3029The IPv6 equivalent of
3030.Va gateway_enable .
3031.It Va routed_enable
3032.Pq Vt bool
3033If set to
3034.Dq Li YES ,
3035run a routing daemon of some sort, based on the
3036settings of
3037.Va routed_program
3038and
3039.Va routed_flags .
3040.It Va route6d_enable
3041.Pq Vt bool
3042The IPv6 equivalent of
3043.Va routed_enable .
3044If set to
3045.Dq Li YES ,
3046run a routing daemon of some sort, based on the
3047settings of
3048.Va route6d_program
3049and
3050.Va route6d_flags .
3051.It Va routed_program
3052.Pq Vt str
3053If
3054.Va routed_enable
3055is set to
3056.Dq Li YES ,
3057this is the name of the routing daemon to use.
3058.It Va route6d_program
3059.Pq Vt str
3060The IPv6 equivalent of
3061.Va routed_program .
3062.It Va routed_flags
3063.Pq Vt str
3064If
3065.Va routed_enable
3066is set to
3067.Dq Li YES ,
3068these are the flags to pass to the routing daemon.
3069.It Va route6d_flags
3070.Pq Vt str
3071The IPv6 equivalent of
3072.Va routed_flags .
3073.It Va rtadvd_enable
3074.Pq Vt bool
3075If set to
3076.Dq Li YES ,
3077run the
3078.Xr rtadvd 8
3079daemon at boot time.
3080The
3081.Xr rtadvd 8
3082utility sends ICMPv6 Router Advertisement messages to
3083the interfaces specified in
3084.Va rtadvd_interfaces .
3085This should only be enabled with great care.
3086You may want to fine-tune
3087.Xr rtadvd.conf 5 .
3088.It Va rtadvd_interfaces
3089.Pq Vt str
3090If
3091.Va rtadvd_enable
3092is set to
3093.Dq Li YES
3094this is the list of interfaces to use.
3095.It Va arpproxy_all
3096.Pq Vt bool
3097If set to
3098.Dq Li YES ,
3099enable global proxy ARP.
3100.It Va forward_sourceroute
3101.Pq Vt bool
3102If set to
3103.Dq Li YES
3104and
3105.Va gateway_enable
3106is also set to
3107.Dq Li YES ,
3108source-routed packets are forwarded.
3109.It Va accept_sourceroute
3110.Pq Vt bool
3111If set to
3112.Dq Li YES ,
3113the system will accept source-routed packets directed at it.
3114.It Va rarpd_enable
3115.Pq Vt bool
3116If set to
3117.Dq Li YES ,
3118run the
3119.Xr rarpd 8
3120daemon at system boot time.
3121.It Va rarpd_flags
3122.Pq Vt str
3123If
3124.Va rarpd_enable
3125is set to
3126.Dq Li YES ,
3127these are the flags to pass to the
3128.Xr rarpd 8
3129daemon.
3130.It Va bootparamd_enable
3131.Pq Vt bool
3132If set to
3133.Dq Li YES ,
3134run the
3135.Xr bootparamd 8
3136daemon at system boot time.
3137.It Va bootparamd_flags
3138.Pq Vt str
3139If
3140.Va bootparamd_enable
3141is set to
3142.Dq Li YES ,
3143these are the flags to pass to the
3144.Xr bootparamd 8
3145daemon.
3146.It Va stf_interface_ipv4addr
3147.Pq Vt str
3148If not set to
3149.Dq Li NO ,
3150this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
3151interface).
3152Specify this entry to enable the 6to4 interface.
3153.It Va stf_interface_ipv4plen
3154.Pq Vt int
3155Prefix length for 6to4 IPv4 addresses, to limit peer address range.
3156An effective value is 0-31.
3157.It Va stf_interface_ipv6_ifid
3158.Pq Vt str
3159IPv6 interface ID for
3160.Xr stf 4 .
3161This can be set to
3162.Dq Li AUTO .
3163.It Va stf_interface_ipv6_slaid
3164.Pq Vt str
3165IPv6 Site Level Aggregator for
3166.Xr stf 4 .
3167.It Va ipv6_ipv4mapping
3168.Pq Vt bool
3169If set to
3170.Dq Li YES
3171this enables IPv4 mapped IPv6 address communication (like
3172.Li ::ffff:a.b.c.d ) .
3173.It Va rtsold_enable
3174.Pq Vt bool
3175Set to
3176.Dq Li YES
3177to enable the
3178.Xr rtsold 8
3179daemon to send ICMPv6 Router Solicitation messages.
3180.It Va rtsold_flags
3181.Pq Vt str
3182If
3183.Va rtsold_enable
3184is set to
3185.Dq Li YES ,
3186these are the flags to pass to
3187.Xr rtsold 8 .
3188.It Va rtsol_flags
3189.Pq Vt str
3190For interfaces configured with the
3191.Dq Li inet6 accept_rtadv
3192keyword, these are the flags to pass to
3193.Xr rtsol 8 .
3194.Pp
3195Note that
3196.Va rtsold_enable
3197is mutually exclusive to
3198.Va rtsol_flags ;
3199.Va rtsold_enable
3200takes precedence.
3201.It Va keybell
3202.Pq Vt str
3203The keyboard bell sound.
3204Set to
3205.Dq Li normal ,
3206.Dq Li visual ,
3207.Dq Li off ,
3208or
3209.Dq Li NO
3210if the default behavior is desired.
3211For details, refer to the
3212.Xr kbdcontrol 1
3213manpage.
3214.It Va keyboard
3215.Pq Vt str
3216If set to a non-null string, the virtual console's keyboard input is
3217set to this device.
3218.It Va keymap
3219.Pq Vt str
3220If set to
3221.Dq Li NO ,
3222no keymap is installed, otherwise the value is used to install
3223the keymap file found in
3224.Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3225(if using
3226.Xr syscons 4 ) or
3227.Pa /usr/share/vt/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd
3228(if using
3229.Xr vt 4 ) .
3230.It Va keyrate
3231.Pq Vt str
3232The keyboard repeat speed.
3233Set to
3234.Dq Li slow ,
3235.Dq Li normal ,
3236.Dq Li fast ,
3237or
3238.Dq Li NO
3239if the default behavior is desired.
3240.It Va keychange
3241.Pq Vt str
3242If not set to
3243.Dq Li NO ,
3244attempt to program the function keys with the value.
3245The value should
3246be a single string of the form:
3247.Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
3248.It Va cursor
3249.Pq Vt str
3250Can be set to the value of
3251.Dq Li normal ,
3252.Dq Li blink ,
3253.Dq Li destructive ,
3254or
3255.Dq Li NO
3256to set the cursor behavior explicitly or choose the default behavior.
3257.It Va scrnmap
3258.Pq Vt str
3259If set to
3260.Dq Li NO ,
3261no screen map is installed, otherwise the value is used to install
3262the screen map file in
3263.Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
3264This parameter is ignored when using
3265.Xr vt 4
3266as the console driver.
3267.It Va font8x16
3268.Pq Vt str
3269If set to
3270.Dq Li NO ,
3271the default 8x16 font value is used for screen size requests, otherwise
3272the value in
3273.Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3274or
3275.Pa /usr/share/vt/fonts/ Ns Aq Ar value
3276is used (depending on the console driver being used).
3277.It Va font8x14
3278.Pq Vt str
3279If set to
3280.Dq Li NO ,
3281the default 8x14 font value is used for screen size requests, otherwise
3282the value in
3283.Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3284or
3285.Pa /usr/share/vt/fonts/ Ns Aq Ar value
3286is used (depending on the console driver being used).
3287.It Va font8x8
3288.Pq Vt str
3289If set to
3290.Dq Li NO ,
3291the default 8x8 font value is used for screen size requests, otherwise
3292the value in
3293.Pa /usr/share/syscons/fonts/ Ns Aq Ar value
3294or
3295.Pa /usr/share/vt/fonts/ Ns Aq Ar value
3296is used (depending on the console driver being used).
3297.It Va blanktime
3298.Pq Vt int
3299If set to
3300.Dq Li NO ,
3301the default screen blanking interval is used, otherwise it is set
3302to
3303.Ar value
3304seconds.
3305.It Va saver
3306.Pq Vt str
3307If not set to
3308.Dq Li NO ,
3309this is the actual screen saver to use
3310.Li ( blank , snake , daemon ,
3311etc).
3312.It Va moused_nondefault_enable
3313.Pq Vt str
3314If set to
3315.Dq Li NO ,
3316the mouse device specified on
3317the command line is not automatically treated as enabled by the
3318.Pa /etc/rc.d/moused
3319script.
3320Having this variable set to
3321.Dq Li YES
3322allows a
3323.Xr usb 4
3324mouse,
3325for example,
3326to be enabled as soon as it is plugged in.
3327.It Va moused_enable
3328.Pq Vt str
3329If set to
3330.Dq Li YES ,
3331the
3332.Xr moused 8
3333daemon is started for doing cut/paste selection on the console.
3334.It Va moused_type
3335.Pq Vt str
3336This is the protocol type of the mouse connected to this host.
3337This variable must be set if
3338.Va moused_enable
3339is set to
3340.Dq Li YES .
3341The
3342.Xr moused 8
3343daemon
3344is able to detect the appropriate mouse type automatically in many cases.
3345Set this variable to
3346.Dq Li auto
3347to let the daemon detect it, or
3348select one from the following list if the automatic detection fails.
3349.Pp
3350If the mouse is attached to the PS/2 mouse port, choose
3351.Dq Li auto
3352or
3353.Dq Li ps/2 ,
3354regardless of the brand and model of the mouse.
3355Likewise, if the
3356mouse is attached to the bus mouse port, choose
3357.Dq Li auto
3358or
3359.Dq Li busmouse .
3360All other protocols are for serial mice and will not work with
3361the PS/2 and bus mice.
3362If this is a USB mouse,
3363.Dq Li auto
3364is the only protocol type which will work.
3365.Pp
3366.Bl -tag -width ".Li x10mouseremote" -compact
3367.It Li microsoft
3368Microsoft mouse (serial)
3369.It Li intellimouse
3370Microsoft IntelliMouse (serial)
3371.It Li mousesystems
3372Mouse systems Corp.\& mouse (serial)
3373.It Li mmseries
3374MM Series mouse (serial)
3375.It Li logitech
3376Logitech mouse (serial)
3377.It Li busmouse
3378A bus mouse
3379.It Li mouseman
3380Logitech MouseMan and TrackMan (serial)
3381.It Li glidepoint
3382ALPS GlidePoint (serial)
3383.It Li thinkingmouse
3384Kensington ThinkingMouse (serial)
3385.It Li ps/2
3386PS/2 mouse
3387.It Li mmhittab
3388MM HitTablet (serial)
3389.It Li x10mouseremote
3390X10 MouseRemote (serial)
3391.It Li versapad
3392Interlink VersaPad (serial)
3393.El
3394.Pp
3395Even if the mouse is not in the above list, it may be compatible
3396with one in the list.
3397Refer to the manual page for
3398.Xr moused 8
3399for compatibility information.
3400.Pp
3401It should also be noted that while this is enabled, any
3402other client of the mouse (such as an X server) should access
3403the mouse through the virtual mouse device,
3404.Pa /dev/sysmouse ,
3405and configure it as a
3406.Dq Li sysmouse
3407type mouse, since all
3408mouse data is converted to this single canonical format when
3409using
3410.Xr moused 8 .
3411If the client program does not support the
3412.Dq Li sysmouse
3413type,
3414specify the
3415.Dq Li mousesystems
3416type.
3417It is the second preferred type.
3418.It Va moused_port
3419.Pq Vt str
3420If
3421.Va moused_enable
3422is set to
3423.Dq Li YES ,
3424this is the actual port the mouse is on.
3425It might be
3426.Pa /dev/cuau0
3427for a COM1 serial mouse, or
3428.Pa /dev/psm0
3429for a PS/2 mouse, for example.
3430.It Va moused_flags
3431.Pq Vt str
3432If
3433.Va moused_flags
3434is set, its value is used as an additional set of flags to pass to the
3435.Xr moused 8
3436daemon.
3437.It Va "moused_" Ns Ar XXX Ns Va "_flags"
3438When
3439.Va moused_nondefault_enable
3440is enabled, and a
3441.Xr moused 8
3442daemon is started for a non-default port, the
3443.Va "moused_" Ns Ar XXX Ns Va "_flags"
3444set of options has precedence over and replaces the default
3445.Va moused_flags
3446(where
3447.Ar XXX
3448is the name of the non-default port, i.e.,\&
3449.Ar ums0 ) .
3450By setting
3451.Va "moused_" Ns Ar XXX Ns Va "_flags"
3452it is possible to set up a different set of default flags for each
3453.Xr moused 8
3454instance.
3455For example, you can use
3456.Dq Li "-3"
3457for the default
3458.Va moused_flags
3459to make your laptop's touchpad more comfortable to use,
3460but an empty set of options for
3461.Va moused_ums0_flags
3462when your
3463.Xr usb 4
3464mouse has three or more buttons.
3465.It Va mousechar_start
3466.Pq Vt int
3467If set to
3468.Dq Li NO ,
3469the default mouse cursor character range
3470.Li 0xd0 Ns - Ns Li 0xd3
3471is used,
3472otherwise the range start is set
3473to
3474.Ar value
3475character, see
3476.Xr vidcontrol 1 .
3477Use if the default range is occupied in the language code table.
3478.It Va allscreens_flags
3479.Pq Vt str
3480If set,
3481.Xr vidcontrol 1
3482is run with these options for each of the virtual terminals
3483.Pq Pa /dev/ttyv* .
3484For example,
3485.Dq Fl m Cm on
3486will enable the mouse pointer on all virtual terminals
3487if
3488.Va moused_enable
3489is set to
3490.Dq Li YES .
3491.It Va allscreens_kbdflags
3492.Pq Vt str
3493If set,
3494.Xr kbdcontrol 1
3495is run with these options for each of the virtual terminals
3496.Pq Pa /dev/ttyv* .
3497For example,
3498.Dq Fl h Li 200
3499will set the
3500.Xr syscons 4
3501or
3502.Xr vt 4
3503scrollback (history) buffer to 200 lines.
3504.It Va cron_enable
3505.Pq Vt bool
3506If set to
3507.Dq Li YES ,
3508run the
3509.Xr cron 8
3510daemon at system boot time.
3511.It Va cron_program
3512.Pq Vt str
3513Path to
3514.Xr cron 8
3515(default
3516.Pa /usr/sbin/cron ) .
3517.It Va cron_flags
3518.Pq Vt str
3519If
3520.Va cron_enable
3521is set to
3522.Dq Li YES ,
3523these are the flags to pass to
3524.Xr cron 8 .
3525.It Va cron_dst
3526.Pq Vt bool
3527If set to
3528.Dq Li YES ,
3529enable the special handling of transitions to and from the
3530Daylight Saving Time in
3531.Xr cron 8
3532(equivalent to using the flag
3533.Fl s ) .
3534.It Va lpd_program
3535.Pq Vt str
3536Path to
3537.Xr lpd 8
3538(default
3539.Pa /usr/sbin/lpd ) .
3540.It Va lpd_enable
3541.Pq Vt bool
3542If set to
3543.Dq Li YES ,
3544run the
3545.Xr lpd 8
3546daemon at system boot time.
3547.It Va lpd_flags
3548.Pq Vt str
3549If
3550.Va lpd_enable
3551is set to
3552.Dq Li YES ,
3553these are the flags to pass to the
3554.Xr lpd 8
3555daemon.
3556.It Va chkprintcap_enable
3557.Pq Vt bool
3558If set to
3559.Dq Li YES ,
3560run the
3561.Xr chkprintcap 8
3562command before starting the
3563.Xr lpd 8
3564daemon.
3565.It Va chkprintcap_flags
3566.Pq Vt str
3567If
3568.Va lpd_enable
3569and
3570.Va chkprintcap_enable
3571are set to
3572.Dq Li YES ,
3573these are the flags to pass to the
3574.Xr chkprintcap 8
3575program.
3576The default is
3577.Dq Li -d ,
3578which causes missing directories to be created.
3579.It Va dumpdev
3580.Pq Vt str
3581Indicates the device (usually a swap partition) to which a crash dump
3582should be written in the event of a system crash.
3583If the value of this variable is
3584.Dq Li AUTO ,
3585the first suitable swap device listed in
3586.Pa /etc/fstab
3587will be used as dump device.
3588Otherwise, the value of this variable is passed as the argument to
3589.Xr dumpon 8
3590and
3591.Xr savecore 8 .
3592To disable crash dumps, set this variable to
3593.Dq Li NO .
3594.It Va dumpon_flags
3595.Pq Vt str
3596Flags to pass to
3597.Xr dumpon 8
3598when configuring
3599.Va dumpdev
3600as the system dump device.
3601.It Va dumpdir
3602.Pq Vt str
3603When the system reboots after a crash and a crash dump is found on the
3604device specified by the
3605.Va dumpdev
3606variable,
3607.Xr savecore 8
3608will save that crash dump and a copy of the kernel to the directory
3609specified by the
3610.Va dumpdir
3611variable.
3612The default value is
3613.Pa /var/crash .
3614Set to
3615.Dq Li NO
3616to not run
3617.Xr savecore 8
3618at boot time when
3619.Va dumpdir
3620is set.
3621.It Va savecore_enable
3622.Pq Vt bool
3623If set to
3624.Dq Li NO ,
3625disable automatic extraction of the crash dump from the
3626.Va dumpdev .
3627.It Va savecore_flags
3628.Pq Vt str
3629If crash dumps are enabled, these are the flags to pass to the
3630.Xr savecore 8
3631utility.
3632.It Va quota_enable
3633.Pq Vt bool
3634Set to
3635.Dq Li YES
3636to turn on user and group disk quotas on system startup via the
3637.Xr quotaon 8
3638command for all file systems marked as having quotas enabled in
3639.Pa /etc/fstab .
3640The kernel must be built with
3641.Cd "options QUOTA"
3642for disk quotas to function.
3643.It Va check_quotas
3644.Pq Vt bool
3645Set to
3646.Dq Li YES
3647to enable user and group disk quota checking via the
3648.Xr quotacheck 8
3649command.
3650.It Va quotacheck_flags
3651.Pq Vt str
3652If
3653.Va quota_enable
3654is set to
3655.Dq Li YES ,
3656and
3657.Va check_quotas
3658is set to
3659.Dq Li YES ,
3660these are the flags to pass to the
3661.Xr quotacheck 8
3662utility.
3663The default is
3664.Dq Li "-a" ,
3665which checks quotas for all file systems with quotas enabled in
3666.Pa /etc/fstab .
3667.It Va quotaon_flags
3668.Pq Vt str
3669If
3670.Va quota_enable
3671is set to
3672.Dq Li YES ,
3673these are the flags to pass to the
3674.Xr quotaon 8
3675utility.
3676The default is
3677.Dq Li "-a" ,
3678which enables quotas for all file systems with quotas enabled in
3679.Pa /etc/fstab .
3680.It Va quotaoff_flags
3681.Pq Vt str
3682If
3683.Va quota_enable
3684is set to
3685.Dq Li YES ,
3686these are the flags to pass to the
3687.Xr quotaoff 8
3688utility when shutting down the quota system.
3689The default is
3690.Dq Li "-a" ,
3691which disables quotas for all file systems with quotas enabled in
3692.Pa /etc/fstab .
3693.It Va accounting_enable
3694.Pq Vt bool
3695Set to
3696.Dq Li YES
3697to enable system accounting through the
3698.Xr accton 8
3699facility.
3700.It Va firstboot_sentinel
3701.Pq Vt str
3702This variable specifies the full path to a
3703.Dq first boot
3704sentinel file.
3705If a file exists with this path,
3706.Pa rc.d
3707scripts with the
3708.Dq firstboot
3709keyword will be run on startup and the sentinel file will be deleted
3710after the boot process completes.
3711The sentinel file must be located on a writable file system which is
3712mounted no later than
3713.Va early_late_divider
3714to function properly.
3715The default is
3716.Pa /firstboot .
3717.It Va linux_enable
3718.Pq Vt bool
3719Set to
3720.Dq Li YES
3721to enable Linux/ELF binary emulation at system initial
3722boot time.
3723.It Va sysvipc_enable
3724.Pq Vt bool
3725If set to
3726.Dq Li YES ,
3727load System V IPC primitives at boot time.
3728.It Va clear_tmp_enable
3729.Pq Vt bool
3730Set to
3731.Dq Li YES
3732to have
3733.Pa /tmp
3734cleaned at startup.
3735.It Va clear_tmp_X
3736.Pq Vt bool
3737Set to
3738.Dq Li NO
3739to disable removing of X11 lock files,
3740and the removal and (secure) recreation
3741of the various socket directories for X11
3742related programs.
3743.It Va ldconfig_paths
3744.Pq Vt str
3745Set to the list of shared library paths to use with
3746.Xr ldconfig 8 .
3747NOTE:
3748.Pa /lib
3749and
3750.Pa /usr/lib
3751will always be added first, so they need not appear in this list.
3752.It Va ldconfig32_paths
3753.Pq Vt str
3754Set to the list of 32-bit compatibility shared library paths to
3755use with
3756.Xr ldconfig 8 .
3757.It Va ldconfig_insecure
3758.Pq Vt bool
3759The
3760.Xr ldconfig 8
3761utility normally refuses to use directories
3762which are writable by anyone except root.
3763Set this variable to
3764.Dq Li YES
3765to disable that security check during system startup.
3766.It Va ldconfig_local_dirs
3767.Pq Vt str
3768Set to the list of local
3769.Xr ldconfig 8
3770directories.
3771The names of all files in the directories listed will be
3772passed as arguments to
3773.Xr ldconfig 8 .
3774.It Va ldconfig_local32_dirs
3775.Pq Vt str
3776Set to the list of local 32-bit compatibility
3777.Xr ldconfig 8
3778directories.
3779The names of all files in the directories listed will be
3780passed as arguments to
3781.Dq Nm ldconfig Fl 32 .
3782.It Va kern_securelevel_enable
3783.Pq Vt bool
3784Set to
3785.Dq Li YES
3786to set the kernel security level at system startup.
3787.It Va kern_securelevel
3788.Pq Vt int
3789The kernel security level to set at startup.
3790The allowed range of
3791.Ar value
3792ranges from \-1 (the compile time default) to 3 (the
3793most secure).
3794See
3795.Xr security 7
3796for the list of possible security levels and their effect
3797on system operation.
3798.It Va sshd_program
3799.Pq Vt str
3800Path to the SSH server program
3801.Pa ( /usr/sbin/sshd
3802is the default).
3803.It Va sshd_enable
3804.Pq Vt bool
3805Set to
3806.Dq Li YES
3807to start
3808.Xr sshd 8
3809at system boot time.
3810.It Va sshd_flags
3811.Pq Vt str
3812If
3813.Va sshd_enable
3814is set to
3815.Dq Li YES ,
3816these are the flags to pass to the
3817.Xr sshd 8
3818daemon.
3819.It Va ftpd_program
3820.Pq Vt str
3821Path to the FTP server program
3822.Pa ( /usr/libexec/ftpd
3823is the default).
3824.It Va ftpd_enable
3825.Pq Vt bool
3826Set to
3827.Dq Li YES
3828to start
3829.Xr ftpd 8
3830as a stand-alone daemon at system boot time.
3831.It Va ftpd_flags
3832.Pq Vt str
3833If
3834.Va ftpd_enable
3835is set to
3836.Dq Li YES ,
3837these are the additional flags to pass to the
3838.Xr ftpd 8
3839daemon.
3840.It Va watchdogd_enable
3841.Pq Vt bool
3842If set to
3843.Dq Li YES ,
3844start the
3845.Xr watchdogd 8
3846daemon at boot time.
3847This requires that the kernel have been compiled with a
3848.Xr watchdog 4
3849compatible device.
3850.It Va watchdogd_flags
3851.Pq Vt str
3852If
3853.Va watchdogd_enable
3854is set to
3855.Dq Li YES ,
3856these are the flags passed to the
3857.Xr watchdogd 8
3858daemon.
3859.It Va watchdogd_timeout
3860.Pq Vt int
3861If
3862.Va watchdogd_enable
3863is set to
3864.Dq Li YES ,
3865this is a timeout that will be used by the
3866.Xr watchdogd 8
3867daemon.
3868If this option is set, it overrides
3869.Fl t
3870in
3871.Va watchdogd_flags .
3872.It Va watchdogd_shutdown_timeout
3873.Pq Vt int
3874If
3875.Va watchdogd_enable
3876is set to
3877.Dq Li YES ,
3878this is a timeout that will be set by the
3879.Xr watchdogd 8
3880daemon when it exits during the system shutdown.
3881This timeout will not be set when returning to the single-user mode
3882or when the watchdogd service is stopped individually using the
3883.Xr service 8
3884command or the rc.d script.
3885Note that the timeout will be applied if
3886.Xr watchdogd 8
3887is stopped outside of
3888.Xr rc 8
3889framework.
3890If this option is set, it overrides
3891.Fl x
3892in
3893.Va watchdogd_flags .
3894.It Va devfs_rulesets
3895.Pq Vt str
3896List of files containing sets of rules for
3897.Xr devfs 8 .
3898.It Va devfs_system_ruleset
3899.Pq Vt str
3900Rule name(s) to apply to the system
3901.Pa /dev
3902itself.
3903.It Va devfs_set_rulesets
3904.Pq Vt str
3905Pairs of already-mounted
3906.Pa dev
3907directories and rulesets that should be applied to them.
3908For example: /mount/dev=ruleset_name
3909.It Va devfs_load_rulesets
3910.Pq Vt bool
3911If set, always load the default rulesets listed in
3912.Va devfs_rulesets .
3913.It Va performance_cx_lowest
3914.Pq Vt str
3915CPU idle state to use while on AC power.
3916The string
3917.Dq Li LOW
3918indicates that
3919.Xr acpi 4
3920should use the lowest power state available while
3921.Dq Li HIGH
3922indicates that the lowest latency state (less power savings) should be used.
3923.It Va performance_cpu_freq
3924.Pq Vt str
3925CPU clock frequency to use while on AC power.
3926The string
3927.Dq Li LOW
3928indicates that
3929.Xr cpufreq 4
3930should use the lowest frequency available while
3931.Dq Li HIGH
3932indicates that the highest frequency (less power savings) should be used.
3933.It Va economy_cx_lowest
3934.Pq Vt str
3935CPU idle state to use when off AC power.
3936The string
3937.Dq Li LOW
3938indicates that
3939.Xr acpi 4
3940should use the lowest power state available while
3941.Dq Li HIGH
3942indicates that the lowest latency state (less power savings) should be used.
3943.It Va economy_cpu_freq
3944.Pq Vt str
3945CPU clock frequency to use when off AC power.
3946The string
3947.Dq Li LOW
3948indicates that
3949.Xr cpufreq 4
3950should use the lowest frequency available while
3951.Dq Li HIGH
3952indicates that the highest frequency (less power savings) should be used.
3953.It Va jail_enable
3954.Pq Vt bool
3955If set to
3956.Dq Li NO ,
3957any configured jails will not be started.
3958.It Va jail_conf
3959.Pq Vt str
3960The configuration filename used by
3961.Xr jail 8
3962utility.
3963The default value is
3964.Pa /etc/jail.conf .
3965.Pa /etc/jail. Ns Ao Va jname Ac Ns Pa .conf
3966and
3967.Pa /etc/jail.conf.d/ Ns Ao Va jname Ac Ns Pa .conf
3968will also be used if
3969.Ao Va jname Ac
3970is set in
3971.Va jail_list .
3972.It Va jail_parallel_start
3973.Pq Vt bool
3974If set to
3975.Dq Li YES ,
3976all configured jails will be started in the background (in parallel).
3977.It Va jail_flags
3978.Pq Vt str
3979Unset by default.
3980When set, use as default value for
3981.Va jail_ Ns Ao Ar jname Ac Ns Va _flags
3982for every jail in
3983.Va jail_list .
3984.It Va jail_list
3985.Pq Vt str
3986A space-delimited list of jail names.
3987When left empty, all of the
3988.Xr jail 8
3989instances defined in the configuration file are started.
3990The names specified in this list control the jail startup order.
3991.Xr jail 8
3992instances missing from
3993.Va jail_list
3994must be started manually.
3995Note that a jail's
3996.Va depend
3997parameter in the configuration file may override this list.
3998.It Va jail_reverse_stop
3999.Pq Vt bool
4000When set to
4001.Dq Li YES ,
4002all configured jails in
4003.Va jail_list
4004are stopped in reverse order.
4005.It Va jail_ Ns * variables
4006Note that older releases supported per-jail configuration via
4007.Nm
4008variables.
4009For example,
4010hostname of a jail named
4011.Li vjail
4012was able to be set by
4013.Li jail_vjail_hostname .
4014These per-jail configuration variables are now obsolete in favor of
4015.Xr jail 8
4016configuration file.
4017For backward compatibility,
4018when per-jail configuration variables are defined,
4019.Xr jail 8
4020configuration files are created as
4021.Pa /var/run/jail . Ns Ao Ar jname Ac Ns Pa .conf
4022and used.
4023.Pp
4024The following per-jail parameters are handled by
4025.Pa rc.d/jail
4026script out of their corresponding
4027.Nm
4028variables.
4029In addition to them, parameters in
4030.Va jail_ Ns Ao Ar jname Ac Ns Va _parameters
4031will be added to the configuration file.
4032They must be a semi-colon
4033.Pq Ql \&;
4034delimited list of
4035.Dq key=value .
4036For more details,
4037see
4038.Xr jail 8
4039manual page.
4040.Bl  -tag -width "host.hostname" -offset indent
4041.It Li path
4042set from
4043.Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
4044.It Li host.hostname
4045set from
4046.Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
4047.It Li exec.consolelog
4048set from
4049.Va jail_ Ns Ao Ar jname Ac Ns Va _consolelog .
4050The default value is
4051.Pa /var/log/jail_ Ns Ao Ar jname Ac Ns Pa _console.log .
4052.It Li interface
4053set from
4054.Va jail_ Ns Ao Ar jname Ac Ns Va _interface .
4055.It Li vnet.interface
4056set from
4057.Va jail_ Ns Ao Ar jname Ac Ns Va _vnet_interface .
4058This implies
4059.Li vnet
4060parameter will be enabled and cannot be specified with
4061.Va jail_ Ns Ao Ar jname Ac Ns Va _interface ,
4062.Va jail_ Ns Ao Ar jname Ac Ns Va _ip
4063and/or
4064.Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
4065at the same time.
4066.It Li fstab
4067set from
4068.Va jail_ Ns Ao Ar jname Ac Ns Va _fstab
4069.It Li mount
4070set from
4071.Va jail_ Ns Ao Ar jname Ac Ns Va _procfs_enable .
4072.It Li exec.fib
4073set from
4074.Va jail_ Ns Ao Ar jname Ac Ns Va _fib
4075.It Li exec.start
4076set from
4077.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start .
4078The parameter name was
4079.Li command
4080in some older releases.
4081.It Li exec.prestart
4082set from
4083.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestart
4084.It Li exec.poststart
4085set from
4086.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststart
4087.It Li exec.stop
4088set from
4089.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_stop
4090.It Li exec.prestop
4091set from
4092.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_prestop
4093.It Li exec.poststop
4094set from
4095.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_poststop
4096.It Li ip4.addr
4097set if
4098.Va jail_ Ns Ao Ar jname Ac Ns Va _ip
4099or
4100.Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
4101contain IPv4 addresses
4102.It Li ip6.addr
4103set if
4104.Va jail_ Ns Ao Ar jname Ac Ns Va _ip
4105or
4106.Va jail_ Ns Ao Ar jname Ac Ns Va _ip_multi Ns Aq Ar n
4107contain IPv6 addresses
4108.It Li allow.mount
4109set from
4110.Va jail_ Ns Ao Ar jname Ac Ns Va _mount_enable
4111.It Li mount.devfs
4112set from
4113.Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_enable
4114.It Li devfs_ruleset
4115set from
4116.Va jail_ Ns Ao Ar jname Ac Ns Va _devfs_ruleset .
4117This must be an integer,
4118not a string.
4119.It Li mount.fdescfs
4120set from
4121.Va jail_ Ns Ao Ar jname Ac Ns Va _fdescfs_enable
4122.It Li allow.set_hostname
4123set from
4124.Va jail_ Ns Ao Ar jname Ac Ns Va _set_hostname_allow
4125.It Li allow.rawsocket
4126set from
4127.Va jail_ Ns Ao Ar jname Ac Ns Va _socket_unixiproute_only
4128.It Li allow.sysvipc
4129set from
4130.Va jail_ Ns Ao Ar jname Ac Ns Va _sysvipc_allow
4131.El
4132.\" -----------------------------------------------------
4133.It Va harvest_mask
4134.Pq Vt int
4135Set to a bit-mask
4136representing the entropy sources
4137you wish to harvest.
4138Refer to
4139.Xr random 4
4140for more information.
4141.It Va entropy_dir
4142.Pq Vt str
4143Set to
4144.Dq Li NO
4145to disable caching entropy via
4146.Xr cron 8 .
4147Otherwise set to the directory
4148in which the entropy files are stored.
4149To be useful,
4150there must be
4151a system cron job
4152that regularly writes and rotates
4153files here.
4154All files found
4155will be used at boot time.
4156The default is
4157.Pa /var/db/entropy .
4158.It Va entropy_file
4159.Pq Vt str
4160Set to
4161.Dq Li NO
4162to disable caching entropy through reboots.
4163Otherwise set to the name
4164of a file used to store cached entropy.
4165This file should be located
4166on a file system that is readable
4167before all the volumes specified in
4168.Xr fstab 5
4169are mounted.
4170By default,
4171.Pa /entropy
4172is used,
4173but if
4174.Pa /var/db/entropy-file
4175is found it will also be used.
4176This will be of some use to
4177.Xr bsdinstall 8 .
4178.It Va entropy_boot_file
4179.Pq Vt str
4180Set to
4181.Dq Li NO
4182to disable
4183very early caching entropy
4184through reboots.
4185Otherwise set to the filename
4186used to read
4187very early reboot cached entropy.
4188This file should be located where
4189.Xr loader 8
4190can read it.
4191See also
4192.Xr loader.conf 5 .
4193The default location is
4194.Pa /boot/entropy .
4195.It Va entropy_save_sz
4196.Pq Vt int
4197Size of the entropy cache files saved by
4198.Nm save-entropy
4199periodically.
4200.It Va entropy_save_num
4201.Pq Vt int
4202Number of entropy cache files to save by
4203.Nm save-entropy
4204periodically.
4205.It Va ipsec_enable
4206.Pq Vt bool
4207Set to
4208.Dq Li YES
4209to run
4210.Xr setkey 8
4211on
4212.Va ipsec_file
4213at boot time.
4214.It Va ipsec_file
4215.Pq Vt str
4216Configuration file for
4217.Xr setkey 8 .
4218.It Va dmesg_enable
4219.Pq Vt bool
4220Set to
4221.Dq Li YES
4222to save
4223.Xr dmesg 8
4224to
4225.Pa /var/run/dmesg.boot
4226on boot.
4227.It Va rcshutdown_timeout
4228.Pq Vt int
4229If set, start a watchdog timer in the background which will terminate
4230.Pa rc.shutdown
4231if
4232.Xr shutdown 8
4233has not completed within the specified time (in seconds).
4234Notice that in addition to this soft timeout,
4235.Xr init 8
4236also applies a hard timeout for the execution of
4237.Pa rc.shutdown .
4238This is configured via
4239.Xr sysctl 8
4240variable
4241.Va kern.init_shutdown_timeout
4242and defaults to 120 seconds.
4243Setting the value of
4244.Va rcshutdown_timeout
4245to more than 120 seconds will have no effect until the
4246.Xr sysctl 8
4247variable
4248.Va kern.init_shutdown_timeout
4249is also increased.
4250.It Va virecover_enable
4251.Pq Vt bool
4252Set to
4253.Dq Li NO
4254to prevent the system from trying to
4255recover pre-maturely terminated
4256.Xr vi 1
4257sessions.
4258.It Va ugidfw_enable
4259.Pq Vt bool
4260Set to
4261.Dq Li YES
4262to load the
4263.Xr mac_bsdextended 4
4264module upon system initialization and load a default
4265ruleset file.
4266.It Va bsdextended_script
4267.Pq Vt str
4268The default
4269.Xr mac_bsdextended 4
4270ruleset file to load.
4271The default value of this variable is
4272.Pa /etc/rc.bsdextended .
4273.It Va newsyslog_enable
4274.Pq Vt bool
4275If set to
4276.Dq Li YES ,
4277run
4278.Xr newsyslog 8
4279command at startup.
4280.It Va newsyslog_flags
4281.Pq Vt str
4282If
4283.Va newsyslog_enable
4284is set to
4285.Dq Li YES ,
4286these are the flags to pass to the
4287.Xr newsyslog 8
4288program.
4289The default is
4290.Dq Li -CN ,
4291which causes log files flagged with a
4292.Cm C
4293to be created.
4294.It Va mdconfig_md Ns Aq Ar X
4295.Pq Vt str
4296Arguments to
4297.Xr mdconfig 8
4298for
4299.Xr md 4
4300device
4301.Ar X .
4302At minimum a
4303.Fl t Ar type
4304must be specified and either a
4305.Fl s Ar size
4306for malloc or swap backed
4307.Xr md 4
4308devices or a
4309.Fl f Ar file
4310for vnode backed
4311.Xr md 4
4312devices.
4313Note that
4314.Va mdconfig_md Ns Aq Ar X
4315variables are evaluated until one variable is unset or null.
4316.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _newfs
4317.Pq Vt str
4318Optional arguments passed to
4319.Xr newfs 8
4320to initialize
4321.Xr md 4
4322device
4323.Ar X .
4324.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _owner
4325.Pq Vt str
4326An ownership specification passed to
4327.Xr chown 8
4328after the specified
4329.Xr md 4
4330device
4331.Ar X
4332has been mounted.
4333Both the
4334.Xr md 4
4335device and the mount point will be changed.
4336.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _perms
4337.Pq Vt str
4338A mode string passed to
4339.Xr chmod 1
4340after the specified
4341.Xr md 4
4342device
4343.Ar X
4344has been mounted.
4345Both the
4346.Xr md 4
4347device and the mount point will be changed.
4348.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _files
4349.Pq Vt str
4350Files to be copied to the mount point of the
4351.Xr md 4
4352device
4353.Ar X
4354after it has been mounted.
4355.It Va mdconfig_md Ns Ao Ar X Ac Ns Va _cmd
4356.Pq Vt str
4357Command to execute after the specified
4358.Xr md 4
4359device
4360.Ar X
4361has been mounted.
4362Note that the command is passed to
4363.Ic eval
4364and that both
4365.Va _dev
4366and
4367.Va _mp
4368variables can be used to reference respectively the
4369.Xr md 4
4370device and the mount point.
4371Assuming that the
4372.Xr md 4
4373device is
4374.Li md0 ,
4375one could set the following:
4376.Bd -literal
4377mdconfig_md0_cmd="tar xfzC /var/file.tgz \e${_mp}"
4378.Ed
4379.It Va autobridge_interfaces
4380.Pq Vt str
4381Set to the list of bridge interfaces that will have newly arriving interfaces
4382checked against to be automatically added.
4383If not set to
4384.Dq Li NO
4385then for each whitespace separated
4386.Ar element
4387in the value, a
4388.Va autobridge_ Ns Aq Ar element
4389variable is assumed to exist which has a whitespace separated list of interface
4390names to match, these names can use wildcards.
4391For example:
4392.Bd -literal
4393autobridge_interfaces="bridge0"
4394autobridge_bridge0="tap* dc0 vlan[345]"
4395.Ed
4396.It Va mixer_enable
4397.Pq Vt bool
4398If set to
4399.Dq Li YES ,
4400enable support for sound mixer.
4401.It Va hcsecd_enable
4402.Pq Vt bool
4403If set to
4404.Dq Li YES ,
4405enable Bluetooth security daemon.
4406.It Va hcsecd_config
4407.Pq Vt str
4408Configuration file for
4409.Xr hcsecd 8 .
4410Default
4411.Pa /etc/bluetooth/hcsecd.conf .
4412.It Va sdpd_enable
4413.Pq Vt bool
4414If set to
4415.Dq Li YES ,
4416enable Bluetooth Service Discovery Protocol daemon.
4417.It Va sdpd_control
4418.Pq Vt str
4419Path to
4420.Xr sdpd 8
4421control socket.
4422Default
4423.Pa /var/run/sdp .
4424.It Va sdpd_groupname
4425.Pq Vt str
4426Sets
4427.Xr sdpd 8
4428group to run as after it initializes.
4429Default
4430.Dq Li nobody .
4431.It Va sdpd_username
4432.Pq Vt str
4433Sets
4434.Xr sdpd 8
4435user to run as after it initializes.
4436Default
4437.Dq Li nobody .
4438.It Va bthidd_enable
4439.Pq Vt bool
4440If set to
4441.Dq Li YES ,
4442enable Bluetooth Human Interface Device daemon.
4443.It Va bthidd_config
4444.Pq Vt str
4445Configuration file for
4446.Xr bthidd 8 .
4447Default
4448.Pa /etc/bluetooth/bthidd.conf .
4449.It Va bthidd_hids
4450.Pq Vt str
4451Path to a file, where
4452.Xr bthidd 8
4453will store information about known HID devices.
4454Default
4455.Pa /var/db/bthidd.hids .
4456.It Va rfcomm_pppd_server_enable
4457.Pq Vt bool
4458If set to
4459.Dq Li YES ,
4460enable Bluetooth RFCOMM PPP wrapper daemon.
4461.It Va rfcomm_pppd_server_profile
4462.Pq Vt str
4463The name of the profile to use from
4464.Pa /etc/ppp/ppp.conf .
4465Multiple profiles can be specified here.
4466Also used to specify per-profile overrides.
4467When the profile name contains any of the characters
4468.Dq Li .-/+
4469they are translated to
4470.Dq Li _
4471for the proposes of the override variable names.
4472.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _bdaddr
4473.Pq Vt str
4474Overrides local address to listen on.
4475By default
4476.Xr rfcomm_pppd 8
4477will listen on
4478.Dq Li ANY
4479address.
4480The address can be specified as BD_ADDR or name.
4481.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _channel
4482.Pq Vt str
4483Overrides local RFCOMM channel to listen on.
4484By default
4485.Xr rfcomm_pppd 8
4486will listen on RFCOMM channel 1.
4487Must set properly if multiple profiles used in the same time.
4488.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_sp
4489.Pq Vt bool
4490Tells
4491.Xr rfcomm_pppd 8
4492if it should register Serial Port service on the specified RFCOMM channel.
4493Default
4494.Dq Li NO .
4495.It Va rfcomm_pppd_server_ Ns Ao Ar profile Ac Ns _register_dun
4496.Pq Vt bool
4497Tells
4498.Xr rfcomm_pppd 8
4499if it should register Dial-Up Networking service on the specified
4500RFCOMM channel.
4501Default
4502.Dq Li NO .
4503.It Va ubthidhci_enable
4504.Pq Vt bool
4505If set to
4506.Dq Li YES ,
4507change the USB Bluetooth controller from HID mode to HCI mode.
4508You also need to specify the location of USB Bluetooth controller with the
4509.Va ubthidhci_busnum
4510and
4511.Va ubthidhci_addr
4512variables.
4513.It Va ubthidhci_busnum
4514Bus number where the USB Bluetooth controller is located.
4515Check the output of
4516.Xr usbconfig 8
4517on your system to find this information.
4518.It Va ubthidhci_addr
4519Bus address of the USB Bluetooth controller.
4520Check the output of
4521.Xr usbconfig 8
4522on your system to find this information.
4523.It Va utx_enable
4524.Pq Vt bool
4525Set to
4526.Dq Li YES
4527to enable user accounting through the
4528.Xr utx 8
4529facility.
4530.It Va netwait_enable
4531.Pq Vt bool
4532If set to
4533.Dq Li YES ,
4534delays the start of network-reliant services until
4535.Va netwait_if
4536is up and ICMP packets to a destination defined in
4537.Va netwait_ip
4538are flowing.
4539Link state is examined first, followed by
4540.Dq Li pinging
4541an IP address to verify network usability.
4542If no destination can be reached or timeouts are exceeded,
4543network services are started anyway with no guarantee that
4544the network is usable.
4545Use of this variable requires both
4546.Va netwait_ip
4547and
4548.Va netwait_if
4549to be set.
4550.It Va netwait_ip
4551.Pq Vt str
4552Empty by default.
4553This variable contains a space-delimited list of IP addresses to
4554.Xr ping 8 .
4555DNS hostnames should not be used as resolution is not guaranteed
4556to be functional at this point.
4557If multiple IP addresses are specified,
4558each will be tried until one is successful or the list is exhausted.
4559.It Va netwait_timeout
4560.Pq Vt int
4561Indicates the total number of seconds to perform a
4562.Dq Li ping
4563against each IP address in
4564.Va netwait_ip ,
4565at a rate of one ping per second.
4566If any of the pings are successful,
4567full network connectivity is considered reliable.
4568The default is 60.
4569.It Va netwait_if
4570.Pq Vt str
4571Empty by default.
4572Defines the name of the network interface on which watch for link.
4573.Xr ifconfig 8
4574is used to monitor the interface, looking for
4575.Dq Li status: no carrier .
4576Once gone, the link is considered up.
4577This can be a
4578.Xr vlan 4
4579interface if desired.
4580.It Va netwait_if_timeout
4581.Pq Vt int
4582Defines the total number of seconds to wait for link to become usable,
4583polled at a 1-second interval.
4584The default is 30.
4585.It Va rctl_enable
4586.Pq Vt bool
4587If set to
4588.Dq Li YES ,
4589load
4590.Xr rctl 8
4591rules from the defined ruleset.
4592The kernel must be built with
4593.Cd "options RACCT"
4594and
4595.Cd "options RCTL" .
4596.It Va rctl_rules
4597.Pq Vt str
4598Set to
4599.Pa /etc/rctl.conf
4600by default.
4601This variables contains the
4602.Xr rctl.conf 5
4603ruleset to load for
4604.Xr rctl 8 .
4605.It Va iovctl_files
4606.Pq Vt str
4607A space-separated list of configuration files used by
4608.Xr iovctl 8 .
4609The default value is an empty string.
4610.It Va autofs_enable
4611.Pq Vt bool
4612If set to
4613.Dq Li YES ,
4614start the
4615.Xr automount 8
4616utility and the
4617.Xr automountd 8
4618and
4619.Xr autounmountd 8
4620daemons at boot time.
4621.It Va automount_flags
4622.Pq Vt str
4623If
4624.Va autofs_enable
4625is set to
4626.Dq Li YES ,
4627these are the flags to pass to the
4628.Xr automount 8
4629program.
4630By default no flags are passed.
4631.It Va automountd_flags
4632.Pq Vt str
4633If
4634.Va autofs_enable
4635is set to
4636.Dq Li YES ,
4637these are the flags to pass to the
4638.Xr automountd 8
4639daemon.
4640By default no flags are passed.
4641.It Va autounmountd_flags
4642.Pq Vt str
4643If
4644.Va autofs_enable
4645is set to
4646.Dq Li YES ,
4647these are the flags to pass to the
4648.Xr autounmountd 8
4649daemon.
4650By default no flags are passed.
4651.It Va ctld_enable
4652.Pq Vt bool
4653If set to
4654.Dq Li YES ,
4655start the
4656.Xr ctld 8
4657daemon at boot time.
4658.It Va iscsid_enable
4659.Pq Vt bool
4660If set to
4661.Dq Li YES ,
4662start the
4663.Xr iscsid 8
4664daemon at boot time.
4665.It Va iscsictl_enable
4666.Pq Vt bool
4667If set to
4668.Dq Li YES ,
4669start the
4670.Xr iscsictl 8
4671utility at boot time.
4672.It Va iscsictl_flags
4673.Pq Vt str
4674If
4675.Va iscsictl_enable
4676is set to
4677.Dq Li YES ,
4678these are the flags to pass to the
4679.Xr iscsictl 8
4680program.
4681The default is
4682.Dq Li -Aa ,
4683which configures sessions based on the
4684.Pa /etc/iscsi.conf
4685configuration file.
4686.It Va cfumass_enable
4687.Pq Vt bool
4688If set to
4689.Dq Li YES ,
4690create and export an USB LUN using
4691.Xr cfumass 4
4692at boot time.
4693.It Va cfumass_dir
4694.Pq Vt str
4695The directory where the files exported by USB LUN are located.
4696The default directory is
4697.Pa /var/cfumass .
4698.It Va service_delete_empty
4699.Pq Vt bool
4700If set to
4701.Dq Li YES ,
4702.Ql Li service delete
4703removes empty
4704.Dq Li rc.conf.d
4705files.
4706.It Va zfs_bootonce_activate
4707.Pq Vt bool
4708If set to
4709.Dq Li YES ,
4710and a boot environment marked bootonce is successfully booted,
4711it will be made permanently active.
4712.It Va zfskeys_enable
4713.Pq Vt bool
4714If set to
4715.Dq Li YES ,
4716enable auto-loading of encryption keys for encrypted ZFS datasets.
4717For every dataset the script will first load the appropriate encryption key
4718and then attempt to unlock the dataset.
4719.Pp
4720The script operates only on datasets which are encrypted with
4721ZFS native encryption
4722and have a ZFS
4723.Dq Li keylocation
4724dataset property beginning with
4725.Dq Li file:// .
4726.It Va zfskeys_datasets
4727.Pq Vt str
4728A whitespace-separated list of ZFS datasets to unlock.
4729The list is empty by default,
4730which means that the script will attempt to unlock all datasets.
4731.It Va zfskeys_timeout
4732.Pq Vt int
4733Define the total number of seconds to wait for the zfskeys script
4734to unlock an encrypted dataset.
4735The default is 10.
4736.It Va sendmail_enable
4737.Pq Vt str
4738If set to
4739.Dq Li YES ,
4740run the
4741.Xr sendmail 8
4742daemon at system boot time.
4743If set to
4744.Dq Li NO ,
4745do not run a
4746.Xr sendmail 8
4747daemon to listen for incoming network mail.
4748This does not preclude a
4749.Xr sendmail 8
4750daemon listening on the SMTP port of the loopback interface.
4751The
4752.Dq Li NONE
4753option sets each
4754.Va sendmail_enable ,
4755.Va sendmail_submit_enable ,
4756.Va sendmail_outbound_enable ,
4757.Va sendmail_msp_queue_enable
4758to
4759.Dq Li NO .
4760.It Va sendmail_cert_create
4761.Pq Vt str
4762If
4763.Va sendmail_enable
4764is set to
4765.Dq Li YES ,
4766create a signed certificate
4767.Pa /etc/mail/certs/host.cert
4768representing
4769.Pa /etc/mail/certs/host.key
4770by the CA certificate in
4771.Pa /etc/mail/certs/cacert.pem .
4772This will enable connecting hosts to negotiate STARTTLS allowing incoming
4773email to be encrypted in transit.
4774.Xr sendmail 8
4775needs to be configured to use these generated files.
4776The default configuration in
4777.Pa /etc/mail/freebsd.mc
4778has the required options in it.
4779.It Va sendmail_cert_cn
4780.Pq Vt str
4781If
4782.Va sendmail_enable
4783is set to
4784.Dq Li YES
4785and
4786.Va sendmail_cert_create
4787is set to
4788.Dq Li YES ,
4789this is the Common Name (CN) of the certificate that will be created.
4790If
4791.Va sendmail_cert_cn
4792is not set, the system's hostname will be used.
4793If there is no hostname set,
4794.Dq Li amnesiac
4795will be used.
4796.It Va sendmail_flags
4797.Pq Vt str
4798If
4799.Va sendmail_enable
4800is set to
4801.Dq Li YES ,
4802these are the flags to pass to the
4803.Xr sendmail 8
4804daemon.
4805.It Va sendmail_submit_enable
4806.Pq Vt bool
4807If set to
4808.Dq Li YES
4809and
4810.Va sendmail_enable
4811is set to
4812.Dq Li NO ,
4813run
4814.Xr sendmail 8
4815using
4816.Va sendmail_submit_flags
4817instead of
4818.Va sendmail_flags .
4819This is intended to allow local mail submission via
4820a localhost-only listening SMTP service required for running
4821.Xr sendmail 8
4822as a non-set-user-ID binary.
4823Note that this does not work inside
4824.Xr jail 2
4825systems, as jails do not allow binding to just the localhost interface.
4826.It Va sendmail_submit_flags
4827.Pq Vt str
4828If
4829.Va sendmail_enable
4830is set to
4831.Dq Li NO
4832and
4833.Va sendmail_submit_enable
4834is set to
4835.Dq Li YES ,
4836these are the flags to pass to the
4837.Xr sendmail 8
4838daemon.
4839.It Va sendmail_outbound_enable
4840.Pq Vt bool
4841If set to
4842.Dq Li YES
4843and both
4844.Va sendmail_enable
4845and
4846.Va sendmail_submit_enable
4847are set to
4848.Dq Li NO ,
4849run
4850.Xr sendmail 8
4851using
4852.Va sendmail_outbound_flags
4853instead of
4854.Va sendmail_flags .
4855This is intended to allow local mail queue management
4856for systems that do not offer a listening SMTP service.
4857.It Va sendmail_outbound_flags
4858.Pq Vt str
4859If both
4860.Va sendmail_enable
4861and
4862.Va sendmail_submit_enable
4863are set to
4864.Dq Li NO
4865and
4866.Va sendmail_outbound_enable
4867is set to
4868.Dq Li YES ,
4869these are the flags to pass to the
4870.Xr sendmail 8
4871daemon.
4872.It Va sendmail_msp_queue_enable
4873.Pq Vt bool
4874If set to
4875.Dq Li YES ,
4876start a client (MSP) queue runner
4877.Xr sendmail 8
4878daemon at system boot time.
4879As of sendmail 8.12, a separate queue is used for command line
4880submissions.
4881The client queue runner ensures that nothing is
4882left behind in the submission queue.
4883.It Va sendmail_msp_queue_flags
4884.Pq Vt str
4885If
4886.Va sendmail_msp_queue_enable
4887is set to
4888daemon.
4889.Dq Li YES ,
4890these are the flags to pass to the
4891.Xr sendmail 8
4892.El
4893.Sh FILES
4894.Bl -tag -width "/etc/defaults/rc.conf" -compact
4895.It Pa /etc/defaults/rc.conf
4896.It Pa /etc/defaults/vendor.conf
4897.It Pa /etc/rc.conf
4898.It Pa /etc/rc.conf.local
4899.It Pa /etc/rc.conf.d/
4900.El
4901.Sh SEE ALSO
4902.Xr chmod 1 ,
4903.Xr gdb 1 Pq Pa ports/devel/gdb ,
4904.Xr kbdcontrol 1 ,
4905.Xr limits 1 ,
4906.Xr protect 1 ,
4907.Xr sh 1 ,
4908.Xr umask 1 ,
4909.Xr vi 1 ,
4910.Xr vidcontrol 1 ,
4911.Xr bridge 4 ,
4912.Xr dummynet 4 ,
4913.Xr ip 4 ,
4914.Xr ipf 4 ,
4915.Xr ipfw 4 ,
4916.Xr ipnat 4 ,
4917.Xr kld 4 ,
4918.Xr pf 4 ,
4919.Xr pflog 4 ,
4920.Xr pfsync 4 ,
4921.Xr tcp 4 ,
4922.Xr udp 4 ,
4923.Xr exports 5 ,
4924.Xr fstab 5 ,
4925.Xr ipf 5 ,
4926.Xr ipnat 5 ,
4927.Xr jail.conf 5 ,
4928.Xr loader.conf 5 ,
4929.Xr login.conf 5 ,
4930.Xr motd 5 ,
4931.Xr newsyslog.conf 5 ,
4932.Xr pf.conf 5 ,
4933.Xr firewall 7 ,
4934.Xr growfs 7 ,
4935.Xr security 7 ,
4936.Xr tuning 7 ,
4937.Xr accton 8 ,
4938.Xr apm 8 ,
4939.Xr bsdinstall 8 ,
4940.Xr bthidd 8 ,
4941.Xr chkprintcap 8 ,
4942.Xr chown 8 ,
4943.Xr cron 8 ,
4944.Xr devfs 8 ,
4945.Xr dhclient 8 ,
4946.Xr ftpd 8 ,
4947.Xr geli 8 ,
4948.Xr hcsecd 8 ,
4949.Xr ifconfig 8 ,
4950.Xr inetd 8 ,
4951.Xr iovctl 8 ,
4952.Xr ipf 8 ,
4953.Xr ipfw 8 ,
4954.Xr ipnat 8 ,
4955.Xr jail 8 ,
4956.Xr kldxref 8 ,
4957.Xr loader 8 ,
4958.Xr lpd 8 ,
4959.Xr makewhatis 8 ,
4960.Xr mdconfig 8 ,
4961.Xr mdmfs 8 ,
4962.Xr mixer 8 ,
4963.Xr mountd 8 ,
4964.Xr moused 8 ,
4965.Xr newfs 8 ,
4966.Xr newsyslog 8 ,
4967.Xr nfsd 8 ,
4968.Xr ntpd 8 ,
4969.Xr ntpdate 8 ,
4970.Xr pfctl 8 ,
4971.Xr pflogd 8 ,
4972.Xr ping 8 ,
4973.Xr powerd 8 ,
4974.Xr quotacheck 8 ,
4975.Xr quotaon 8 ,
4976.Xr rc 8 ,
4977.Xr rc.subr 8 ,
4978.Xr rcorder 8 ,
4979.Xr rfcomm_pppd 8 ,
4980.Xr route 8 ,
4981.Xr routed 8 ,
4982.Xr rpc.lockd 8 ,
4983.Xr rpc.statd 8 ,
4984.Xr rpc.tlsclntd 8 ,
4985.Xr rpc.tlsservd 8 ,
4986.Xr rpcbind 8 ,
4987.Xr rwhod 8 ,
4988.Xr savecore 8 ,
4989.Xr sdpd 8 ,
4990.Xr sendmail 8 ,
4991.Xr service 8 ,
4992.Xr sshd 8 ,
4993.Xr swapon 8 ,
4994.Xr sysctl 8 ,
4995.Xr syslogd 8 ,
4996.Xr sysrc 8 ,
4997.Xr unbound 8 ,
4998.Xr usbconfig 8 ,
4999.Xr utx 8 ,
5000.Xr wlandebug 8 ,
5001.Xr yp 8 ,
5002.Xr ypbind 8 ,
5003.Xr ypserv 8 ,
5004.Xr ypset 8
5005.Sh HISTORY
5006The
5007.Nm
5008file appeared in
5009.Fx 2.2.2 .
5010.Sh AUTHORS
5011.An Jordan K. Hubbard .
5012