xref: /netbsd/share/man/man5/rc.conf.5 (revision bf9ec67e)
1.\"	$NetBSD: rc.conf.5,v 1.61 2002/05/19 01:01:34 lukem Exp $
2.\"
3.\" Copyright (c) 1996 Matthew R. Green
4.\" Copyright (c) 1997 Curt J. Sampson
5.\" Copyright (c) 1997 Michael W. Long
6.\" Copyright (c) 1998-2002 The NetBSD Foundation, Inc.
7.\" All rights reserved.
8.\"
9.\" This document is derived from works contributed to The NetBSD Foundation
10.\" by Luke Mewburn.
11.\"
12.\" Redistribution and use in source and binary forms, with or without
13.\" modification, are permitted provided that the following conditions
14.\" are met:
15.\" 1. Redistributions of source code must retain the above copyright
16.\"    notice, this list of conditions and the following disclaimer.
17.\" 2. Redistributions in binary form must reproduce the above copyright
18.\"    notice, this list of conditions and the following disclaimer in the
19.\"    documentation and/or other materials provided with the distribution.
20.\" 3. The name of the author may not be used to endorse or promote products
21.\"    derived from this software without specific prior written permission.
22.\"
23.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
24.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
27.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
30.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
31.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.Dd May 19, 2002
36.Dt RC.CONF 5
37.Os
38.\" turn off hyphenation
39.hym 999
40.Sh NAME
41.Nm rc.conf
42.Nd system startup configuration file
43.Sh DESCRIPTION
44The
45.Nm
46file specifies which services are enabled during system startup by
47the startup scripts invoked by
48.Pa /etc/rc
49(see
50.Xr rc 8 ) ,
51and the shutdown scripts invoked by
52.Pa /etc/rc.shutdown .
53The
54.Nm
55file is a shell script that is sourced by
56.Xr rc 8 ,
57meaning that
58.Nm
59must contain valid shell commands.
60.Pp
61Listed below are the
62.Nm
63variables that may be set, the values to which each may be set,
64a brief description of what each variable does, and a reference to
65relevant manual pages.
66.Pp
67Most variables are one of two types: enabling variables or flags
68variables.
69Enabling variables, such as
70.Sy inetd ,
71are generally named after the program or the system they enable,
72and are set to
73.Sq YES
74or
75.Sq NO .
76Flags variables, such as
77.Sy inetd_flags
78have the same name with "_flags" appended, and determine what
79arguments are passed to the program if it is enabled.
80.Pp
81If a variable that
82.Xr rc 8
83expects to be set is not set, or the value is not one of the allowed
84values, a warning will be printed.
85.Pp
86By default,
87.Nm
88reads
89.Pa /etc/defaults/rc.conf
90(if it is readable)
91to obtain default values for various variables, and the end-user
92may override these by appending appropriate entries to the end of
93.Nm "" .
94.Pp
95.Xr rc.d 8
96scripts that use
97.Ic load_rc_config
98from
99.Xr rc.subr 8
100also support sourcing an optional end-user provided per-script override
101file
102.Pa /etc/rc.conf.d/ Ns Ar service ,
103(where
104.Ar service
105is the contents of the
106.Sy name
107variable in the
108.Xr rc.d 8
109script).
110This may contain variable overrides, including allowing the end-user
111to override various
112.Ic run_rc_command
113.Xr rc.d 8
114control variables, and thus changing the operation of the script
115without requiring editing of the script.
116.Ss Overall control
117.Bl -tag -width net_interfaces
118.It Sy rc_configured
119.Sq YES
120or
121.Sq NO .
122If not set to
123.Sq YES
124then the system will drop into single-user mode during boot.
125.It Sy rc_fast_and_loose
126If set to a non-empty string,
127each script in
128.Pa /etc/rc.d
129will be executed in the current shell rather than a sub shell.
130This may be faster on slow machines that have an expensive
131.Xr fork 2
132operation.
133.Bl -hang
134.It Em Note :
135Use this at your own risk!
136A rogue command or script may inadvertently prevent boot to multiuser.
137.El
138.It Sy rc_rcorder_flags
139A string.
140Extra arguments to the
141.Xr rcorder 8
142run by
143.Pa /etc/rc .
144.It Sy do_rcshutdown
145.Sq YES
146or
147.Sq NO .
148If set to
149.Sq NO ,
150.Xr shutdown 8
151will not run
152.Pa /etc/rc.shutdown .
153.It Sy rcshutdown_rcorder_flags
154A string.
155Extra arguments to the
156.Xr rcorder 8
157run by
158.Pa /etc/rc.shutdown .
159.It Sy rcshutdown_timeout
160A number.
161If non-blank, use this as the number of seconds to run a watchdog timer for
162which will terminate
163.Pa /etc/rc.shutdown
164if the timer expires before the shutdown script completes.
165.El
166.Ss Basic network configuration
167.Bl -tag -width net_interfaces
168.It Sy hostname
169A string.
170Name of host.
171If empty or not set, then the contents of
172.Pa /etc/myname
173(if it exists) are used.
174.It Sy defaultroute
175A string.
176Default network route.
177If empty or not set, then the contents of
178.Pa /etc/mygate
179(if it exists) are used.
180.It Sy domainname
181A string.
182.Tn NIS
183(YP) domain of host.
184If empty or not set, then the contents of
185.Pa /etc/defaultdomain
186(if it exists) are used.
187.El
188.Ss Boottime file-system and swap configuration
189.Bl -tag -width net_interfaces
190.It Sy critical_filesystems_local
191A string.
192File systems mounted very early in the system boot before networking
193services are available.
194Usually
195.Pa /var
196is part of this, because it is needed by services such as
197.Xr dhclient 8
198which may be required to get the network operational.
199.It Sy critical_filesystems_remote
200A string.
201File systems such as
202.Pa /usr
203that may require network services to be available to mount,
204that must be available early in the system boot for general services to use.
205.It Sy no_swap
206.Sq YES
207or
208.Sq NO .
209Set the
210.Sy no_swap
211variable to
212.Sq YES
213if you have configured your system with no swap on purpose.
214If not set to
215.Sq YES ,
216and no swap devices
217are configured, the system will warn you.
218.It Sy swapoff
219.Sq YES
220or
221.Sq NO .
222Remove block-type swap devices at shutdown time.
223Useful if swapping onto RAIDframe devices.
224.El
225.Ss One-time actions to perform or programs to run on boot-up
226.Bl -tag -width net_interfaces
227.It Sy lkm
228.Sq YES
229or
230.Sq NO .
231Runs
232.Pa /etc/rc.lkm .
233.It Sy savecore
234.Sq YES
235or
236.Sq NO .
237Runs the
238.Xr savecore 8
239utility.
240Passes
241.Sy savecore_flags .
242.It Sy clear_tmp
243.Sq YES
244or
245.Sq NO .
246Clear /tmp after reboot.
247.It Sy update_motd
248.Sq YES
249or
250.Sq NO .
251Updates the
252.Nx
253version string in the
254.Pa /etc/motd
255file to reflect the version of the running kernel.
256See
257.Xr motd 5 .
258.It Sy dmesg
259.Sq YES
260or
261.Sq NO .
262Create
263.Pa /var/run/dmesg.boot
264from the output of
265.Xr dmesg 8 .
266Passes
267.Sy dmesg_flags .
268.It Sy accounting
269.Sq YES
270or
271.Sq NO .
272Enables process accounting with
273.Xr accton 8 .
274Requires
275.Pa /var/account/acct
276to exist.
277.It Sy newsyslog
278.Sq YES
279or
280.Sq NO .
281Run
282.Nm newsyslog
283to trim logfiles before syslogd starts.  Intended for laptop users.
284Passes
285.Sy newsyslog_flags .
286.El
287.Ss System security setting
288.Bl -tag -width net_interfaces
289.It Sy securelevel
290A number.
291The system securelevel is set to the specified value early
292in the boot process, before any external logins, or other programs
293that run users job, are started.
294If set to nothing, the default action is taken, as described in
295.Xr init 8 ,
296which contains definitive information about the system securelevel.
297Note that setting
298.Sy securelevel
299to 0 in
300.Nm
301will actually result in the system booting with securelevel set to 1, as
302.Xr init 8
303will raise the level when
304.Xr rc 8
305completes.
306.El
307.Ss Networking startup
308.Bl -tag -width net_interfaces
309.It Sy ipfilter
310.Sq YES
311or
312.Sq NO .
313Runs
314.Xr ipf 8
315to load in packet filter specifications from
316.Pa /etc/ipf.conf
317at network boot time, before any interfaces are configured.
318See
319.Xr ipf.conf 5 .
320.It Sy ipnat
321.Sq YES
322or
323.Sq NO .
324Runs
325.Xr ipnat 8
326to load in the IP network address translation (NAT) rules from
327.Pa /etc/ipnat.conf
328at network boot time, before any interfaces are configured.
329See
330.Xr ipnat.conf 5 .
331.It Sy ipfs
332.Sq YES
333or
334.Sq NO .
335Runs
336.Xr ipfs 8
337to save and restore information for ipnat and ipfilter state tables.
338The information is stored in
339.Pa /var/db/ipf/ipstate.ipf
340and
341.Pa /var/db/ipf/ipnat.ipf .
342Passes
343.Sy ipfs_flags .
344.It Sy ipsec
345.Sq YES
346or
347.Sq NO .
348Runs
349.Xr setkey 8
350to load in IPsec manual keys and policies from
351.Pa /etc/ipsec.conf
352at network boot time, before any interfaces are configured.
353.It Sy ipmon
354.Sq YES
355or
356.Sq NO .
357Runs
358.Xr ipmon 8
359to read
360.Xr ipf 8
361packet log information and log it to a file or the system log.
362Passes
363.Sy ipmon_flags .
364.It Sy racoon
365.Sq YES
366or
367.Sq NO .
368Runs
369.Xr racoon 8 ,
370the IKE (ISAKMP/Oakley) key management daemon.
371.It Sy auto_ifconfig
372.Sq YES
373or
374.Sq NO .
375Sets the
376.Sy net_interfaces
377variable (see below) to the output of
378.Xr ifconfig 8
379with the
380.Dq Li -l
381flag and suppresses warnings about interfaces in this list that
382do not have an ifconfig file or variable.
383.It Sy net_interfaces
384A string.
385The list of network interfaces to be configured at boot time.
386For each interface "xxN", the system first looks for ifconfig
387parameters in
388.Pa /etc/ifconfig.xxN
389and then in the variable
390.Sy ifconfig_xxN .
391The contents of the file or the variable are handed to ifconfig
392after the interface name.
393If
394.Sy auto_ifconfig
395is set to "NO" and neither the file nor the variable is found,
396a warning is printed.
397Refer to
398.Xr ifconfig.if 5
399for more details on
400.Pa /etc/ifconfig.xxN .
401.It Sy ifaliases_*
402A string.
403List of
404.Sq Em "address netmask"
405pairs to configure additional network addresses for the given
406configured interface
407.Dq *
408(e.g.
409.Sy ifaliases_le0 ) .
410If
411.Em netmask
412is
413.Dq - ,
414then use the default netmask for the interface.
415.Pp
416.Sy ifaliases_*
417covers limited cases only and considered unrecommended.
418We recommend using
419.Pa /etc/ifconfig.xxN
420with multiple lines instead.
421.It Sy flushroutes
422.Sq YES
423or
424.Sq NO .
425Flushes the route table on networking startup.
426Useful when coming up to multiuser mode after going down to
427single-user mode.
428.It Sy dhclient
429.Sq YES
430or
431.Sq NO .
432Set to
433.Sq YES
434to configure some or all network interfaces using
435the DHCP client.
436If you set
437.Sy dhclient
438to
439.Sq YES ,
440you must either have
441.Pa /var
442in
443.Sy critical_filesystems_local ,
444as part of
445.Pa / ,
446or direct the DHCP client to store the leases file on the root
447file system by modifying the
448.Sy dhclient_flags
449variable.
450You must not provide ifconfig information or ifaliases
451information for any interface that is to be configured using the DHCP client.
452Interface aliases can be set up in the DHCP client configuration
453file if needed - see
454.Xr dhclient.conf 5
455for details.
456.Pp
457Passes
458.Sy dhclient_flags
459to the DHCP client.
460See
461.Xr dhclient 8
462for complete documentation.
463If you wish to configure all broadcast
464network interfaces using the DHCP client, you can leave this blank.
465To configure only specific interfaces, name the interfaces to be configured
466on the command line.
467.Pp
468If you must run the DHCP client before mounting critical filesystems,
469then you should specify an alternate location for the DHCP client's lease
470file in the
471.Sy dhclient_flags
472variable - for example, "-lf /tmp/dhclient.leases".
473.It Sy ntpdate
474.Sq YES
475or
476.Sq NO .
477Runs
478.Xr ntpdate 8
479to set the system time from one of the hosts in
480.Sy ntpdate_hosts .
481If
482.Sy ntpdate_hosts
483is empty, it will attempt to find a list of hosts in
484.Pa /etc/ntp.conf .
485Passes
486.Sy ntpdate_flags .
487.It Sy ppp_peers
488A string.
489If
490.Sy ppp_peers
491is not empty, then
492.Pa /etc/rc.d/ppp
493will check each word in
494.Sy ppp_peers
495for a corresponding ppp configuration file in
496.Pa /etc/ppp/peers
497and will call
498.Xr pppd 8
499with the
500.Dq call Sy peer
501option.
502.It Sy ip6mode
503A string.
504An IPv6 node can be a router
505.Pq nodes that forward packet for others
506or a host
507.Pq nodes that do not forward .
508A host can be autoconfigured
509based on the information advertised by adjacent IPv6 routers.
510By setting
511.Sy ip6mode
512to
513.Dq Li router ,
514.Dq Li host ,
515or
516.Dq Li autohost ,
517you can configure your node as a router,
518a non-autoconfigured host, or an autoconfigured host.
519Invalid values will be ignored, and the node will be configured as
520a non-autoconfigured host.
521You may want to check
522.Sy rtsol
523and
524.Sy rtsold
525as well, if you set the variable to
526.Dq Li autohost .
527.It Sy ip6sitelocal
528.Sq YES
529or
530.Sq NO .
531If you intend to use IPv6 site-local addresses in your site, set it to
532.Sq YES .
533Otherwise, reject routes will get installed on boot to avoid misconfiguration
534relating to site-local addresses.
535.It Sy rtsol
536.Sq YES
537or
538.Sq NO .
539Run
540.Xr rtsol 8 ,
541router solicitation command for IPv6 hosts.
542On nomadic hosts like notebook computers, you may want to enable
543.Sy rtsold
544as well.
545Passes
546.Sy rtsol_flags .
547This is only for autoconfigured IPv6 hosts, so set
548.Sy ip6mode
549to
550.Dq Li autohost
551if you use it.
552.It Sy ifwatchd
553.Sq YES
554or
555.Sq NO .
556Monitor dynamic interfaces and perform actions upon address changes.
557Passes
558.Sy ifwatchd_flags .
559.It Sy altq
560.Sq YES
561or
562.Sq NO .
563ALTQ configuration/monitoring daemon.
564Passes
565.Sy altqd_flags .
566.El
567.Ss Daemons required by other daemons
568.Bl -tag -width net_interfaces
569.It Sy inetd
570.Sq YES
571or
572.Sq NO .
573Runs the
574.Xr inetd 8
575daemon to start network server processes (as listed in
576.Pa /etc/inetd.conf )
577as necessary.
578Passes
579.Sy inetd_flags .
580The
581.Dq Li -l
582flag turns on libwrap connection logging.
583.It Sy rpcbind
584.Sq YES
585or
586.Sq NO .
587The
588.Xr rpcbind 8
589daemon is required for any
590.Xr rpc 3
591services.
592These include NFS,
593.Tn NIS ,
594.Xr bootparamd 8 ,
595.Xr rstatd 8 ,
596.Xr rusersd 8 ,
597and
598.Xr rwalld 8 .
599Passes
600.Sy rpcbind_flags .
601.El
602.Ss Commonly used daemons
603.Bl -tag -width net_interfaces
604.It Sy syslogd
605.Sq YES
606or
607.Sq NO .
608Runs
609.Xr syslogd 8
610and passes
611.Sy syslogd_flags .
612.It Sy cron
613.Sq YES
614or
615.Sq NO .
616Run
617.Xr cron 8 .
618.It Sy named
619.Sq YES
620or
621.Sq NO .
622Runs
623.Xr named 8
624and passes
625.Sy named_flags .
626.It Sy named_chrootdir
627A string.
628If non-blank and
629.Sy named
630is
631.Sq YES ,
632run
633.Xr named 8
634as the unprivileged user and group
635.Sq named ,
636.Xr chroot 2 Ns ed
637to
638.Sy named_chrootdir .
639.Pa Sy named_chrootdir Ns /var/run/log
640will be added to the list of log sockets that
641.Xr syslogd 8
642listens to.
643.It Sy timed
644.Sq YES
645or
646.Sq NO .
647Runs
648.Xr timed 8
649and passes
650.Sy timed_flags .
651The
652.Dq Li -M
653option allows
654.Xr timed 8
655to be a master time source as well as a slave.
656If you are also running
657.Xr ntpd 8 ,
658only one machine running both should have the
659.Dq Li -M
660flag given to
661.Xr timed 8 .
662.It Sy ntpd
663.Sq YES
664or
665.Sq NO .
666Runs
667.Xr ntpd 8
668and passes
669.Sy ntpd_flags .
670.It Sy ntpd_chrootdir
671A string.
672If non-blank and
673.Sy ntpd
674is
675.Sq YES ,
676run
677.Xr ntpd 8
678as the unprivileged user and group
679.Sq ntpd ,
680.Xr chroot 2 Ns ed
681to
682.Sy ntpd_chrootdir .
683.Pa Sy ntpd_chrootdir Ns Pa /var/run/log
684will be added to the list of log sockets that
685.Xr syslogd 8
686listens to.
687.It Sy sendmail
688.Sq YES
689or
690.Sq NO .
691Runs
692.Xr sendmail 8
693and passes
694.Sy sendmail_flags .
695.It Sy postfix
696.Sq YES
697or
698.Sq NO .
699Starts
700.Xr postfix 1
701mail system.
702.It Sy lpd
703.Sq YES
704or
705.Sq NO .
706Runs
707.Xr lpd 8
708and passes
709.Sy lpd_flags .
710The
711.Dq Li -l
712flag will turn on extra logging.
713.It Sy sshd
714.Sq YES
715or
716.Sq NO .
717Runs
718.Xr sshd 8
719and passes
720.Sy sshd_flags .
721.El
722.Ss Routing daemons
723.Bl -tag -width net_interfaces
724.It Sy routed
725.Sq YES
726or
727.Sq NO .
728Runs
729.Xr routed 8 ,
730the RIP routing protocol daemon.
731Passes
732.Sy routed_flags .
733.\" This should be
734.\" .Sq NO
735.\" if
736.\" .Sy gated
737.\" is
738.\" .Sq YES .
739.It Sy mrouted
740.Sq YES
741or
742.Sq NO .
743Runs
744.Xr mrouted 8 ,
745the DVMRP multicast routing protocol daemon.
746Passes
747.Sy mrouted_flags .
748.It Sy route6d
749.Sq YES
750or
751.Sq NO .
752Runs
753.Xr route6d 8 ,
754the RIPng routing protocol daemon for IPv6.
755Passes
756.Sy route6d_flags .
757.It Sy rtsold
758.Sq YES
759or
760.Sq NO .
761Runs
762.Xr rtsold 8 ,
763the IPv6 router solicitation daemon.
764.Xr rtsold 8
765periodically transmits router solicitation packets
766to find IPv6 routers on the network.
767This configuration is mainly for nomadic hosts like notebook computers.
768Stationary hosts should work fine with just
769.Sy rtsol .
770Passes
771.Sy rtsold_flags .
772This is only for autoconfigured IPv6 hosts, so set
773.Sy ip6mode
774to
775.Dq Li autohost
776if you use it.
777.El
778.Ss Daemons used to boot other hosts over a network
779.Bl -tag -width net_interfaces
780.It Sy rarpd
781.Sq YES
782or
783.Sq NO .
784Runs
785.Xr rarpd 8 ,
786the reverse ARP daemon, often used to boot
787.Nx
788and Sun workstations.
789Passes
790.Sy rarpd_flags .
791.It Sy bootparamd
792.Sq YES
793or
794.Sq NO .
795Runs
796.Xr bootparamd 8 ,
797the boot parameter server, with
798.Sy bootparamd_flags
799as options.
800Used to boot
801.Nx
802and
803.Tn "SunOS 4.x"
804systems.
805.It Sy dhcpd
806.Sq YES
807or
808.Sq NO .
809Runs
810.Xr dhcpd 8 ,
811the Dynamic Host Configuration Protocol (DHCP) daemon,
812for assigning IP addresses to hosts and passing boot information.
813Passes
814.Sy dhcpd_flags .
815.It Sy dhcrelay
816.Sq YES
817or
818.Sq NO .
819Runs
820.Xr dhcrelay 8 .
821Passes
822.Sy dhcrelay_flags .
823.It Sy rbootd
824.Sq YES
825or
826.Sq NO .
827Runs
828.Xr rbootd 8 ,
829the
830.Tn HP
831boot protocol daemon; used for booting
832.Tn HP
833workstations.
834Passes
835.Sy rbootd_flags .
836.It Sy mopd
837.Sq YES
838or
839.Sq NO .
840Runs
841.Xr mopd 8 ,
842the
843.Tn DEC
844.Tn MOP
845protocol daemon; used for booting
846.Tn VAX
847and other
848.Tn DEC
849machines.
850Passes
851.Sy mopd_flags .
852.It Sy ndbootd
853.Sq YES
854or
855.Sq NO .
856Runs
857.Xr ndbootd 8 ,
858the Sun Network Disk (ND) Protocol server.
859Passes
860.Sy ndbootd_flags .
861.It Sy rtadvd
862.Sq YES
863or
864.Sq NO .
865Runs
866.Xr rtadvd 8 ,
867the IPv6 router advertisement daemon, which is used to advertise
868information about the subnet to IPv6 end hosts.
869Passes
870.Sy rtadvd_flags .
871This is only for IPv6 routers, so set
872.Sy ip6mode
873to
874.Dq Li router
875if you use it.
876.El
877.Ss X Window System daemons
878.Bl -tag -width net_interfaces
879.It Sy xfs
880.Sq YES
881or
882.Sq NO .
883Runs the
884.Xr xfs 1
885X11 font server, which supplies local X font files to X terminals.
886.It Sy xdm
887.Sq YES
888or
889.Sq NO .
890Runs the
891.Xr xdm 1
892X display manager.
893These X daemons are available only with the optional X distribution of
894.Nx .
895.El
896.Ss NIS (YP) daemons
897.Bl -tag -width net_interfaces
898.It Sy ypbind
899.Sq YES
900or
901.Sq NO .
902Runs
903.Xr ypbind 8 ,
904which lets
905.Tn NIS
906(YP) clients use information from a
907.Tn NIS
908server.
909Passes
910.Sy ypbind_flags .
911.It Sy ypserv
912.Sq YES
913or
914.Sq NO .
915Runs
916.Xr ypserv 8 ,
917the
918.Tn NIS
919(YP) server for distributing information from certain files in
920.Pa /etc .
921Passes
922.Sy ypserv_flags .
923The
924.Dq Li -d
925flag causes it to use DNS for lookups in
926.Pa /etc/hosts
927that fail.
928.It Sy yppasswdd
929.Sq YES
930or
931.Sq NO .
932Runs
933.Xr yppasswdd 8 ,
934which allows remote
935.Tn NIS
936users to update password on master server.
937Passes
938.Sy yppasswdd_flags .
939.El
940.Ss NFS daemons and parameters
941.Bl -tag -width net_interfaces
942.It Sy mountd
943.Sq YES
944or
945.Sq NO .
946Runs
947.Xr mountd 8
948and passes
949.Sy mountd_flags .
950.It Sy nfs_client
951.Sq YES
952or
953.Sq NO .
954The number of local NFS asynchronous I/O server is now controlled via
955.Xr sysctl 8 .
956.It Sy nfs_server
957.Sq YES
958or
959.Sq NO .
960Sets up a host to be a NFS server by running
961.Xr nfsd 8
962and passing
963.Sy nfsd_flags .
964.It Sy lockd
965.Sq YES
966or
967.Sq NO .
968Runs
969.Xr rpc.lockd 8
970if
971.Sy nfs_server
972and/or
973.Sy nfs_client
974are set to
975.Sq YES .
976Passes
977.Sy lockd_flags .
978.It Sy statd
979.Sq YES
980or
981.Sq NO .
982Runs
983.Xr rpc.statd 8 ,
984a status monitoring daemon used when
985.Xr rpc.lockd 8
986is running, if
987.Sy nfs_server
988and/or
989.Sy nfs_client
990are set to
991.Sq YES .
992Passes
993.Sy statd_flags .
994.It Sy amd
995.Sq YES
996or
997.Sq NO .
998Runs
999.Xr amd 8 ,
1000the automounter daemon, which automatically mounts NFS file systems
1001whenever a file or directory within that file system is accessed.
1002Passes
1003.Sy amd_flags .
1004.It Sy amd_dir
1005A string.
1006The
1007.Xr amd 8
1008mount directory.
1009Used only if
1010.Sy amd
1011is set to
1012.Sq YES .
1013.El
1014.Ss Other daemons
1015.Bl -tag -width net_interfaces
1016.It Sy kdc
1017.Sq YES
1018or
1019.Sq NO .
1020Runs the
1021.Xr kdc 8
1022Kerberos v4 and v5 server.
1023This should be run on Kerberos master and slave servers.
1024.It Sy isdnd
1025.Sq YES
1026or
1027.Sq NO .
1028Runs
1029.Xr isdnd 8 ,
1030the isdn4bsd ISDN connection management daemon.
1031Passes
1032.Sy isdnd_flags .
1033.It Sy isdn_autoupdown
1034.Sq YES
1035or
1036.Sq NO .
1037Set all configured ISDN interfaces to
1038.Dq up .
1039If
1040.Sy isdn_interfaces
1041is not blank, only the listed interfaces will be modified.
1042Used only if
1043.Sy isdnd
1044is set to
1045.Sq YES .
1046.It Sy rwhod
1047.Sq YES
1048or
1049.Sq NO .
1050Runs
1051.Xr rwhod 8
1052to support the
1053.Xr rwho 1
1054and
1055.Xr ruptime 1
1056commands.
1057.El
1058.Ss Hardware daemons
1059.Bl -tag -width net_interfaces
1060.It Sy apmd
1061.Sq YES
1062or
1063.Sq NO .
1064Runs
1065.Xr apmd 8
1066and passes
1067.Sy apmd_flags .
1068.It Sy poffd
1069.Sq YES
1070or
1071.Sq NO .
1072Runs
1073.Xr poffd 8
1074x68k shutdown daemon
1075(only for
1076.Nx Ns /x86k ) .
1077Passes
1078.Sy poffd_flags .
1079.It Sy screenblank
1080.Sq YES
1081or
1082.Sq NO .
1083Runs
1084.Xr screenblank 1
1085and passes
1086.Sy screenblank_flags .
1087.It Sy moused
1088.Sq YES
1089or
1090.Sq NO .
1091Runs
1092.Xr moused 8 ,
1093to pass serial mouse data to the wscons mouse mux.
1094Passes
1095.Sy moused_flags .
1096.It Sy wscons
1097.Sq YES
1098or
1099.Sq NO .
1100Configures the
1101.Xr wscons 4
1102console driver, from the configuration file
1103.Pa /etc/wscons.conf .
1104.El
1105.Sh FILES
1106.Bl -tag -width /etc/defaults/rc.conf -compact
1107.It Pa /etc/rc.conf
1108The file
1109.Nm
1110resides in
1111.Pa /etc .
1112.It Pa /etc/defaults/rc.conf
1113Default settings for
1114.Nm "" ,
1115sourced by
1116.Nm
1117before the end-user configuration section.
1118.It Pa /etc/rc.conf.d/ Ns Ar foo
1119.Ar foo Ns No -specific
1120.Nm
1121overrides.
1122.El
1123.Sh SEE ALSO
1124.Xr ifconfig.if 5 ,
1125.Xr boot 8 ,
1126.Xr rc 8 ,
1127.Xr sysctl 8
1128.Sh HISTORY
1129The
1130.Nm
1131file appeared in
1132.Nx 1.3 .
1133