]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/rc.conf.5
This commit was generated by cvs2svn to compensate for changes in r154439,
[FreeBSD/FreeBSD.git] / share / man / man5 / rc.conf.5
1 .\" Copyright (c) 1995
2 .\"     Jordan K. Hubbard
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD$
26 .\"
27 .Dd January 12, 2006
28 .Dt RC.CONF 5
29 .Os
30 .Sh NAME
31 .Nm rc.conf
32 .Nd system configuration information
33 .Sh DESCRIPTION
34 The file
35 .Nm
36 contains descriptive information about the local host name, configuration
37 details for any potential network interfaces and which services should be
38 started up at system initial boot time.
39 In new installations, the
40 .Nm
41 file is generally initialized by the system installation utility,
42 .Xr sysinstall 8 .
43 .Pp
44 The purpose of
45 .Nm
46 is not to run commands or perform system startup actions
47 directly.
48 Instead, it is included by the
49 various generic startup scripts in
50 .Pa /etc
51 which conditionalize their
52 internal actions according to the settings found there.
53 .Pp
54 The
55 .Pa /etc/rc.conf
56 file is included from the file
57 .Pa /etc/defaults/rc.conf ,
58 which specifies the default settings for all the available options.
59 Options need only be specified in
60 .Pa /etc/rc.conf
61 when the system administrator wishes to override these defaults.
62 The file
63 .Pa /etc/rc.conf.local
64 is used to override settings in
65 .Pa /etc/rc.conf
66 for historical reasons.
67 See the
68 .Va rc_conf_files
69 variable below.
70 .Pp
71 The following list provides a name and short description for each
72 variable that can be set in the
73 .Nm
74 file:
75 .Bl -tag -width indent-two
76 .It Va rc_debug
77 .Pq Vt bool
78 If set to
79 .Dq Li YES ,
80 enable output of debug messages from rc scripts.
81 This variable can be helpful in diagnosing mistakes when
82 editing or integrating new scripts.
83 Beware that this produces copious output to the terminal and
84 .Xr syslog 3 .
85 .It Va rc_info
86 .Pq Vt bool
87 If set to
88 .Dq Li NO ,
89 disable informational messages from the rc scripts.
90 Informational messages are displayed when
91 a condition that is not serious enough to warrant a warning or
92 an error occurs.
93 .It Va early_late_divider
94 .Pq Vt str
95 The name of the script that should be used as the
96 delimiter between the
97 .Dq early
98 and
99 .Dq late
100 stages of the boot process.
101 The early stage should contain all the services needed to
102 get the disks (local or remote) mounted so that the late
103 stage can include scripts contained in the directories
104 listed in the
105 .Va local_startup
106 variable (see below).
107 Thus, the two likely candidates for this value are
108 mountcritlocal for the typical system,
109 and mountcritremote if the system needs remote file
110 systems mounted to get access to the
111 .Va local_startup
112 directories; for example when
113 .Pa /usr/local
114 is NFS mounted.
115 For
116 .Pa rc.conf
117 within a
118 .Xr jail 8
119 NETWORKING is likely to be an appropriate value.
120 Extreme care should be taken when changing this value,
121 and before changing it one should ensure that there are
122 adequate provisions to recover from a failed boot
123 (such as physical contact with the machine,
124 or reliable remote console access).
125 .It Va swapfile
126 .Pq Vt str
127 If set to
128 .Dq Li NO ,
129 no swapfile is installed, otherwise the value is used as the full
130 pathname to a file to use for additional swap space.
131 .It Va apm_enable
132 .Pq Vt bool
133 If set to
134 .Dq Li YES ,
135 enable support for Automatic Power Management with
136 the
137 .Xr apm 8
138 command.
139 .It Va apmd_enable
140 .Pq Vt bool
141 Run
142 .Xr apmd 8
143 to handle APM event from userland.
144 This also enables support for APM.
145 .It Va apmd_flags
146 .Pq Vt str
147 If
148 .Va apmd_enable
149 is set to
150 .Dq Li YES ,
151 these are the flags to pass to the
152 .Xr apmd 8
153 daemon.
154 .It Va devd_enable
155 .Pq Vt bool
156 Run
157 .Xr devd 8
158 to handle device added, removed or unknown events from the kernel.
159 .It Va kldxref_enable
160 .Pq Vt bool
161 Set to
162 .Dq Li NO
163 by default.
164 Set to
165 .Dq Li YES
166 to automatically rebuild
167 .Pa linker.hints
168 files with
169 .Xr kldxref 8
170 at boot time.
171 .It Va kldxref_clobber
172 .Pq Vt bool
173 Set to
174 .Dq Li NO
175 by default.
176 If
177 .Va kldxref_enable
178 is true,
179 setting to
180 .Dq Li YES
181 will overwrite existing
182 .Pa linker.hints
183 files at boot time.
184 Otherwise,
185 only missing
186 .Pa linker.hints
187 files are generated.
188 .It Va kldxref_module_path
189 .Pq Vt str
190 Empty by default.
191 A semi-colon
192 .Pq Ql \&;
193 delimited list of paths containing
194 .Xr kld 4
195 modules.
196 If empty,
197 the contents of the
198 .Va kern.module_path
199 .Xr sysctl 8
200 are used.
201 .It Va pccard_enable
202 .Pq Vt bool
203 If set to
204 .Dq Li YES ,
205 enable PCCARD support at boot time.
206 .It Va pccard_mem
207 .Pq Vt str
208 Set to PCCARD controller memory address or
209 .Dq Li DEFAULT
210 for the default value.
211 .It Va pccard_beep
212 .Pq Vt int
213 If 0,
214 set the PCCARD controller to silent mode.
215 If 1,
216 set it to beep mode.
217 If 2,
218 set it to melody mode.
219 .It Va pccard_conf
220 .Pq Vt str
221 Path to the configuration file for the
222 .Xr pccardd 8
223 daemon (e.g.\&
224 .Pa /etc/pccard.conf.sample ) .
225 .It Va pccardd_flags
226 .Pq Vt str
227 If
228 .Va pccard_enable
229 is set to
230 .Dq Li YES ,
231 these are the flags to pass to the
232 .Xr pccardd 8
233 daemon.
234 .It Va powerd_enable
235 .Pq Vt bool
236 If set to
237 .Dq Li YES ,
238 enable the system power control facility with the
239 .Xr powerd 8
240 daemon.
241 .It Va powerd_flags
242 .Pq Vt str
243 If
244 .Va powerd_enable
245 is set to
246 .Dq Li YES ,
247 these are the flags to pass to the
248 .Xr powerd 8
249 daemon.
250 .It Va tmpmfs
251 Controls the creation of a
252 .Pa /tmp
253 memory file system.
254 Always happens if set to
255 .Dq Li YES
256 and never happens if set to
257 .Dq Li NO .
258 If set to anything else, a memory file system is created if
259 .Pa /tmp
260 is not writable.
261 .It Va tmpsize
262 Controls the size of a created
263 .Pa /tmp
264 memory file system.
265 .It Va tmpmfs_flags
266 Extra options passed to the
267 .Xr mdmfs 8
268 utility when the memory file system for
269 .Pa /tmp
270 is created.
271 The default is
272 .Dq Li "-S -M" ,
273 which inhibits the use of softupdates on
274 .Pa /tmp
275 to waste as little space as possible
276 and creates a pure memory backed disk, which will never be swapped out,
277 for maximum performance and system stability at low memory conditions.
278 See
279 .Xr mdmfs 8
280 for other options you can use in
281 .Va tmpmfs_flags .
282 .It Va varmfs
283 Controls the creation of a
284 .Pa /var
285 memory file system.
286 Always happens if set to
287 .Dq Li YES
288 and never happens if set to
289 .Dq Li NO .
290 If set to anything else, a memory file system is created if
291 .Pa /var
292 is not writable.
293 .It Va varsize
294 Controls the size of a created
295 .Pa /var
296 memory file system.
297 .It Va varmfs_flags
298 Extra options passed to the
299 .Xr mdmfs 8
300 utility when the memory file system for
301 .Pa /var
302 is created.
303 The default is
304 .Dq Li "-S -M" ,
305 which inhibits the use of softupdates on
306 .Pa /var
307 to waste as little space as possible
308 and creates a pure memory backed disk, which will never be swapped out,
309 for maximum performance and system stability at low memory conditions.
310 See
311 .Xr mdmfs 8
312 for other options you can use in
313 .Va varmfs_flags .
314 .It Va populate_var
315 Controls the automatic population of the
316 .Pa /var
317 file system.
318 Always happens if set to
319 .Dq Li YES
320 and never happens if set to
321 .Dq Li NO .
322 If set to anything else, a memory file system is created if
323 .Pa /var
324 is not writable.
325 Note that this process requires access to certain commands in
326 .Pa /usr
327 before
328 .Pa /usr
329 is mounted on normal systems.
330 .It Va cleanvar_enable
331 .Pq Vt bool
332 Clean the
333 .Pa /var
334 directory.
335 .It Va local_startup
336 .Pq Vt str
337 List of directories to search for startup script files.
338 .It Va script_name_sep
339 .Pq Vt str
340 The field separator to use for breaking down the list of startup script files
341 into individual filenames.
342 The default is a space.
343 It is not necessary to change this unless there are startup scripts with names
344 containing spaces.
345 .It Va hostname
346 .Pq Vt str
347 The fully qualified domain name (FQDN) of this host on the network.
348 This should almost certainly be set to something meaningful, even if
349 there is no network connection.
350 If
351 .Xr dhclient 8
352 is used to set the hostname via DHCP,
353 this variable should be set to an empty string.
354 .It Va ipv6_enable
355 .Pq Vt bool
356 Enable support for IPv6 networking.
357 Note that this requires that the kernel has been compiled with
358 .Cd "options INET6" .
359 .It Va nisdomainname
360 .Pq Vt str
361 The NIS domain name of this host, or
362 .Dq Li NO
363 if NIS is not used.
364 .It Va dhclient_program
365 .Pq Vt str
366 Path to the DHCP client program
367 .Pa ( /sbin/dhclient ,
368 the
369 .Ox
370 DHCP client,
371 is the default).
372 .It Va dhclient_flags
373 .Pq Vt str
374 Additional flags to pass to the DHCP client program.
375 For the
376 .Ox
377 DHCP client, see the
378 .Xr dhclient 8
379 manpage for a description of the command line options available.
380 .It Va background_dhclient
381 .Pq Vt bool
382 Set to
383 .Dq Li YES
384 to start the DHCP client in background.
385 This can cause trouble with applications depending on
386 a working network, but it will provide a faster startup
387 in many cases.
388 .It Va firewall_enable
389 .Pq Vt bool
390 Set to
391 .Dq Li YES
392 to load firewall rules at startup.
393 If the kernel was not built with
394 .Cd "options IPFIREWALL" ,
395 the
396 .Pa ipfw.ko
397 kernel module will be loaded.
398 See also
399 .Va ipfilter_enable .
400 .It Va ipv6_firewall_enable
401 .Pq Vt bool
402 The IPv6 equivalent of
403 .Va firewall_enable .
404 Set to
405 .Dq Li YES
406 to load IPv6 firewall rules at startup.
407 If the kernel was not built with
408 .Cd "options IPV6FIREWALL" ,
409 the
410 .Pa ip6fw.ko
411 kernel module will be loaded.
412 .It Va firewall_script
413 .Pq Vt str
414 This variable specifies the full path to the firewall script to run.
415 The default is
416 .Pa /etc/rc.firewall .
417 .It Va ipv6_firewall_script
418 .Pq Vt str
419 The IPv6 equivalent of
420 .Va firewall_script .
421 .It Va firewall_type
422 .Pq Vt str
423 Names the firewall type from the selection in
424 .Pa /etc/rc.firewall ,
425 or the file which contains the local firewall ruleset.
426 Valid selections from
427 .Pa /etc/rc.firewall
428 are:
429 .Pp
430 .Bl -tag -width ".Li simple" -compact
431 .It Li open
432 unrestricted IP access
433 .It Li closed
434 all IP services disabled, except via
435 .Dq Li lo0
436 .It Li client
437 basic protection for a workstation
438 .It Li simple
439 basic protection for a LAN.
440 .El
441 .Pp
442 If a filename is specified, the full path
443 must be given.
444 .It Va ipv6_firewall_type
445 .Pq Vt str
446 The IPv6 equivalent of
447 .Va firewall_type .
448 .It Va firewall_quiet
449 .Pq Vt bool
450 Set to
451 .Dq Li YES
452 to disable the display of firewall rules on the console during boot.
453 .It Va ipv6_firewall_quiet
454 .Pq Vt bool
455 The IPv6 equivalent of
456 .Va firewall_quiet .
457 .It Va firewall_logging
458 .Pq Vt bool
459 Set to
460 .Dq Li YES
461 to enable firewall event logging.
462 This is equivalent to the
463 .Dv IPFIREWALL_VERBOSE
464 kernel option.
465 .It Va ipv6_firewall_logging
466 .Pq Vt bool
467 The IPv6 equivalent of
468 .Va firewall_logging .
469 .It Va firewall_flags
470 .Pq Vt str
471 Flags passed to
472 .Xr ipfw 8
473 if
474 .Va firewall_type
475 specifies a filename.
476 .It Va ipv6_firewall_flags
477 .Pq Vt str
478 The IPv6 equivalent of
479 .Va firewall_flags .
480 .It Va natd_program
481 .Pq Vt str
482 Path to
483 .Xr natd 8 .
484 .It Va natd_enable
485 .Pq Vt bool
486 Set to
487 .Dq Li YES
488 to enable
489 .Xr natd 8 .
490 .Va firewall_enable
491 must also be set to
492 .Dq Li YES ,
493 and
494 .Xr divert 4
495 sockets must be enabled in the kernel.
496 If the kernel was not built with
497 .Cd "options IPDIVERT" ,
498 the
499 .Pa ipdivert.ko
500 kernel module will be loaded.
501 .It Va natd_interface
502 .Pq Vt str
503 This is the name of the public interface on which
504 .Xr natd 8
505 should run.
506 The interface may be given as an interface name or as an IP address.
507 .It Va natd_flags
508 .Pq Vt str
509 Additional
510 .Xr natd 8
511 flags should be placed here.
512 The
513 .Fl n
514 or
515 .Fl a
516 flag is automatically added with the above
517 .Va natd_interface
518 as an argument.
519 .\" ----- ipfilter_enable setting --------------------------------
520 .It Va ipfilter_enable
521 .Pq Vt bool
522 Set to
523 .Dq Li NO
524 by default.
525 Setting this to
526 .Dq Li YES
527 enables
528 .Xr ipf 8
529 packet filtering.
530 .Pp
531 Typical usage will require putting
532 .Bd -literal
533 ipfilter_enable="YES"
534 ipnat_enable="YES"
535 ipmon_enable="YES"
536 ipfs_enable="YES"
537 .Ed
538 .Pp
539 into
540 .Pa /etc/rc.conf
541 and editing
542 .Pa /etc/ipf.rules
543 and
544 .Pa /etc/ipnat.rules
545 appropriately.
546 .Pp
547 Note that
548 .Va ipfilter_enable
549 and
550 .Va ipnat_enable
551 can be enabled independently.
552 .Va ipmon_enable
553 and
554 .Va ipfs_enable
555 both require at least one of
556 .Va ipfilter_enable
557 and
558 .Va ipnat_enable
559 to be enabled.
560 .Pp
561 Having
562 .Bd -literal
563 options IPFILTER
564 options IPFILTER_LOG
565 options IPFILTER_DEFAULT_BLOCK
566 .Ed
567 .Pp
568 in the kernel configuration file is a good idea, too.
569 .\" ----- ipfilter_program setting ------------------------------
570 .It Va ipfilter_program
571 .Pq Vt str
572 Path to
573 .Xr ipf 8
574 (default
575 .Pa /sbin/ipf ) .
576 .\" ----- ipfilter_rules setting --------------------------------
577 .It Va ipfilter_rules
578 .Pq Vt str
579 Set to
580 .Pa /etc/ipf.rules
581 by default.
582 This variable contains the name of the filter rule definition file.
583 The file is expected to be readable for the
584 .Xr ipf 8
585 command to execute.
586 .\" ----- ipv6_ipfilter_rules setting ---------------------------
587 .It Va ipv6_ipfilter_rules
588 .Pq Vt str
589 Set to
590 .Pa /etc/ipf6.rules
591 by default.
592 This variable contains the IPv6 filter rule definition file.
593 The file is expected to be readable for the
594 .Xr ipf 8
595 command to execute.
596 .\" ----- ipfilter_flags setting --------------------------------
597 .It Va ipfilter_flags
598 .Pq Vt str
599 Empty by default.
600 This variable contains flags passed to the
601 .Xr ipf 8
602 program.
603 .\" ----- ipnat_enable setting ----------------------------------
604 .It Va ipnat_enable
605 .Pq Vt bool
606 Set to
607 .Dq Li NO
608 by default.
609 Set it to
610 .Dq Li YES
611 to enable
612 .Xr ipnat 1
613 network address translation.
614 See
615 .Va ipfilter_enable
616 for a detailed discussion.
617 .\" ----- ipnat_program setting ---------------------------------
618 .It Va ipnat_program
619 .Pq Vt str
620 Path to
621 .Xr ipnat 1
622 (default
623 .Pa /sbin/ipnat ) .
624 .\" ----- ipnat_rules setting -----------------------------------
625 .It Va ipnat_rules
626 .Pq Vt str
627 Set to
628 .Pa /etc/ipnat.rules
629 by default.
630 This variable contains the name of the file
631 holding the network address translation definition.
632 This file is expected to be readable for the
633 .Xr ipnat 1
634 command to execute.
635 .\" ----- ipnat_flags setting -----------------------------------
636 .It Va ipnat_flags
637 .Pq Vt str
638 Empty by default.
639 This variable contains flags passed to the
640 .Xr ipnat 1
641 program.
642 .\" ----- ipmon_enable setting ----------------------------------
643 .It Va ipmon_enable
644 .Pq Vt bool
645 Set to
646 .Dq Li NO
647 by default.
648 Set it to
649 .Dq Li YES
650 to enable
651 .Xr ipmon 8
652 monitoring (logging
653 .Xr ipf 8
654 and
655 .Xr ipnat 1
656 events).
657 Setting this variable needs setting
658 .Va ipfilter_enable
659 or
660 .Va ipnat_enable
661 too.
662 See
663 .Va ipfilter_enable
664 for a detailed discussion.
665 .\" ----- ipmon_program setting ---------------------------------
666 .It Va ipmon_program
667 .Pq Vt str
668 Path to
669 .Xr ipmon 8
670 (default
671 .Pa /sbin/ipmon ) .
672 .\" ----- ipmon_flags setting -----------------------------------
673 .It Va ipmon_flags
674 .Pq Vt str
675 Set to
676 .Dq Li -Ds
677 by default.
678 This variable contains flags passed to the
679 .Xr ipmon 8
680 program.
681 Another typical example would be
682 .Dq Fl D Pa /var/log/ipflog
683 to have
684 .Xr ipmon 8
685 log directly to a file bypassing
686 .Xr syslogd 8 .
687 Make sure to adjust
688 .Pa /etc/newsyslog.conf
689 in such case like this:
690 .Bd -literal
691 /var/log/ipflog  640  10  100  *  Z  /var/run/ipmon.pid
692 .Ed
693 .\" ----- ipfs_enable setting -----------------------------------
694 .It Va ipfs_enable
695 .Pq Vt bool
696 Set to
697 .Dq Li NO
698 by default.
699 Set it to
700 .Dq Li YES
701 to enable
702 .Xr ipfs 8
703 saving the filter and NAT state tables during shutdown
704 and reloading them during startup again.
705 Setting this variable needs setting
706 .Va ipfilter_enable
707 or
708 .Va ipnat_enable
709 to
710 .Dq Li YES
711 too.
712 See
713 .Va ipfilter_enable
714 for a detailed discussion.
715 Note that if
716 .Va kern_securelevel
717 is set to 3,
718 .Va ipfs_enable
719 cannot be used
720 because the raised securelevel will prevent
721 .Xr ipfs 8
722 from saving the state tables at shutdown time.
723 .\" ----- ipfs_program setting ----------------------------------
724 .It Va ipfs_program
725 .Pq Vt str
726 Path to
727 .Xr ipfs 8
728 (default
729 .Pa /sbin/ipfs ) .
730 .\" ----- ipfs_flags setting ------------------------------------
731 .It Va ipfs_flags
732 .Pq Vt str
733 Empty by default.
734 This variable contains flags passed to the
735 .Xr ipfs 8
736 program.
737 .\" ----- end of added ipf hook ---------------------------------
738 .It Va pf_enable
739 .Pq Vt bool
740 Set to
741 .Dq Li NO
742 by default.
743 Setting this to
744 .Dq Li YES
745 enables
746 .Xr pf 4
747 packet filtering.
748 .Pp
749 Typical usage will require putting
750 .Pp
751 .Dl pf_enable="YES"
752 .Pp
753 into
754 .Pa /etc/rc.conf
755 and editing
756 .Pa /etc/pf.conf
757 appropriately.
758 .Pp
759 .Dl "device pf"
760 .Pp
761 builds
762 .Xr pf 4
763 into the kernel.
764 Otherwise it is loaded from a module.
765 .It Va pf_rules
766 .Pq Vt str
767 Path to
768 .Xr pf 4
769 ruleset configuration file
770 (default
771 .Pa /etc/pf.conf ) .
772 .It Va pf_program
773 .Pq Vt str
774 Path to
775 .Xr pfctl 8
776 (default
777 .Pa /sbin/pfctl ) .
778 .It Va pf_flags
779 .Pq Vt str
780 If
781 .Va pf_enable
782 is set to
783 .Dq Li YES ,
784 these flags are passed to the
785 .Xr pfctl 8
786 program when loading the ruleset.
787 .It Va pflog_enable
788 .Pq Vt bool
789 Set to
790 .Dq Li NO
791 by default.
792 Setting this to
793 .Dq Li YES
794 enables
795 .Xr pflogd 8
796 which logs packets from the
797 .Xr pf 4
798 packet filter.
799 .It Va pflog_logfile
800 .Pq Vt str
801 If
802 .Va pflog_enable
803 is set to
804 .Dq Li YES
805 this controls where
806 .Xr pflogd 8
807 stores the logfile
808 (default
809 .Pa /var/log/pflog ) .
810 Check
811 .Pa /etc/newsyslog.conf
812 to adjust logfile rotation for this.
813 .It Va pflog_program
814 .Pq Vt str
815 Path to
816 .Xr pflogd 8
817 (default
818 .Pa /sbin/pflogd ) .
819 .It Va pflog_flags
820 .Pq Vt str
821 Empty by default.
822 This variable contains additional flags passed to the
823 .Xr pflogd 8
824 program.
825 .It Va pfsync_enable
826 .Pq Vt bool
827 Set to
828 .Dq Li NO
829 by default.
830 Setting this to
831 .Dq Li YES
832 enables exposing
833 .Xr pf 4
834 state changes to other hosts over the network by means of
835 .Xr pfsync 4 .
836 The
837 .Va pfsync_syncdev
838 variable
839 must also be set then.
840 .It Va pfsync_syncdev
841 .Pq Vt str
842 Empty by default.
843 This variable specifies the name of the network interface
844 .Xr pfsync 4
845 should operate through.
846 It must be set accordingly if
847 .Va pfsync_enable
848 is set to
849 .Dq Li YES .
850 .It Va pfsync_ifconfig
851 .Pq Vt str
852 Empty by default.
853 This variable can contain additional options to be passed to the
854 .Xr ifconfig 8
855 command used to set up
856 .Xr pfsync 4 .
857 .It Va tcp_extensions
858 .Pq Vt bool
859 Set to
860 .Dq Li YES
861 by default.
862 Setting this to
863 .Dq Li NO
864 disables certain TCP options as described by
865 .Rs
866 .%T "RFC 1323"
867 .Re
868 Setting this to
869 .Dq Li NO
870 might help remedy such problems with connections as randomly hanging
871 or other weird behavior.
872 Some network devices are known
873 to be broken with respect to these options.
874 .It Va log_in_vain
875 .Pq Vt int
876 Set to 0 by default.
877 The
878 .Xr sysctl 8
879 variables,
880 .Va net.inet.tcp.log_in_vain
881 and
882 .Va net.inet.udp.log_in_vain ,
883 as described in
884 .Xr tcp 4
885 and
886 .Xr udp 4 ,
887 are set to the given value.
888 .It Va tcp_keepalive
889 .Pq Vt bool
890 Set to
891 .Dq Li YES
892 by default.
893 Setting to
894 .Dq Li NO
895 will disable probing idle TCP connections to verify that the
896 peer is still up and reachable.
897 .It Va tcp_drop_synfin
898 .Pq Vt bool
899 Set to
900 .Dq Li NO
901 by default.
902 Setting to
903 .Dq Li YES
904 will cause the kernel to ignore TCP frames that have both
905 the SYN and FIN flags set.
906 This prevents OS fingerprinting, but may
907 break some legitimate applications.
908 This option is only available if the
909 kernel was built with the
910 .Dv TCP_DROP_SYNFIN
911 option.
912 .It Va icmp_drop_redirect
913 .Pq Vt bool
914 Set to
915 .Dq Li NO
916 by default.
917 Setting to
918 .Dq Li YES
919 will cause the kernel to ignore ICMP REDIRECT packets.
920 Refer to
921 .Xr icmp 4
922 for more information.
923 .It Va icmp_log_redirect
924 .Pq Vt bool
925 Set to
926 .Dq Li NO
927 by default.
928 Setting to
929 .Dq Li YES
930 will cause the kernel to log ICMP REDIRECT packets.
931 Note that
932 the log messages are not rate-limited, so this option should only be used
933 for troubleshooting networks.
934 Refer to
935 .Xr icmp 4
936 for more information.
937 .It Va icmp_bmcastecho
938 .Pq Vt bool
939 Set to
940 .Dq Li YES
941 to respond to broadcast or multicast ICMP ping packets.
942 Refer to
943 .Xr icmp 4
944 for more information.
945 .It Va ip_portrange_first
946 .Pq Vt int
947 If not set to
948 .Dq Li NO ,
949 this is the first port in the default portrange.
950 Refer to
951 .Xr ip 4
952 for more information.
953 .It Va ip_portrange_last
954 .Pq Vt int
955 If not set to
956 .Dq Li NO ,
957 this is the last port in the default portrange.
958 Refer to
959 .Xr ip 4
960 for more information.
961 .It Va network_interfaces
962 .Pq Vt str
963 Set to the list of network interfaces to configure on this host or
964 .Dq Li AUTO
965 (the default) for all current interfaces.
966 For example, if the only active network devices in the system
967 are the loopback device
968 .Pq Li lo0
969 and a NIC using the
970 .Xr ed 4
971 driver,
972 this could be set to
973 .Dq Li "lo0 ed0" .
974 .Pp
975 An
976 .Va ifconfig_ Ns Aq Ar interface
977 variable is also assumed to exist for each value of
978 .Ar interface .
979 The variable can contain arguments to
980 .Xr ifconfig 8 ,
981 as well as special case-insensitive keywords described below.
982 Such keywords are removed before passing the value to
983 .Xr ifconfig 8
984 while the order of the other arguments is preserved.
985 .Pp
986 One can configure more than one IPv4 address with the
987 .Va ipv4_addrs_ Ns Aq Ar interface
988 variable.
989 One or more IP addresses must be provided in Classless Inter-Domain
990 Routing (CIDR) address notation, whose last byte can be a range like
991 192.168.0.5-23/24.
992 In this case the address 192.168.0.5 will be configured with the
993 netmask /24 and the addresses 192.168.0.6 to 192.168.0.23 with
994 the non-conflicting netmask /32 as explained in the
995 .Xr ifconfig 8
996 alias section.
997 With the interface in question being
998 .Li ed0 ,
999 an example could look like:
1000 .Bd -literal
1001 ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"
1002 .Ed
1003 .Pp
1004 It is also possible to add IP alias entries using
1005 .Xr ifconfig 8
1006 syntax.
1007 Assuming that the interface in question was
1008 .Li ed0 ,
1009 it might look
1010 something like this:
1011 .Bd -literal
1012 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
1013 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
1014 .Ed
1015 .Pp
1016 And so on.
1017 For each
1018 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1019 entry that is found,
1020 its contents are passed to
1021 .Xr ifconfig 8 .
1022 Execution stops at the first unsuccessful access, so if
1023 something like this is present:
1024 .Bd -literal
1025 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
1026 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
1027 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
1028 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
1029 .Ed
1030 .Pp
1031 Then note that alias4 would
1032 .Em not
1033 be added since the search would
1034 stop with the missing
1035 .Dq Li alias3
1036 entry.
1037 Due to this difficult to manage behavior, the
1038 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1039 form is deprecated.
1040 .Pp
1041 If the
1042 .Pa /etc/start_if. Ns Aq Ar interface
1043 file is present, it is read and executed by the
1044 .Xr sh 1
1045 interpreter
1046 before configuring the interface as specified in the
1047 .Va ifconfig_ Ns Aq Ar interface
1048 and
1049 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
1050 variables.
1051 .Pp
1052 If the
1053 .Va ifconfig_ Ns Aq Ar interface
1054 contains the keyword
1055 .Dq Li NOAUTO
1056 then the interface will not be configured
1057 at boot or by
1058 .Pa /etc/pccard_ether
1059 when
1060 .Va network_interfaces
1061 is set to
1062 .Dq Li AUTO .
1063 .Pp
1064 It is possible to bring up an interface with DHCP by adding
1065 .Dq Li DHCP
1066 to the
1067 .Va ifconfig_ Ns Aq Ar interface
1068 variable.
1069 For instance, to initialize the
1070 .Li ed0
1071 device via DHCP,
1072 it is possible to use something like:
1073 .Bd -literal
1074 ifconfig_ed0="DHCP"
1075 .Ed
1076 .Pp
1077 Also, if your interface needs WPA authentication, it is possible to add
1078 .Dq Li WPA
1079 to the
1080 .Va ifconfig_ Ns Aq Ar interface
1081 variable.
1082 .Pp
1083 Finally, you can add
1084 .Xr ifconfig 8
1085 options in this variable, in addition to the
1086 .Pa /etc/start_if. Ns Aq Ar interface
1087 file.
1088 For instance, to initialize the
1089 .Li wi0
1090 device via DHCP, using WPA authentication and 802.11b mode, it is
1091 possible to use something like:
1092 .Bd -literal
1093 ifconfig_wi0="DHCP WPA mode 11b"
1094 .Ed
1095 .Pp
1096 In addition to the
1097 .Va ifconfig_ Ns Aq Ar interface
1098 form, a fallback variable
1099 .Va ifconfig_DEFAULT
1100 may be configured.
1101 It will be used for all interfaces with no
1102 .Va ifconfig_ Ns Aq Ar interface
1103 variable.
1104 This is intended to replace the no longer supported
1105 .Va pccard_ifconfig
1106 variable.
1107 .Pp
1108 It is also possible to rename interface by doing:
1109 .Bd -literal
1110 ifconfig_ed0_name="net0"
1111 ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"
1112 .Ed
1113 .It Va ipv6_network_interfaces
1114 .Pq Vt str
1115 This is the IPv6 equivalent of
1116 .Va network_interfaces .
1117 Instead of setting the ifconfig variables as
1118 .Va ifconfig_ Ns Aq Ar interface
1119 they should be set as
1120 .Va ipv6_ifconfig_ Ns Aq Ar interface .
1121 Aliases should be set as
1122 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
1123 .Va ipv6_prefix_ Ns Aq Ar interface
1124 does something.
1125 Interfaces that do not have a
1126 .Va ipv6_ifconfig_ Ns Aq Ar interface
1127 setting will be auto configured by
1128 .Xr rtsol 8
1129 if the
1130 .Va ipv6_gateway_enable
1131 is set to
1132 .Dq Li NO .
1133 Note that the IPv6 networking code does not support the
1134 .Pa /etc/start_if. Ns Aq Ar interface
1135 files.
1136 .It Va ipv6_default_interface
1137 .Pq Vt str
1138 If not set to
1139 .Dq Li NO ,
1140 this is the default output interface for scoped addresses.
1141 Now this works only for IPv6 link local multicast addresses.
1142 .It Va cloned_interfaces
1143 .Pq Vt str
1144 Set to the list of clonable network interfaces to create on this host.
1145 Entries in
1146 .Va cloned_interfaces
1147 are automatically appended to
1148 .Va network_interfaces
1149 for configuration.
1150 .It Va gif_interfaces
1151 .Pq Vt str
1152 Set to the list of
1153 .Xr gif 4
1154 tunnel interfaces to configure on this host.
1155 A
1156 .Va gifconfig_ Ns Aq Ar interface
1157 variable is assumed to exist for each value of
1158 .Ar interface .
1159 The value of this variable is used to configure the link layer of the
1160 tunnel according to the syntax of the
1161 .Cm tunnel
1162 option to
1163 .Xr ifconfig 8 .
1164 Additionally, this option ensures that each listed interface is created
1165 via the
1166 .Cm create
1167 option to
1168 .Xr ifconfig 8
1169 before attempting to configure it.
1170 .It Va sppp_interfaces
1171 .Pq Vt str
1172 Set to the list of
1173 .Xr sppp 4
1174 interfaces to configure on this host.
1175 A
1176 .Va spppconfig_ Ns Aq Ar interface
1177 variable is assumed to exist for each value of
1178 .Ar interface .
1179 Each interface should also be configured by a general
1180 .Va ifconfig_ Ns Aq Ar interface
1181 setting.
1182 Refer to
1183 .Xr spppcontrol 8
1184 for more information about available options.
1185 .It Va ppp_enable
1186 .Pq Vt bool
1187 If set to
1188 .Dq Li YES ,
1189 run the
1190 .Xr ppp 8
1191 daemon.
1192 .It Va ppp_mode
1193 .Pq Vt str
1194 Mode in which to run the
1195 .Xr ppp 8
1196 daemon.
1197 Accepted modes are
1198 .Dq Li auto ,
1199 .Dq Li ddial ,
1200 .Dq Li direct
1201 and
1202 .Dq Li dedicated .
1203 See the manual for a full description.
1204 .It Va ppp_nat
1205 .Pq Vt bool
1206 If set to
1207 .Dq Li YES ,
1208 enables network address translation.
1209 Used in conjunction with
1210 .Va gateway_enable
1211 allows hosts on private network addresses access to the Internet using
1212 this host as a network address translating router.
1213 .It Va ppp_profile
1214 .Pq Vt str
1215 The name of the profile to use from
1216 .Pa /etc/ppp/ppp.conf .
1217 .It Va ppp_user
1218 .Pq Vt str
1219 The name of the user under which
1220 .Xr ppp 8
1221 should be started.
1222 By
1223 default,
1224 .Xr ppp 8
1225 is started as
1226 .Dq Li root .
1227 .It Va rc_conf_files
1228 .Pq Vt str
1229 This option is used to specify a list of files that will override
1230 the settings in
1231 .Pa /etc/defaults/rc.conf .
1232 The files will be read in the order in which they are specified and should
1233 include the full path to the file.
1234 By default, the files specified are
1235 .Pa /etc/rc.conf
1236 and
1237 .Pa /etc/rc.conf.local
1238 .It Va gbde_autoattach_all
1239 .Pq Vt bool
1240 If set to
1241 .Dq Li YES ,
1242 .Pa /etc/rc.d/gbde
1243 will attempt to automatically initialize your .bde devices in
1244 .Pa /etc/fstab .
1245 .It Va gbde_devices
1246 .Pq Vt str
1247 List the devices that the script should try to attach,
1248 or
1249 .Dq Li AUTO .
1250 .It Va gbde_lockdir
1251 .Pq Vt str
1252 The directory where the
1253 .Xr gbde 4
1254 lockfiles are located.
1255 The default lockfile directory is
1256 .Pa /etc .
1257 .Pp
1258 The lockfile for each individual
1259 .Xr gbde 4
1260 device can be overridden by setting the variable
1261 .Va gbde_lock_ Ns Aq Ar device ,
1262 where
1263 .Ar device
1264 is the encrypted device without the
1265 .Dq Pa /dev/
1266 and
1267 .Dq Pa .bde
1268 parts.
1269 .It Va gbde_attach_attempts
1270 .Pq Vt int
1271 Number of times to attempt attaching to a
1272 .Xr gbde 4
1273 device, i.e., how many times the user is asked for the pass-phrase.
1274 Default is 3.
1275 .It Va geli_devices
1276 .Pq Vt str
1277 List of devices to automatically attach on boot.
1278 Note that .eli devices from
1279 .Pa /etc/fstab
1280 are automatically appended to this list.
1281 .It Va geli_tries
1282 .Pq Vt int
1283 Number of times user is asked for the pass-phrase.
1284 If empty, it will be taken from
1285 .Va kern.geom.eli.tries
1286 sysctl variable.
1287 .It Va geli_default_flags
1288 .Pq Vt str
1289 Default flags to use by
1290 .Xr geli 8
1291 when configuring disk encryption.
1292 Flags can be configured for every device separately by defining
1293 .Va geli_ Ns Ao Ar device Ac Ns Va _flags
1294 variable.
1295 .It Va geli_autodetach
1296 .Pq Vt str
1297 Specifies if GELI devices should be marked for detach on last close after
1298 file systems are mounted.
1299 Default is
1300 .Dq Li YES .
1301 This can be changed for every device separately by defining
1302 .Va geli_ Ns Ao Ar device Ac Ns Va _autodetach
1303 variable.
1304 .It Va geli_swap_flags
1305 Options passed to the
1306 .Xr geli 8
1307 utility when encrypted GEOM providers for swap partitions are created.
1308 The default is
1309 .Dq Li "-a aes -l 256 -s 4096 -d" .
1310 .It Va root_rw_mount
1311 .Pq Vt bool
1312 Set to
1313 .Dq Li YES
1314 by default.
1315 After the file systems are checked at boot time, the root file system
1316 is remounted as read-write if this is set to
1317 .Dq Li YES .
1318 Diskless systems that mount their root file system from a read-only remote
1319 NFS share should set this to
1320 .Dq Li NO
1321 in their
1322 .Pa rc.conf .
1323 .It Va fsck_y_enable
1324 .Pq Vt bool
1325 If set to
1326 .Dq Li YES ,
1327 .Xr fsck 8
1328 will be run with the
1329 .Fl y
1330 flag if the initial preen
1331 of the file systems fails.
1332 .It Va background_fsck
1333 .Pq Vt bool
1334 If set to
1335 .Dq Li YES ,
1336 the system will attempt to run
1337 .Xr fsck 8
1338 in the background where possible.
1339 .It Va background_fsck_delay
1340 .Pq Vt int
1341 The amount of time in seconds to sleep before starting a background
1342 .Xr fsck 8 .
1343 It defaults to sixty seconds to allow large applications such as
1344 the X server to start before disk I/O bandwidth is monopolized by
1345 .Xr fsck 8 .
1346 .It Va netfs_types
1347 .Pq Vt str
1348 List of file system types that are network-based.
1349 This list should generally not be modified by end users.
1350 Use
1351 .Va extra_netfs_types
1352 instead.
1353 .It Va extra_netfs_types
1354 .Pq Vt str
1355 If set to something other than
1356 .Dq Li NO
1357 (the default),
1358 this variable extends the list of file system types
1359 for which automatic mounting at startup by
1360 .Xr rc 8
1361 should be delayed until the network is initialized.
1362 It should contain
1363 a whitespace-separated list of network file system descriptor pairs,
1364 each consisting of a file system type as passed to
1365 .Xr mount 8
1366 and a human-readable, one-word description,
1367 joined with a colon
1368 .Pq Ql \&: .
1369 Extending the default list in this way is only necessary
1370 when third party file system types are used.
1371 .It Va syslogd_enable
1372 .Pq Vt bool
1373 If set to
1374 .Dq Li YES ,
1375 run the
1376 .Xr syslogd 8
1377 daemon.
1378 .It Va syslogd_program
1379 .Pq Vt str
1380 Path to
1381 .Xr syslogd 8
1382 (default
1383 .Pa /usr/sbin/syslogd ) .
1384 .It Va syslogd_flags
1385 .Pq Vt str
1386 If
1387 .Va syslogd_enable
1388 is set to
1389 .Dq Li YES ,
1390 these are the flags to pass to
1391 .Xr syslogd 8 .
1392 .It Va inetd_enable
1393 .Pq Vt bool
1394 If set to
1395 .Dq Li YES ,
1396 run the
1397 .Xr inetd 8
1398 daemon.
1399 .It Va inetd_program
1400 .Pq Vt str
1401 Path to
1402 .Xr inetd 8
1403 (default
1404 .Pa /usr/sbin/inetd ) .
1405 .It Va inetd_flags
1406 .Pq Vt str
1407 If
1408 .Va inetd_enable
1409 is set to
1410 .Dq Li YES ,
1411 these are the flags to pass to
1412 .Xr inetd 8 .
1413 .It Va named_enable
1414 .Pq Vt bool
1415 If set to
1416 .Dq Li YES ,
1417 run the
1418 .Xr named 8
1419 daemon.
1420 .It Va named_program
1421 .Pq Vt str
1422 Path to
1423 .Xr named 8
1424 (default
1425 .Pa /usr/sbin/named ) .
1426 .It Va named_flags
1427 .Pq Vt str
1428 If
1429 .Va named_enable
1430 is set to
1431 .Dq Li YES ,
1432 these are the flags to pass to
1433 .Xr named 8 .
1434 .It Va named_pidfile
1435 .Pq Vt str
1436 This is the default path to the
1437 .Xr named 8
1438 daemon's PID file.
1439 Change it if you change the location in
1440 .Xr named.conf 5 .
1441 .It Va named_chrootdir
1442 .Pq Vt str
1443 The root directory for a name server run in a
1444 .Xr chroot 8
1445 environment (default
1446 .Pa /var/named ) .
1447 If left empty
1448 .Xr named 8
1449 will not be run in a
1450 .Xr chroot 8
1451 environment.
1452 .It Va named_chroot_autoupdate
1453 .Pq Vt bool
1454 Set to
1455 .Dq Li NO
1456 to disable automatic update of the
1457 .Xr chroot 8
1458 environment.
1459 .It Va named_symlink_enable
1460 .Pq Vt bool
1461 Set to
1462 .Dq Li NO
1463 to disable symlinking of
1464 daemon's PID file
1465 into the
1466 .Xr chroot 8
1467 environment.
1468 .It Va kerberos5_server_enable
1469 .Pq Vt bool
1470 Set to
1471 .Dq Li YES
1472 to start a Kerberos 5 authentication server
1473 at boot time.
1474 .It Va kerberos5_server
1475 .Pq Vt str
1476 If
1477 .Va kerberos5_server_enable
1478 is set to
1479 .Dq Li YES
1480 this is the path to Kerberos 5 Authentication Server.
1481 .It Va kerberos5_server_flags
1482 .Pq Vt str
1483 Empty by default.
1484 This variable contains additional flags to be passed to the Kerberos 5
1485 authentication server.
1486 .It Va kadmind5_server_enable
1487 .Pq Vt bool
1488 Set to
1489 .Dq Li YES
1490 to start
1491 .Xr kadmind 8 ,
1492 the Kerberos 5 Administration Daemon; set to
1493 .Dq Li NO
1494 on a slave server.
1495 .It Va kadmind5_server
1496 .Pq Vt str
1497 If
1498 .Va kadmind5_server_enable
1499 is set to
1500 .Dq Li YES
1501 this is the path to Kerberos 5 Administration Daemon.
1502 .It Va kpasswdd_server_enable
1503 .Pq Vt bool
1504 Set to
1505 .Dq Li YES
1506 to start
1507 .Xr kpasswdd 8 ,
1508 the Kerberos 5 Password-Changing Daemon; set to
1509 .Dq Li NO
1510 on a slave server.
1511 .It Va kpasswdd_server
1512 .Pq Vt str
1513 If
1514 .Va kpasswdd_server_enable
1515 is set to
1516 .Dq Li YES
1517 this is the path to Kerberos 5 Password-Changing Daemon.
1518 .It Va rwhod_enable
1519 .Pq Vt bool
1520 If set to
1521 .Dq Li YES ,
1522 run the
1523 .Xr rwhod 8
1524 daemon at boot time.
1525 .It Va rwhod_flags
1526 .Pq Vt str
1527 If
1528 .Va rwhod_enable
1529 is set to
1530 .Dq Li YES ,
1531 these are the flags to pass to it.
1532 .It Va amd_enable
1533 .Pq Vt bool
1534 If set to
1535 .Dq Li YES ,
1536 run the
1537 .Xr amd 8
1538 daemon at boot time.
1539 .It Va amd_flags
1540 .Pq Vt str
1541 If
1542 .Va amd_enable
1543 is set to
1544 .Dq Li YES ,
1545 these are the flags to pass to it.
1546 See the
1547 .Xr amd 8
1548 manpage for more information.
1549 .It Va amd_map_program
1550 .Pq Vt str
1551 If set,
1552 the specified program is run to get the list of
1553 .Xr amd 8
1554 maps.
1555 For example, if the
1556 .Xr amd 8
1557 maps are stored in NIS, one can set this to
1558 run
1559 .Xr ypcat 1
1560 to get a list of
1561 .Xr amd 8
1562 maps from the
1563 .Pa amd.master
1564 NIS map.
1565 .It Va update_motd
1566 .Pq Vt bool
1567 If set to
1568 .Dq Li YES ,
1569 .Pa /etc/motd
1570 will be updated at boot time to reflect the kernel release
1571 being run.
1572 If set to
1573 .Dq Li NO ,
1574 .Pa /etc/motd
1575 will not be updated.
1576 .It Va nfs_client_enable
1577 .Pq Vt bool
1578 If set to
1579 .Dq Li YES ,
1580 run the NFS client daemons at boot time.
1581 .It Va nfs_access_cache
1582 .Pq Vt int
1583 If
1584 .Va nfs_client_enable
1585 is set to
1586 .Dq Li YES ,
1587 this can be set to
1588 .Dq Li 0
1589 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1590 NFS ACCESS
1591 results should be cached.
1592 A value of 2-10 seconds will substantially reduce network
1593 traffic for many NFS operations.
1594 .It Va nfs_server_enable
1595 .Pq Vt bool
1596 If set to
1597 .Dq Li YES ,
1598 run the NFS server daemons at boot time.
1599 .It Va nfs_server_flags
1600 .Pq Vt str
1601 If
1602 .Va nfs_server_enable
1603 is set to
1604 .Dq Li YES ,
1605 these are the flags to pass to the
1606 .Xr nfsd 8
1607 daemon.
1608 .It Va mountd_enable
1609 .Pq Vt bool
1610 If set to
1611 .Dq Li YES ,
1612 and no
1613 .Va nfs_server_enable
1614 is set, start
1615 .Xr mountd 8 ,
1616 but not
1617 .Xr nfsd 8
1618 daemon.
1619 It is commonly needed to run CFS without real NFS used.
1620 .It Va mountd_flags
1621 .Pq Vt str
1622 If
1623 .Va mountd_enable
1624 is set to
1625 .Dq Li YES ,
1626 these are the flags to pass to the
1627 .Xr mountd 8
1628 daemon.
1629 .It Va weak_mountd_authentication
1630 .Pq Vt bool
1631 If set to
1632 .Dq Li YES ,
1633 allow services like PCNFSD to make non-privileged mount
1634 requests.
1635 .It Va nfs_reserved_port_only
1636 .Pq Vt bool
1637 If set to
1638 .Dq Li YES ,
1639 provide NFS services only on a secure port.
1640 .It Va nfs_bufpackets
1641 .Pq Vt int
1642 If set to a number, indicates the number of packets worth of
1643 socket buffer space to reserve on an NFS client.
1644 The kernel default is typically 4.
1645 Using a higher number may be
1646 useful on gigabit networks to improve performance.
1647 The minimum value is
1648 2 and the maximum is 64.
1649 .It Va rpc_lockd_enable
1650 .Pq Vt bool
1651 If set to
1652 .Dq Li YES
1653 and also an NFS server, run
1654 .Xr rpc.lockd 8
1655 at boot time.
1656 .It Va rpc_statd_enable
1657 .Pq Vt bool
1658 If set to
1659 .Dq Li YES
1660 and also an NFS server, run
1661 .Xr rpc.statd 8
1662 at boot time.
1663 .It Va rpcbind_program
1664 .Pq Vt str
1665 Path to
1666 .Xr rpcbind 8
1667 (default
1668 .Pa /usr/sbin/rpcbind ) .
1669 .It Va rpcbind_enable
1670 .Pq Vt bool
1671 If set to
1672 .Dq Li YES ,
1673 run the
1674 .Xr rpcbind 8
1675 service at boot time.
1676 .It Va rpcbind_flags
1677 .Pq Vt str
1678 If
1679 .Va rpcbind_enable
1680 is set to
1681 .Dq Li YES ,
1682 these are the flags to pass to the
1683 .Xr rpcbind 8
1684 daemon.
1685 .It Va keyserv_enable
1686 .Pq Vt bool
1687 If set to
1688 .Dq Li YES ,
1689 run the
1690 .Xr keyserv 8
1691 daemon on boot for running Secure RPC.
1692 .It Va keyserv_flags
1693 .Pq Vt str
1694 If
1695 .Va keyserv_enable
1696 is set to
1697 .Dq Li YES ,
1698 these are the flags to pass to
1699 .Xr keyserv 8
1700 daemon.
1701 .It Va pppoed_enable
1702 .Pq Vt bool
1703 If set to
1704 .Dq Li YES ,
1705 run the
1706 .Xr pppoed 8
1707 daemon at boot time to provide PPP over Ethernet services.
1708 .It Va pppoed_ Ns Ar provider
1709 .Pq Vt str
1710 .Xr pppoed 8
1711 listens to requests to this
1712 .Ar provider
1713 and ultimately runs
1714 .Xr ppp 8
1715 with a
1716 .Ar system
1717 argument of the same name.
1718 .It Va pppoed_flags
1719 .Pq Vt str
1720 Additional flags to pass to
1721 .Xr pppoed 8 .
1722 .It Va pppoed_interface
1723 .Pq Vt str
1724 The network interface to run
1725 .Xr pppoed 8
1726 on.
1727 This is mandatory when
1728 .Va pppoed_enable
1729 is set to
1730 .Dq Li YES .
1731 .It Va timed_enable
1732 .Pq Vt bool
1733 If set to
1734 .Dq Li YES ,
1735 run the
1736 .Xr timed 8
1737 service at boot time.
1738 This command is intended for networks of
1739 machines where a consistent
1740 .Dq "network time"
1741 for all hosts must be established.
1742 This is often useful in large NFS
1743 environments where time stamps on files are expected to be consistent
1744 network-wide.
1745 .It Va timed_flags
1746 .Pq Vt str
1747 If
1748 .Va timed_enable
1749 is set to
1750 .Dq Li YES ,
1751 these are the flags to pass to the
1752 .Xr timed 8
1753 service.
1754 .It Va ntpdate_enable
1755 .Pq Vt bool
1756 If set to
1757 .Dq Li YES ,
1758 run
1759 .Xr ntpdate 8
1760 at system startup.
1761 This command is intended to
1762 synchronize the system clock only
1763 .Em once
1764 from some standard reference.
1765 An option to set this up initially
1766 (from a list of known servers) is also provided by the
1767 .Xr sysinstall 8
1768 program when the system is first installed.
1769 .It Va ntpdate_hosts
1770 .Pq Vt str
1771 A whitespace-separated list of NTP servers to synchronize with at startup.
1772 The default is to use the servers listed in
1773 .Pa /etc/ntp.conf ,
1774 if that file exists.
1775 .It Va ntpdate_program
1776 .Pq Vt str
1777 Path to
1778 .Xr ntpdate 8
1779 (default
1780 .Pa /usr/sbin/ntpdate ) .
1781 .It Va ntpdate_flags
1782 .Pq Vt str
1783 If
1784 .Va ntpdate_enable
1785 is set to
1786 .Dq Li YES ,
1787 these are the flags to pass to the
1788 .Xr ntpdate 8
1789 command (typically a hostname).
1790 .It Va ntpd_enable
1791 .Pq Vt bool
1792 If set to
1793 .Dq Li YES ,
1794 run the
1795 .Xr ntpd 8
1796 command at boot time.
1797 .It Va ntpd_program
1798 .Pq Vt str
1799 Path to
1800 .Xr ntpd 8
1801 (default
1802 .Pa /usr/sbin/ntpd ) .
1803 .It Va ntpd_flags
1804 .Pq Vt str
1805 If
1806 .Va ntpd_enable
1807 is set to
1808 .Dq Li YES ,
1809 these are the flags to pass to the
1810 .Xr ntpd 8
1811 daemon.
1812 .It Va ntpd_sync_on_start
1813 .Pq Vt bool
1814 If set to
1815 .Dq Li YES ,
1816 .Xr ntpd 8
1817 is run with the
1818 .Fl g
1819 flag, which syncs the system's clock on startup.
1820 See
1821 .Xr ntpd 8
1822 for more information regarding the
1823 .Fl g
1824 option.
1825 This is a preferred alternative to using
1826 .Xr ntpdate 8
1827 or specifying the
1828 .Va ntpdate_enable
1829 variable.
1830 .It Va nis_client_enable
1831 .Pq Vt bool
1832 If set to
1833 .Dq Li YES ,
1834 run the
1835 .Xr ypbind 8
1836 service at system boot time.
1837 .It Va nis_client_flags
1838 .Pq Vt str
1839 If
1840 .Va nis_client_enable
1841 is set to
1842 .Dq Li YES ,
1843 these are the flags to pass to the
1844 .Xr ypbind 8
1845 service.
1846 .It Va nis_ypset_enable
1847 .Pq Vt bool
1848 If set to
1849 .Dq Li YES ,
1850 run the
1851 .Xr ypset 8
1852 daemon at system boot time.
1853 .It Va nis_ypset_flags
1854 .Pq Vt str
1855 If
1856 .Va nis_ypset_enable
1857 is set to
1858 .Dq Li YES ,
1859 these are the flags to pass to the
1860 .Xr ypset 8
1861 daemon.
1862 .It Va nis_server_enable
1863 .Pq Vt bool
1864 If set to
1865 .Dq Li YES ,
1866 run the
1867 .Xr ypserv 8
1868 daemon at system boot time.
1869 .It Va nis_server_flags
1870 .Pq Vt str
1871 If
1872 .Va nis_server_enable
1873 is set to
1874 .Dq Li YES ,
1875 these are the flags to pass to the
1876 .Xr ypserv 8
1877 daemon.
1878 .It Va nis_ypxfrd_enable
1879 .Pq Vt bool
1880 If set to
1881 .Dq Li YES ,
1882 run the
1883 .Xr rpc.ypxfrd 8
1884 daemon at system boot time.
1885 .It Va nis_ypxfrd_flags
1886 .Pq Vt str
1887 If
1888 .Va nis_ypxfrd_enable
1889 is set to
1890 .Dq Li YES ,
1891 these are the flags to pass to the
1892 .Xr rpc.ypxfrd 8
1893 daemon.
1894 .It Va nis_yppasswdd_enable
1895 .Pq Vt bool
1896 If set to
1897 .Dq Li YES ,
1898 run the
1899 .Xr rpc.yppasswdd 8
1900 daemon at system boot time.
1901 .It Va nis_yppasswdd_flags
1902 .Pq Vt str
1903 If
1904 .Va nis_yppasswdd_enable
1905 is set to
1906 .Dq Li YES ,
1907 these are the flags to pass to the
1908 .Xr rpc.yppasswdd 8
1909 daemon.
1910 .It Va rpc_ypupdated_enable
1911 .Pq Vt bool
1912 If set to
1913 .Dq Li YES ,
1914 run the
1915 .Nm rpc.ypupdated
1916 daemon at system boot time.
1917 .It Va bsnmpd_enable
1918 .Pq Vt bool
1919 If set to
1920 .Dq Li YES ,
1921 run the
1922 .Xr bsnmpd 1
1923 daemon at system boot time.
1924 Be sure to understand the security implications of running SNMP daemon
1925 on your host.
1926 .It Va bsnmpd_flags
1927 .Pq Vt str
1928 If
1929 .Va bsnmpd_enable
1930 is set to
1931 .Dq Li YES ,
1932 these are the flags to pass to the
1933 .Xr bsnmpd 1
1934 daemon.
1935 .It Va defaultrouter
1936 .Pq Vt str
1937 If not set to
1938 .Dq Li NO ,
1939 create a default route to this host name or IP address
1940 (use an IP address if this router is also required to get to the
1941 name server!).
1942 .It Va ipv6_defaultrouter
1943 .Pq Vt str
1944 The IPv6 equivalent of
1945 .Va defaultrouter .
1946 .It Va static_routes
1947 .Pq Vt str
1948 Set to the list of static routes that are to be added at system
1949 boot time.
1950 If not set to
1951 .Dq Li NO
1952 then for each whitespace separated
1953 .Ar element
1954 in the value, a
1955 .Va route_ Ns Aq Ar element
1956 variable is assumed to exist
1957 whose contents will later be passed to a
1958 .Dq Nm route Cm add
1959 operation.
1960 For example:
1961 .Bd -literal
1962 static_routes="mcast gif0local"
1963 route_mcast="-net 224.0.0.0/4 -iface gif0"
1964 route_gif0local="-host 169.254.1.1 -iface lo0"
1965 .Ed
1966 .It Va ipv6_static_routes
1967 .Pq Vt str
1968 The IPv6 equivalent of
1969 .Va static_routes .
1970 If not set to
1971 .Dq Li NO
1972 then for each whitespace separated
1973 .Ar element
1974 in the value, a
1975 .Va ipv6_route_ Ns Aq Ar element
1976 variable is assumed to exist
1977 whose contents will later be passed to a
1978 .Dq Nm route Cm add Fl inet6
1979 operation.
1980 .It Va natm_static_routes
1981 .Pq Vt str
1982 The
1983 .Xr natmip 4
1984 equivalent of
1985 .Va static_routes .
1986 If not empty then for each whitespace separated
1987 .Ar element
1988 in the value, a
1989 .Va route_ Ns Aq Ar element
1990 variable is assumed to exist whose contents will later be passed to a
1991 .Dq Nm atmconfig Cm natm Cm add
1992 operation.
1993 .It Va gateway_enable
1994 .Pq Vt bool
1995 If set to
1996 .Dq Li YES ,
1997 configure host to act as an IP router, e.g.\& to forward packets
1998 between interfaces.
1999 .It Va ipv6_gateway_enable
2000 .Pq Vt bool
2001 The IPv6 equivalent of
2002 .Va gateway_enable .
2003 .It Va router_enable
2004 .Pq Vt bool
2005 If set to
2006 .Dq Li YES ,
2007 run a routing daemon of some sort, based on the
2008 settings of
2009 .Va router
2010 and
2011 .Va router_flags .
2012 .It Va ipv6_router_enable
2013 .Pq Vt bool
2014 The IPv6 equivalent of
2015 .Va router_enable .
2016 If set to
2017 .Dq Li YES ,
2018 run a routing daemon of some sort, based on the
2019 settings of
2020 .Va ipv6_router
2021 and
2022 .Va ipv6_router_flags .
2023 .It Va router
2024 .Pq Vt str
2025 If
2026 .Va router_enable
2027 is set to
2028 .Dq Li YES ,
2029 this is the name of the routing daemon to use.
2030 .It Va ipv6_router
2031 .Pq Vt str
2032 The IPv6 equivalent of
2033 .Va router .
2034 .It Va router_flags
2035 .Pq Vt str
2036 If
2037 .Va router_enable
2038 is set to
2039 .Dq Li YES ,
2040 these are the flags to pass to the routing daemon.
2041 .It Va ipv6_router_flags
2042 .Pq Vt str
2043 The IPv6 equivalent of
2044 .Va router_flags .
2045 .It Va mrouted_enable
2046 .Pq Vt bool
2047 If set to
2048 .Dq Li YES ,
2049 run the multicast routing daemon,
2050 .Xr mrouted 8 .
2051 .It Va mroute6d_enable
2052 .Pq Vt bool
2053 The IPv6 equivalent of
2054 .Va mrouted_enable .
2055 If set to
2056 .Dq Li YES ,
2057 run the IPv6 multicast routing daemon.
2058 Note that no IPv6 multicast routing daemon is included in the
2059 .Fx
2060 base system but
2061 .Xr pim6dd 8
2062 can be installed from the
2063 .Fx
2064 Ports Collection.
2065 .It Va mrouted_flags
2066 .Pq Vt str
2067 If
2068 .Va mrouted_enable
2069 is set to
2070 .Dq Li YES ,
2071 these are the flags to pass to the
2072 .Xr mrouted 8
2073 daemon.
2074 .It Va mroute6d_flags
2075 .Pq Vt str
2076 The IPv6 equivalent of
2077 .Va mrouted_flags .
2078 If
2079 .Va mroute6d_enable
2080 is set to
2081 .Dq Li YES ,
2082 these are the flags passed to the IPv6 multicast routing daemon.
2083 .It Va mroute6d_program
2084 .Pq Vt str
2085 If
2086 .Va mroute6d_enable
2087 is set to
2088 .Dq Li YES ,
2089 this is the path to the IPv6 multicast routing daemon.
2090 .It Va rtadvd_enable
2091 .Pq Vt bool
2092 If set to
2093 .Dq Li YES ,
2094 run the
2095 .Xr rtadvd 8
2096 daemon at boot time.
2097 .Xr rtadvd 8
2098 will only run if
2099 .Va ipv6_gateway_enable
2100 is also set to
2101 .Dq Li YES .
2102 The
2103 .Xr rtadvd 8
2104 utility sends router advertisement packets to the interfaces specified in
2105 .Va rtadvd_interfaces
2106 and should only be enabled with great care.
2107 You may want to fine-tune
2108 .Xr rtadvd.conf 5 .
2109 .It Va rtadvd_interfaces
2110 .Pq Vt str
2111 If
2112 .Va rtadvd_enable
2113 is set to
2114 .Dq Li YES
2115 this is the list of interfaces to use.
2116 .It Va ipxgateway_enable
2117 .Pq Vt bool
2118 If set to
2119 .Dq Li YES ,
2120 enable the routing of IPX traffic.
2121 .It Va ipxrouted_enable
2122 .Pq Vt bool
2123 If set to
2124 .Dq Li YES ,
2125 run the
2126 .Xr IPXrouted 8
2127 daemon at system boot time.
2128 .It Va ipxrouted_flags
2129 .Pq Vt str
2130 If
2131 .Va ipxrouted_enable
2132 is set to
2133 .Dq Li YES ,
2134 these are the flags to pass to the
2135 .Xr IPXrouted 8
2136 daemon.
2137 .It Va arpproxy_all
2138 .Pq Vt bool
2139 If set to
2140 .Dq Li YES ,
2141 enable global proxy ARP.
2142 .It Va forward_sourceroute
2143 .Pq Vt bool
2144 If set to
2145 .Dq Li YES
2146 and
2147 .Va gateway_enable
2148 is also set to
2149 .Dq Li YES ,
2150 source-routed packets are forwarded.
2151 .It Va accept_sourceroute
2152 .Pq Vt bool
2153 If set to
2154 .Dq Li YES ,
2155 the system will accept source-routed packets directed at it.
2156 .It Va rarpd_enable
2157 .Pq Vt bool
2158 If set to
2159 .Dq Li YES ,
2160 run the
2161 .Xr rarpd 8
2162 daemon at system boot time.
2163 .It Va rarpd_flags
2164 .Pq Vt str
2165 If
2166 .Va rarpd_enable
2167 is set to
2168 .Dq Li YES ,
2169 these are the flags to pass to the
2170 .Xr rarpd 8
2171 daemon.
2172 .It Va bootparamd_enable
2173 .Pq Vt bool
2174 If set to
2175 .Dq Li YES ,
2176 run the
2177 .Xr bootparamd 8
2178 daemon at system boot time.
2179 .It Va bootparamd_flags
2180 .Pq Vt str
2181 If
2182 .Va bootparamd_enable
2183 is set to
2184 .Dq Li YES ,
2185 these are the flags to pass to the
2186 .Xr bootparamd 8
2187 daemon.
2188 .It Va stf_interface_ipv4addr
2189 .Pq Vt str
2190 If not set to
2191 .Dq Li NO ,
2192 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
2193 interface).
2194 Specify this entry to enable the 6to4 interface.
2195 .It Va stf_interface_ipv4plen
2196 .Pq Vt int
2197 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
2198 An effective value is 0-31.
2199 .It Va stf_interface_ipv6_ifid
2200 .Pq Vt str
2201 IPv6 interface ID for
2202 .Xr stf 4 .
2203 This can be set to
2204 .Dq Li AUTO .
2205 .It Va stf_interface_ipv6_slaid
2206 .Pq Vt str
2207 IPv6 Site Level Aggregator for
2208 .Xr stf 4 .
2209 .It Va ipv6_faith_prefix
2210 .Pq Vt str
2211 If not set to
2212 .Dq Li NO ,
2213 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
2214 translator.
2215 You also need
2216 .Xr faithd 8
2217 setup.
2218 .It Va ipv6_ipv4mapping
2219 .Pq Vt bool
2220 If set to
2221 .Dq Li YES
2222 this enables IPv4 mapped IPv6 address communication (like
2223 .Li ::ffff:a.b.c.d ) .
2224 .It Va atm_enable
2225 .Pq Vt bool
2226 Set to
2227 .Dq Li YES
2228 to enable the configuration of ATM interfaces at system boot time.
2229 For all of the ATM variables described below, please refer to the
2230 .Xr atm 8
2231 manual page for further details on the available command parameters.
2232 Also refer to the files in
2233 .Pa /usr/share/examples/atm
2234 for more detailed configuration information.
2235 .It Va atm_load
2236 .Pq Vt str
2237 This is a list of physical ATM interface drivers to load.
2238 Typical values are
2239 .Dq Li hfa_pci
2240 and/or
2241 .Dq Li hea_pci .
2242 .It Va atm_netif_ Ns Aq Ar intf
2243 .Pq Vt str
2244 For the ATM physical interface
2245 .Ar intf ,
2246 this variable defines the name prefix and count for the ATM network
2247 interfaces to be created.
2248 The value will be passed as the parameters of an
2249 .Dq Nm atm Cm "set netif" Ar intf
2250 command.
2251 .It Va atm_sigmgr_ Ns Aq Ar intf
2252 .Pq Vt str
2253 For the ATM physical interface
2254 .Ar intf ,
2255 this variable defines the ATM signalling manager to be used.
2256 The value will be passed as the parameters of an
2257 .Dq Nm atm Cm attach Ar intf
2258 command.
2259 .It Va atm_prefix_ Ns Aq Ar intf
2260 .Pq Vt str
2261 For the ATM physical interface
2262 .Ar intf ,
2263 this variable defines the NSAP prefix for interfaces using a UNI signalling
2264 manager.
2265 If set to
2266 .Dq Li ILMI ,
2267 the prefix will automatically be set via the
2268 .Xr ilmid 8
2269 daemon.
2270 Otherwise, the value will be passed as the parameters of an
2271 .Dq Nm atm Cm "set prefix" Ar intf
2272 command.
2273 .It Va atm_macaddr_ Ns Aq Ar intf
2274 .Pq Vt str
2275 For the ATM physical interface
2276 .Ar intf ,
2277 this variable defines the MAC address for interfaces using a UNI signalling
2278 manager.
2279 If set to
2280 .Dq Li NO ,
2281 the hardware MAC address contained in the ATM interface card will be used.
2282 Otherwise, the value will be passed as the parameters of an
2283 .Dq Nm atm Cm "set mac" Ar intf
2284 command.
2285 .It Va atm_arpserver_ Ns Aq Ar netif
2286 .Pq Vt str
2287 For the ATM network interface
2288 .Ar netif ,
2289 this variable defines the ATM address for a host which is to provide ATMARP
2290 service.
2291 This variable is only applicable to interfaces using a UNI signalling
2292 manager.
2293 If set to
2294 .Dq Li local ,
2295 this host will become an ATMARP server.
2296 The value will be passed as the parameters of an
2297 .Dq Nm atm Cm "set arpserver" Ar netif
2298 command.
2299 .It Va atm_scsparp_ Ns Aq Ar netif
2300 .Pq Vt bool
2301 If set to
2302 .Dq Li YES ,
2303 SCSP/ATMARP service for the network interface
2304 .Ar netif
2305 will be initiated using the
2306 .Xr scspd 8
2307 and
2308 .Xr atmarpd 8
2309 daemons.
2310 This variable is only applicable if
2311 .Va atm_arpserver_ Ns Aq Ar netif
2312 is set to
2313 .Dq Li local .
2314 .It Va atm_pvcs
2315 .Pq Vt str
2316 Set to the list of ATM PVCs to be added at system
2317 boot time.
2318 For each whitespace separated
2319 .Ar element
2320 in the value, an
2321 .Va atm_pvc_ Ns Aq Ar element
2322 variable is assumed to exist.
2323 The value of each of these variables
2324 will be passed as the parameters of an
2325 .Dq Nm atm Cm "add pvc"
2326 command.
2327 .It Va atm_arps
2328 .Pq Vt str
2329 Set to the list of permanent ATM ARP entries to be added
2330 at system boot time.
2331 For each whitespace separated
2332 .Ar element
2333 in the value, an
2334 .Va atm_arp_ Ns Aq Ar element
2335 variable is assumed to exist.
2336 The value of each of these variables
2337 will be passed as the parameters of an
2338 .Dq Nm atm Cm "add arp"
2339 command.
2340 .It Va natm_interfaces
2341 .Pq Vt str
2342 Set to the list of
2343 .Xr natm 4
2344 interfaces that will also be used for HARP through
2345 .Xr harp 4 .
2346 If this list is not empty all interfaces in the list will be brought up
2347 with
2348 .Xr ifconfig 8
2349 and
2350 .Xr harp 4
2351 will be loaded.
2352 For this to work the interface drivers must be either compiled into the
2353 kernel or must reside on the root partition.
2354 .It Va keybell
2355 .Pq Vt str
2356 The keyboard bell sound.
2357 Set to
2358 .Dq Li normal ,
2359 .Dq Li visual ,
2360 .Dq Li off ,
2361 or
2362 .Dq Li NO
2363 if the default behavior is desired.
2364 For details, refer to the
2365 .Xr kbdcontrol 1
2366 manpage.
2367 .It Va keyboard
2368 .Pq Vt str
2369 If set to a non-null string, the virtual console's keyboard input is
2370 set to this device.
2371 .It Va keymap
2372 .Pq Vt str
2373 If set to
2374 .Dq Li NO ,
2375 no keymap is installed, otherwise the value is used to install
2376 the keymap file in
2377 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
2378 .It Va keyrate
2379 .Pq Vt str
2380 The keyboard repeat speed.
2381 Set to
2382 .Dq Li slow ,
2383 .Dq Li normal ,
2384 .Dq Li fast ,
2385 or
2386 .Dq Li NO
2387 if the default behavior is desired.
2388 .It Va keychange
2389 .Pq Vt str
2390 If not set to
2391 .Dq Li NO ,
2392 attempt to program the function keys with the value.
2393 The value should
2394 be a single string of the form:
2395 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
2396 .It Va cursor
2397 .Pq Vt str
2398 Can be set to the value of
2399 .Dq Li normal ,
2400 .Dq Li blink ,
2401 .Dq Li destructive ,
2402 or
2403 .Dq Li NO
2404 to set the cursor behavior explicitly or choose the default behavior.
2405 .It Va scrnmap
2406 .Pq Vt str
2407 If set to
2408 .Dq Li NO ,
2409 no screen map is installed, otherwise the value is used to install
2410 the screen map file in
2411 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
2412 .It Va font8x16
2413 .Pq Vt str
2414 If set to
2415 .Dq Li NO ,
2416 the default 8x16 font value is used for screen size requests, otherwise
2417 the value in
2418 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2419 is used.
2420 .It Va font8x14
2421 .Pq Vt str
2422 If set to
2423 .Dq Li NO ,
2424 the default 8x14 font value is used for screen size requests, otherwise
2425 the value in
2426 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2427 is used.
2428 .It Va font8x8
2429 .Pq Vt str
2430 If set to
2431 .Dq Li NO ,
2432 the default 8x8 font value is used for screen size requests, otherwise
2433 the value in
2434 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
2435 is used.
2436 .It Va blanktime
2437 .Pq Vt int
2438 If set to
2439 .Dq Li NO ,
2440 the default screen blanking interval is used, otherwise it is set
2441 to
2442 .Ar value
2443 seconds.
2444 .It Va saver
2445 .Pq Vt str
2446 If not set to
2447 .Dq Li NO ,
2448 this is the actual screen saver to use
2449 .Li ( blank , snake , daemon ,
2450 etc).
2451 .It Va moused_nondefault_enable
2452 .Pq Vt str
2453 If set to
2454 .Dq Li NO ,
2455 the mouse device specified on
2456 the command line is not automatically treated as enabled by the
2457 .Pa /etc/rc.d/moused
2458 script.
2459 Having this variable set to
2460 .Dq Li YES
2461 allows a
2462 .Xr usb 4
2463 mouse,
2464 for example,
2465 to be enabled as soon as it is plugged in.
2466 .It Va moused_enable
2467 .Pq Vt str
2468 If set to
2469 .Dq Li YES ,
2470 the
2471 .Xr moused 8
2472 daemon is started for doing cut/paste selection on the console.
2473 .It Va moused_type
2474 .Pq Vt str
2475 This is the protocol type of the mouse connected to this host.
2476 This variable must be set if
2477 .Va moused_enable
2478 is set to
2479 .Dq Li YES .
2480 The
2481 .Xr moused 8
2482 daemon
2483 is able to detect the appropriate mouse type automatically in many cases.
2484 Set this variable to
2485 .Dq Li auto
2486 to let the daemon detect it, or
2487 select one from the following list if the automatic detection fails.
2488 .Pp
2489 If the mouse is attached to the PS/2 mouse port, choose
2490 .Dq Li auto
2491 or
2492 .Dq Li ps/2 ,
2493 regardless of the brand and model of the mouse.
2494 Likewise, if the
2495 mouse is attached to the bus mouse port, choose
2496 .Dq Li auto
2497 or
2498 .Dq Li busmouse .
2499 All other protocols are for serial mice and will not work with
2500 the PS/2 and bus mice.
2501 If this is a USB mouse,
2502 .Dq Li auto
2503 is the only protocol type which will work.
2504 .Pp
2505 .Bl -tag -width ".Li x10mouseremote" -compact
2506 .It Li microsoft
2507 Microsoft mouse (serial)
2508 .It Li intellimouse
2509 Microsoft IntelliMouse (serial)
2510 .It Li mousesystems
2511 Mouse systems Corp.\& mouse (serial)
2512 .It Li mmseries
2513 MM Series mouse (serial)
2514 .It Li logitech
2515 Logitech mouse (serial)
2516 .It Li busmouse
2517 A bus mouse
2518 .It Li mouseman
2519 Logitech MouseMan and TrackMan (serial)
2520 .It Li glidepoint
2521 ALPS GlidePoint (serial)
2522 .It Li thinkingmouse
2523 Kensington ThinkingMouse (serial)
2524 .It Li ps/2
2525 PS/2 mouse
2526 .It Li mmhittab
2527 MM HitTablet (serial)
2528 .It Li x10mouseremote
2529 X10 MouseRemote (serial)
2530 .It Li versapad
2531 Interlink VersaPad (serial)
2532 .El
2533 .Pp
2534 Even if the mouse is not in the above list, it may be compatible
2535 with one in the list.
2536 Refer to the manual page for
2537 .Xr moused 8
2538 for compatibility information.
2539 .Pp
2540 It should also be noted that while this is enabled, any
2541 other client of the mouse (such as an X server) should access
2542 the mouse through the virtual mouse device,
2543 .Pa /dev/sysmouse ,
2544 and configure it as a
2545 .Dq Li sysmouse
2546 type mouse, since all
2547 mouse data is converted to this single canonical format when
2548 using
2549 .Xr moused 8 .
2550 If the client program does not support the
2551 .Dq Li sysmouse
2552 type,
2553 specify the
2554 .Dq Li mousesystems
2555 type.
2556 It is the second preferred type.
2557 .It Va moused_port
2558 .Pq Vt str
2559 If
2560 .Va moused_enable
2561 is set to
2562 .Dq Li YES ,
2563 this is the actual port the mouse is on.
2564 It might be
2565 .Pa /dev/cuad0
2566 for a COM1 serial mouse,
2567 .Pa /dev/psm0
2568 for a PS/2 mouse or
2569 .Pa /dev/mse0
2570 for a bus mouse, for example.
2571 .It Va moused_flags
2572 .Pq Vt str
2573 If
2574 .Va moused_type
2575 is set, these are the additional flags to pass to the
2576 .Xr moused 8
2577 daemon.
2578 .It Va mousechar_start
2579 .Pq Vt int
2580 If set to
2581 .Dq Li NO ,
2582 the default mouse cursor character range
2583 .Li 0xd0 Ns - Ns Li 0xd3
2584 is used,
2585 otherwise the range start is set
2586 to
2587 .Ar value
2588 character, see
2589 .Xr vidcontrol 1 .
2590 Use if the default range is occupied in the language code table.
2591 .It Va allscreens_flags
2592 .Pq Vt str
2593 If set,
2594 .Xr vidcontrol 1
2595 is run with these options for each of the virtual terminals
2596 .Pq Pa /dev/ttyv* .
2597 For example,
2598 .Dq Fl m Cm on
2599 will enable the mouse pointer on all virtual terminals
2600 if
2601 .Va moused_enable
2602 is set to
2603 .Dq Li YES .
2604 .It Va allscreens_kbdflags
2605 .Pq Vt str
2606 If set,
2607 .Xr kbdcontrol 1
2608 is run with these options for each of the virtual terminals
2609 .Pq Pa /dev/ttyv* .
2610 For example,
2611 .Dq Fl h Li 200
2612 will set the
2613 .Xr syscons 4
2614 scrollback (history) buffer to 200 lines.
2615 .It Va cron_enable
2616 .Pq Vt bool
2617 If set to
2618 .Dq Li YES ,
2619 run the
2620 .Xr cron 8
2621 daemon at system boot time.
2622 .It Va cron_program
2623 .Pq Vt str
2624 Path to
2625 .Xr cron 8
2626 (default
2627 .Pa /usr/sbin/cron ) .
2628 .It Va cron_flags
2629 .Pq Vt str
2630 If
2631 .Va cron_enable
2632 is set to
2633 .Dq Li YES ,
2634 these are the flags to pass to
2635 .Xr cron 8 .
2636 .It Va cron_dst
2637 .Pq Vt bool
2638 If set to
2639 .Dq Li YES ,
2640 enable the special handling of transitions to and from the
2641 Daylight Saving Time in
2642 .Xr cron 8
2643 (equivalent to using the flag
2644 .Fl s ) .
2645 .It Va lpd_program
2646 .Pq Vt str
2647 Path to
2648 .Xr lpd 8
2649 (default
2650 .Pa /usr/sbin/lpd ) .
2651 .It Va lpd_enable
2652 .Pq Vt bool
2653 If set to
2654 .Dq Li YES ,
2655 run the
2656 .Xr lpd 8
2657 daemon at system boot time.
2658 .It Va lpd_flags
2659 .Pq Vt str
2660 If
2661 .Va lpd_enable
2662 is set to
2663 .Dq Li YES ,
2664 these are the flags to pass to the
2665 .Xr lpd 8
2666 daemon.
2667 .It Va chkprintcap_enable
2668 .Pq Vt bool
2669 If set to
2670 .Dq Li YES ,
2671 run the
2672 .Xr chkprintcap 8
2673 command before starting the
2674 .Xr lpd 8
2675 daemon.
2676 .It Va chkprintcap_flags
2677 .Pq Vt str
2678 If
2679 .Va lpd_enable
2680 and
2681 .Va chkprintcap_enable
2682 are set to
2683 .Dq Li YES ,
2684 these are the flags to pass to the
2685 .Xr chkprintcap 8
2686 program.
2687 The default is
2688 .Dq Li -d ,
2689 which causes missing directories to be created.
2690 .It Va mta_start_script
2691 .Pq Vt str
2692 This variable specifies the full path to the script to run to start
2693 a mail transfer agent.
2694 The default is
2695 .Pa /etc/rc.sendmail .
2696 The
2697 .Va sendmail_*
2698 variables which
2699 .Pa /etc/rc.sendmail
2700 uses are documented in the
2701 .Xr rc.sendmail 8
2702 manual page.
2703 .It Va dumpdev
2704 .Pq Vt str
2705 Indicates the device (usually a swap partition) to which a crash dump
2706 should be written in the event of a system crash.
2707 If the value of this variable is
2708 .Dq Li AUTO ,
2709 the first suitable swap device listed in
2710 .Pa /etc/fstab
2711 will be used as dump device.
2712 Otherwise, the value of this variable is passed as the argument to
2713 .Xr dumpon 8 .
2714 To disable crash dumps, set this variable to
2715 .Dq Li NO .
2716 .It Va dumpdir
2717 .Pq Vt str
2718 When the system reboots after a crash and a crash dump is found on the
2719 device specified by the
2720 .Va dumpdev
2721 variable,
2722 .Xr savecore 8
2723 will save that crash dump and a copy of the kernel to the directory
2724 specified by the
2725 .Va dumpdir
2726 variable.
2727 The default value is
2728 .Pa /var/crash .
2729 Set to
2730 .Dq Li NO
2731 to not run
2732 .Xr savecore 8
2733 at boot time when
2734 .Va dumpdir
2735 is set.
2736 .It Va savecore_flags
2737 .Pq Vt str
2738 If crash dumps are enabled, these are the flags to pass to the
2739 .Xr savecore 8
2740 utility.
2741 .It Va enable_quotas
2742 .Pq Vt bool
2743 Set to
2744 .Dq Li YES
2745 to turn on user disk quotas on system startup via the
2746 .Xr quotaon 8
2747 command.
2748 .It Va check_quotas
2749 .Pq Vt bool
2750 Set to
2751 .Dq Li YES
2752 to enable user disk quota checking via the
2753 .Xr quotacheck 8
2754 command.
2755 .It Va accounting_enable
2756 .Pq Vt bool
2757 Set to
2758 .Dq Li YES
2759 to enable system accounting through the
2760 .Xr accton 8
2761 facility.
2762 .It Va ibcs2_enable
2763 .Pq Vt bool
2764 Set to
2765 .Dq Li YES
2766 to enable iBCS2 (SCO) binary emulation at system initial boot
2767 time.
2768 .It Va ibcs2_loaders
2769 .Pq Vt str
2770 If not set to
2771 .Dq Li NO
2772 and if
2773 .Va ibcs2_enable
2774 is set to
2775 .Dq Li YES ,
2776 this specifies a list of additional iBCS2 loaders to enable.
2777 .It Va linux_enable
2778 .Pq Vt bool
2779 Set to
2780 .Dq Li YES
2781 to enable Linux/ELF binary emulation at system initial
2782 boot time.
2783 .It Va osf1_enable
2784 .Pq Vt bool
2785 Set to
2786 .Dq Li YES
2787 to enable OSF/1 (Digital UNIX) binary emulation at system
2788 initial boot time.
2789 (alpha)
2790 .It Va svr4_enable
2791 .Pq Vt bool
2792 If set to
2793 .Dq Li YES ,
2794 enable SysVR4 emulation at boot time.
2795 .It Va sysvipc_enable
2796 .Pq Vt bool
2797 If set to
2798 .Dq Li YES ,
2799 load System V IPC primitives at boot time.
2800 .It Va clear_tmp_enable
2801 .Pq Vt bool
2802 Set to
2803 .Dq Li YES
2804 to have
2805 .Pa /tmp
2806 cleaned at startup.
2807 .It Va clear_tmp_X
2808 .Pq Vt bool
2809 Set to
2810 .Dq Li NO
2811 to disable removing of X11 lock files,
2812 and the removal and (secure) recreation
2813 of the various socket directories for X11
2814 related programs.
2815 .It Va ldconfig_paths
2816 .Pq Vt str
2817 Set to the list of shared library paths to use with
2818 .Xr ldconfig 8 .
2819 NOTE:
2820 .Pa /usr/lib
2821 will always be added first, so it need not appear in this list.
2822 .It Va ldconfig_paths_aout
2823 .Pq Vt str
2824 Set to the list of shared library paths to use with
2825 .Xr ldconfig 8
2826 legacy
2827 .Xr a.out 5
2828 support.
2829 .It Va ldconfig_insecure
2830 .Pq Vt bool
2831 The
2832 .Xr ldconfig 8
2833 utility normally refuses to use directories
2834 which are writable by anyone except root.
2835 Set this variable to
2836 .Dq Li YES
2837 to disable that security check during system startup.
2838 .It Va ldconfig_local_dirs
2839 .Pq Vt str
2840 Set to the list of local
2841 .Xr ldconfig 8
2842 directories.
2843 The names of all files in the directories listed will be
2844 passed as arguments to
2845 .Xr ldconfig 8 .
2846 .It Va ldconfig_local32_dirs
2847 .Pq Vt str
2848 Set to the list of local 32-bit compatibility
2849 .Xr ldconfig 8
2850 directories.
2851 The names of all files in the directories listed will be
2852 passed as arguments to
2853 .Xr ldconfig 8
2854 .Fl 32 .
2855 .It Va kern_securelevel_enable
2856 .Pq Vt bool
2857 Set to
2858 .Dq Li YES
2859 to set the kernel security level at system startup.
2860 .It Va kern_securelevel
2861 .Pq Vt int
2862 The kernel security level to set at startup.
2863 The allowed range of
2864 .Ar value
2865 ranges from \-1 (the compile time default) to 3 (the
2866 most secure).
2867 See
2868 .Xr init 8
2869 for the list of possible security levels and their effect
2870 on system operation.
2871 .It Va sshd_program
2872 .Pq Vt str
2873 Path to the SSH server program
2874 .Pa ( /usr/sbin/sshd
2875 is the default).
2876 .It Va sshd_enable
2877 .Pq Vt bool
2878 Set to
2879 .Dq Li YES
2880 to start
2881 .Xr sshd 8
2882 at system boot time.
2883 .It Va sshd_flags
2884 .Pq Vt str
2885 If
2886 .Va sshd_enable
2887 is set to
2888 .Dq Li YES ,
2889 these are the flags to pass to the
2890 .Xr sshd 8
2891 daemon.
2892 .It Va watchdogd_enable
2893 .Pq Vt bool
2894 If set to
2895 .Dq Li YES ,
2896 start the
2897 .Xr watchdogd 8
2898 daemon at boot time.
2899 This requires that the kernel have been compiled with a
2900 .Xr watchdog 4
2901 compatible device.
2902 .It Va watchdogd_flags
2903 .Pq Vt str
2904 If
2905 .Va watchdogd_enable
2906 is set to
2907 .Dq Li YES ,
2908 these are the flags passed to the
2909 .Xr watchdogd 8
2910 daemon.
2911 .It Va performance_cx_lowest
2912 .Pq Vt str
2913 CPU idle state to use while on AC power.
2914 The string
2915 .Dq Li LOW
2916 indicates that
2917 .Xr acpi 4
2918 should use the lowest power state available while
2919 .Dq Li HIGH
2920 indicates that the lowest latency state (less power savings) should be used.
2921 .It Va performance_cpu_freq
2922 .Pq Vt str
2923 CPU clock frequency to use while on AC power.
2924 The string
2925 .Dq Li LOW
2926 indicates that
2927 .Xr cpufreq 4
2928 should use the lowest frequency available while
2929 .Dq Li HIGH
2930 indicates that the highest frequency (less power savings) should be used.
2931 .It Va economy_cx_lowest
2932 .Pq Vt str
2933 CPU idle state to use when off AC power.
2934 The string
2935 .Dq Li LOW
2936 indicates that
2937 .Xr acpi 4
2938 should use the lowest power state available while
2939 .Dq Li HIGH
2940 indicates that the lowest latency state (less power savings) should be used.
2941 .It Va economy_cpu_freq
2942 .Pq Vt str
2943 CPU clock frequency to use when off AC power.
2944 The string
2945 .Dq Li LOW
2946 indicates that
2947 .Xr cpufreq 4
2948 should use the lowest frequency available while
2949 .Dq Li HIGH
2950 indicates that the highest frequency (less power savings) should be used.
2951 .It Va jail_enable
2952 .Pq Vt bool
2953 If set to
2954 .Dq Li NO ,
2955 any configured jails will not be started.
2956 .It Va jail_list
2957 .Pq Vt str
2958 A space separated list of names for jails.
2959 This is purely a configuration aid to help identify and
2960 configure multiple jails.
2961 The names specified in this list will be used to
2962 identify settings common to an instance of a jail.
2963 Assuming that the jail in question was named
2964 .Li vjail ,
2965 you would have the following dependent variables:
2966 .Bd -literal
2967 jail_vjail_hostname="jail.example.com"
2968 jail_vjail_ip="192.168.1.100"
2969 jail_vjail_rootdir="/var/jails/vjail/root"
2970 jail_vjail_exec="/bin/sh /etc/rc"
2971 .Ed
2972 .Pp
2973 The last one is optional.
2974 It defaults to
2975 .Pa /etc/rc
2976 if it is not set.
2977 .It Va jail_set_hostname_allow
2978 .Pq Vt bool
2979 If set to
2980 .Dq Li NO ,
2981 do not allow the root user in a jail to set its hostname.
2982 .It Va jail_socket_unixiproute_only
2983 .Pq Vt bool
2984 If set to
2985 .Dq Li YES ,
2986 do not allow any sockets,
2987 besides UNIX/IP/route sockets,
2988 to be used within a jail.
2989 .It Va jail_sysvipc_allow
2990 .Pq Vt bool
2991 If set to
2992 .Dq Li YES ,
2993 allow applications within a jail to use System V IPC.
2994 .It Va unaligned_print
2995 .Pq Vt bool
2996 If set to
2997 .Dq Li NO ,
2998 unaligned access warnings will not be printed.
2999 (alpha)
3000 .\" ----- ISDN settings ---------------------------------
3001 .It Va isdn_enable
3002 .Pq Vt bool
3003 Set to
3004 .Dq Li NO
3005 by default.
3006 When set to
3007 .Dq Li YES ,
3008 starts the
3009 .Xr isdnd 8
3010 daemon
3011 at system boot time.
3012 .It Va isdn_flags
3013 .Pq Vt str
3014 Set to
3015 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
3016 by default.
3017 Additional flags to pass to
3018 .Xr isdnd 8
3019 (but see
3020 .Va isdn_fsdev
3021 and
3022 .Va isdn_ttype
3023 for certain tunable parameters).
3024 .It Va isdn_ttype
3025 .Pq Vt str
3026 Set to
3027 .Dq Li cons25
3028 by default.
3029 The terminal type of the output device when
3030 .Xr isdnd 8
3031 operates in full-screen mode.
3032 .It Va isdn_screenflags
3033 .Pq Vt str
3034 Set to
3035 .Dq Li NO
3036 by default.
3037 The video mode for full-screen mode (only for
3038 .Xr syscons 4
3039 console driver, see
3040 .Xr vidcontrol 1
3041 for valid modes).
3042 .It Va isdn_fsdev
3043 .Pq Vt str
3044 Set to
3045 .Dq Li NO
3046 by default.
3047 The output device for
3048 .Xr isdnd 8
3049 in full-screen mode (or
3050 .Dq Li NO
3051 for daemon mode).
3052 .It Va isdn_trace
3053 .Pq Vt bool
3054 Set to
3055 .Dq Li NO
3056 by default.
3057 When set to
3058 .Dq Li YES ,
3059 enables the ISDN protocol trace utility
3060 .Xr isdntrace 8
3061 at system boot time.
3062 .It Va isdn_traceflags
3063 .Pq Vt str
3064 Set to
3065 .Dq Fl f Pa /var/tmp/isdntrace0
3066 by default.
3067 Flags for
3068 .Xr isdntrace 8 .
3069 .\" -----------------------------------------------------
3070 .It Va pcvt_verbose
3071 .Pq Vt bool
3072 Set to
3073 .Dq Li NO
3074 by default.
3075 When set to
3076 .Dq Li YES ,
3077 verbose messages about the actions done by the start script are displayed.
3078 .Em Note :
3079 the
3080 .Xr pcvt 4
3081 driver must be compiled into the kernel before the
3082 .Xr pcvt 4
3083 related
3084 options described here take any effect.
3085 .It Va pcvt_keymap
3086 .Pq Vt str
3087 Set to
3088 .Dq Li NO
3089 by default.
3090 Use this to configure a national keyboard mapping found in the
3091 .Pa /usr/share/misc/keycap.pcvt
3092 file of keyboard mappings.
3093 (See also the manual pages
3094 .Xr keycap 5
3095 and
3096 .Xr keycap 3
3097 for usage of
3098 .Xr pcvt 4 Ns 's
3099 keycap database and the manual page
3100 .Xr kcon 1
3101 option
3102 .Fl m
3103 for national keyboard mapping configuration.)
3104 .It Va pcvt_keydel
3105 .Pq Vt int
3106 Set to
3107 .Dq Li NO
3108 by default.
3109 Used to set the keyboard key repeat delay value.
3110 Valid values are
3111 in the range 0..3 for delay values of 250, 500, 750 and 1000 msec.
3112 (See also the
3113 .Xr kcon 1
3114 manual page.)
3115 .It Va pcvt_keyrate
3116 .Pq Vt int
3117 Set to
3118 .Dq Li NO
3119 by default.
3120 Used to set the keyboard key repetition rate value.
3121 Valid values are
3122 in the range 0..31 for repetition values of 2..30 characters per second.
3123 .It Va pcvt_keyrepeat
3124 .Pq Vt bool
3125 Set to
3126 .Dq Li NO
3127 by default.
3128 Set to
3129 .Dq Li YES
3130 to enable automatic keyboard key repeating.
3131 .It Va pcvt_force24
3132 .Pq Vt bool
3133 Set to
3134 .Dq Li NO
3135 by default.
3136 Set to
3137 .Dq Li YES
3138 to force
3139 .Xr pcvt 4
3140 to use 24 lines only (in 25 lines mode) for compatibility
3141 with the original
3142 .Tn VT220
3143 terminal.
3144 .It Va pcvt_hpext
3145 .Pq Vt bool
3146 Set to
3147 .Dq Li NO
3148 by default.
3149 Set to
3150 .Dq Li YES
3151 to enable the display and functionality of function key labels (as found
3152 on
3153 .Tn Hewlett-Packard
3154 terminals such as the
3155 .Tn HP2392A
3156 and the
3157 .Tn HP700/92
3158 in
3159 .Tn ANSI
3160 mode).
3161 .It Va pcvt_lines
3162 .Pq Vt int
3163 Set to
3164 .Dq Li NO
3165 by default resulting in a value of 25.
3166 Used to set the number of lines on the screen.
3167 For VGA displays, valid
3168 values are 25, 28, 40 and 50 lines.
3169 (See also the
3170 .Xr scon 1
3171 manual page.)
3172 .It Va pcvt_blanktime
3173 .Pq Vt int
3174 Set to
3175 .Dq Li NO
3176 by default.
3177 Used to set the screen saver timeout in seconds for values greater than
3178 zero.
3179 .It Va pcvt_cursorh
3180 .Pq Vt int
3181 Set to
3182 .Dq Li NO
3183 by default.
3184 Used to set the cursor top scanline.
3185 (See also the
3186 .Xr cursor 1
3187 manual page.)
3188 .It Va pcvt_cursorl
3189 .Pq Vt int
3190 Set to
3191 .Dq Li NO
3192 by default.
3193 Used to set the cursor bottom scanline.
3194 .It Va pcvt_monohigh
3195 .Pq Vt bool
3196 Set to
3197 .Dq Li NO
3198 by default.
3199 Set to
3200 .Dq Li YES
3201 to set intensity to high on monochrome monitors.
3202 (See also the
3203 .Xr scon 1
3204 manual page, option
3205 .Fl p ,
3206 for more information on changing VGA palette
3207 values.)
3208 .It Va harvest_interrupt
3209 .Pq Vt bool
3210 Set to
3211 .Dq Li YES
3212 to use hardware interrupts as an entropy source.
3213 Refer to
3214 .Xr random 4
3215 for more information.
3216 .It Va harvest_ethernet
3217 .Pq Vt bool
3218 Set to
3219 .Dq Li YES
3220 to use LAN traffic as an entropy source.
3221 Refer to
3222 .Xr random 4
3223 for more information.
3224 .It Va harvest_p_to_p
3225 .Pq Vt bool
3226 Set to
3227 .Dq Li YES
3228 to use serial line traffic as an entropy source.
3229 Refer to
3230 .Xr random 4
3231 for more information.
3232 .It Va entropy_dir
3233 .Pq Vt str
3234 Set to
3235 .Dq Li NO
3236 to disable caching entropy via
3237 .Xr cron 8 .
3238 Otherwise set to the directory used to store entropy files in.
3239 .It Va entropy_file
3240 .Pq Vt str
3241 Set to
3242 .Dq Li NO
3243 to disable caching entropy through reboots.
3244 Otherwise set to the filename used to store cached entropy through
3245 reboots.
3246 This file should be located on the root file system to seed the
3247 .Xr random 4
3248 device as early as possible in the boot process.
3249 .It Va entropy_save_sz
3250 .Pq Vt int
3251 Size of the entropy cache files saved by
3252 .Nm save-entropy
3253 periodically.
3254 .It Va entropy_save_num
3255 .Pq Vt int
3256 Number of entropy cache files to save by
3257 .Nm save-entropy
3258 periodically.
3259 .It Va ipsec_enable
3260 .Pq Vt bool
3261 Set to
3262 .Dq Li YES
3263 to run
3264 .Xr setkey 8
3265 on
3266 .Va ipsec_file
3267 at boot time.
3268 .It Va ipsec_file
3269 .Pq Vt str
3270 Configuration file for
3271 .Xr setkey 8 .
3272 .It Va dmesg_enable
3273 .Pq Vt bool
3274 Set to
3275 .Dq Li YES
3276 to save
3277 .Xr dmesg 8
3278 to
3279 .Pa /var/run/dmesg.boot
3280 on boot.
3281 .It Va rcshutdown_timeout
3282 .Pq Vt int
3283 If set, start a watchdog timer in the background which will terminate
3284 .Pa rc.shutdown
3285 if
3286 .Xr shutdown 8
3287 has not completed within the specified time (in seconds).
3288 Notice that in addition to this soft timeout,
3289 .Xr init 8
3290 also applies a hard timeout for the execution of
3291 .Pa rc.shutdown .
3292 This is configured via
3293 .Xr sysctl 8
3294 variable
3295 .Va kern.init_shutdown_timeout
3296 and defaults to 120 seconds.
3297 Setting the value of
3298 .Va rcshutdown_timeout
3299 to more than 120 seconds will have no effect until the
3300 .Xr sysctl 8
3301 variable
3302 .Va kern.init_shutdown_timeout
3303 is also increased.
3304 .It Va virecover_enable
3305 .Pq Vt bool
3306 Set to
3307 .Dq Li NO
3308 to prevent the system from trying to
3309 recover pre-maturely terminated
3310 .Xr vi 1
3311 sessions.
3312 .It Va ugidfw_enable
3313 .Pq Vt bool
3314 Set to
3315 .Dq Li YES
3316 to load the
3317 .Xr mac_bsdextended 4
3318 module upon system initialization and load a default
3319 ruleset file.
3320 .It Va bsdextended_script
3321 .Pq Vt str
3322 The default
3323 .Xr mac_bsdextended 4
3324 ruleset file to load.
3325 The default value of this variable is
3326 .Pa /etc/rc.bsdextended .
3327 .It Va newsyslog_enable
3328 .Pq Vt bool
3329 If set to
3330 .Dq Li YES ,
3331 run
3332 .Xr newsyslog 8
3333 command at startup.
3334 .It Va newsyslog_flags
3335 .Pq Vt str
3336 If
3337 .Va newsyslog_enable
3338 is set to
3339 .Dq Li YES ,
3340 these are the flags to pass to the
3341 .Xr newsyslog 8
3342 program.
3343 The default is
3344 .Dq Li -CN ,
3345 which causes log files flagged with a
3346 .Cm C
3347 to be created.
3348 .It Va ramdisk_units
3349 .Pq Vt str
3350 A list of one or more ramdisk units to configure with
3351 .Xr mdconfig 8
3352 and
3353 .Xr newfs 8
3354 in time to be mounted from
3355 .Xr fstab 5 .
3356 Each listed unit
3357 .Ar X
3358 must specify at least a
3359 .Ar type
3360 in a
3361 .Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3362 variable.
3363 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _config
3364 .Pq Vt str
3365 Arguments to
3366 .Xr mdconfig 8
3367 for ramdisk
3368 .Ar X .
3369 At minimum a
3370 .Fl t Ar type
3371 must be specified, where
3372 .Ar type
3373 must be one of
3374 .Cm malloc
3375 or
3376 .Cm swap .
3377 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _newfs
3378 .Pq Vt str
3379 Optional arguments passed to
3380 .Xr newfs 8
3381 to initialize ramdisk
3382 .Ar X .
3383 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _owner
3384 .Pq Vt str
3385 An ownership specification passed to
3386 .Xr chown 8
3387 after the specified ramdisk unit
3388 .Ar X
3389 has been mounted.
3390 Both the
3391 .Xr md 4
3392 device and the mount point will be changed.
3393 .It Va ramdisk_ Ns Ao Ar X Ac Ns Va _perms
3394 .Pq Vt str
3395 A mode string passed to
3396 .Xr chmod 1
3397 after the specified ramdisk unit
3398 .Ar X
3399 has been mounted.
3400 Both the
3401 .Xr md 4
3402 device and the mount point will be changed.
3403 .El
3404 .Sh FILES
3405 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
3406 .It Pa /etc/defaults/rc.conf
3407 .It Pa /etc/rc.conf
3408 .It Pa /etc/rc.conf.local
3409 .El
3410 .Sh SEE ALSO
3411 .Xr catman 1 ,
3412 .Xr chmod 1 ,
3413 .Xr gdb 1 ,
3414 .Xr info 1 ,
3415 .Xr kbdcontrol 1 ,
3416 .Xr makewhatis 1 ,
3417 .Xr vi 1 ,
3418 .Xr vidcontrol 1 ,
3419 .Xr ip 4 ,
3420 .Xr ipf 4 ,
3421 .Xr ipfw 4 ,
3422 .Xr ipnat 4 ,
3423 .Xr kld 4 ,
3424 .Xr pf 4 ,
3425 .Xr pflog 4 ,
3426 .Xr pfsync 4 ,
3427 .Xr tcp 4 ,
3428 .Xr udp 4 ,
3429 .Xr exports 5 ,
3430 .Xr ipf 5 ,
3431 .Xr ipnat 5 ,
3432 .Xr motd 5 ,
3433 .Xr newsyslog.conf 5 ,
3434 .Xr pf.conf 5 ,
3435 .Xr accton 8 ,
3436 .Xr amd 8 ,
3437 .Xr apm 8 ,
3438 .Xr atm 8 ,
3439 .Xr chkprintcap 8 ,
3440 .Xr chown 8 ,
3441 .Xr cron 8 ,
3442 .Xr dhclient 8 ,
3443 .Xr ifconfig 8 ,
3444 .Xr inetd 8 ,
3445 .Xr ipf 8 ,
3446 .Xr ipfw 8 ,
3447 .Xr ipnat 8 ,
3448 .Xr isdnd 8 ,
3449 .Xr isdntrace 8 ,
3450 .Xr jail 8 ,
3451 .Xr kldxref 8 ,
3452 .Xr lpd 8 ,
3453 .Xr mdconfig 8 ,
3454 .Xr mdmfs 8 ,
3455 .Xr mountd 8 ,
3456 .Xr moused 8 ,
3457 .Xr mrouted 8 ,
3458 .Xr named 8 ,
3459 .Xr newfs 8 ,
3460 .Xr newsyslog 8 ,
3461 .Xr nfsd 8 ,
3462 .Xr ntpd 8 ,
3463 .Xr ntpdate 8 ,
3464 .Xr pcnfsd 8 ,
3465 .Xr pfctl 8 ,
3466 .Xr pflogd 8 ,
3467 .Xr powerd 8 ,
3468 .Xr quotacheck 8 ,
3469 .Xr quotaon 8 ,
3470 .Xr rc 8 ,
3471 .Xr rc.sendmail 8 ,
3472 .Xr route 8 ,
3473 .Xr routed 8 ,
3474 .Xr rpcbind 8 ,
3475 .Xr rpc.lockd 8 ,
3476 .Xr rpc.statd 8 ,
3477 .Xr rwhod 8 ,
3478 .Xr savecore 8 ,
3479 .Xr sshd 8 ,
3480 .Xr swapon 8 ,
3481 .Xr sysctl 8 ,
3482 .Xr syslogd 8 ,
3483 .Xr timed 8 ,
3484 .Xr yp 8 ,
3485 .Xr ypbind 8 ,
3486 .Xr ypserv 8 ,
3487 .Xr ypset 8
3488 .Sh HISTORY
3489 The
3490 .Nm
3491 file appeared in
3492 .Fx 2.2.2 .
3493 .Sh AUTHORS
3494 .An Jordan K. Hubbard .