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