rc.conf revision 1.92
1#	$NetBSD: rc.conf,v 1.92 2000/08/06 21:34:17 thorpej Exp $
2#
3# see rc.conf(5) for more information.
4#
5# Use program=YES to enable program, NO to disable it. program_flags are
6# passed to the program on the command line.
7#
8
9# Uncomment this if you want to use local paths in rc.
10#
11#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
12
13# If this is not set to YES, the system will drop into single-user mode.
14#
15rc_configured=NO
16
17# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
18#
19do_rcshutdown=YES
20
21# Basic network configuration
22#
23
24# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
25# If blank, use /etc/myname.
26#
27hostname=""
28
29# If there's only one way out of your network, set this to the hostname
30# or the IP address of the router that will get your packets off the LAN.
31# If blank, use /etc/mygate.
32#
33defaultroute=""
34
35# The NIS domain name (formerly known as Yellow Pages); not in any way
36# related to Internet domain names.
37# If blank, use /etc/defaultdomain.
38#
39domainname=""
40
41# Filesystems to mount early in boot-up.
42# Note that `/var' is needed in $critical_filesystems_beforenet (or
43# implied as part of `/') as certain services that need /var (such as
44# dhclient) may be needed to get the network operational enough to mount
45# the $critical_filesystems.
46#
47critical_filesystems_beforenet="/var"
48critical_filesystems="/usr"
49
50# Set this to YES if you have purposefully setup no swap partitions and
51# don't want to be warned about it.
52#
53no_swap=NO
54
55# One-time actions and programs on boot-up.
56#
57lkm=NO						# run /etc/rc.lkm
58savecore=YES		savecore_flags="-z"
59clear_tmp=YES					# clear /tmp after reboot
60update_motd=YES					# updates /etc/motd
61dmesg=YES		dmesg_flags=""		# write /var/run/dmesg.boot
62accounting=NO					# needs /var/account/acct
63
64# NOTE: default coredump name now set in /etc/sysctl.conf
65
66# Security setting.  If $securelevel is non-empty, the system securelevel
67# is set to this value early in the boot sequence.  Otherwise the default
68# action is taken (see init(8)).
69#
70securelevel=""					# securelevel to set to
71
72# To set the IP address of an interface either use
73#  ifconfig_xxN="IP-NO"
74# where xxN is the interface.  If this variable is not set then
75# contents of the file /etc/ifconfig.xxN is used.
76
77# Networking startup.
78#
79ipfilter=NO					# uses /etc/ipf.conf
80ipnat=NO					# uses /etc/ipnat.conf
81ipsec=NO					# uses /etc/ipsec.conf
82ipmon=NO		ipmon_flags="-sn"	# syslog ipfilter messages
83auto_ifconfig=YES				# config all avail. interfaces
84net_interfaces=""				# used only if above is NO
85flushroutes=YES					# flush routes in netstart
86dhclient=NO					# behave as a DHCP client
87dhclient_flags=""				# blank: config all interfaces
88ntpdate=NO		ntpdate_hosts=""	# blank: hosts in /etc/ntp.conf
89ppp_peers=""					# /etc/ppp/peers to call
90ip6mode=host					# host, autohost or router
91rtsol=NO		rtsol_flags=""		# for ip6mode=autohost only
92
93# Daemons required by servers.  These are not needed for strictly client use.
94#
95
96# inetd is used to start the IP-based services enabled in /etc/inetd.conf
97#
98inetd=YES		inetd_flags="-l"	# -l logs libwrap
99
100# rpcbind is used to look up RPC-based services.
101#
102rpcbind=NO		rpcbind_flags="-l"	# -l logs libwrap
103
104# Commonly used daemons.
105#
106syslogd=YES		syslogd_flags="-s"	# -s "secure" unix domain only
107cron=YES
108named=NO		named_flags=""
109timed=NO		timed_flags=""
110ntpd=NO			ntpd_flags=""
111sendmail=NO		sendmail_flags="-bd -q30m"
112postfix=NO
113lpd=NO			lpd_flags="-s"		# -s "secure" unix domain only
114sshd=NO			sshd_flags=""
115
116# Routing daemons.
117#
118routed=NO		routed_flags="-q"
119gated=NO		gated_flags=""
120mrouted=NO		mrouted_flags=""
121route6d=NO		route6d_flags=""
122rtsold=NO		rtsold_flags=""		# for ip6mode=autohost only
123
124# Daemons used to boot other hosts over a network.
125#
126rarpd=NO		rarpd_flags="-a"
127bootparamd=NO		bootparamd_flags=""
128dhcpd=NO		dhcpd_flags="-q"
129dhcrelay=NO		dhcrelay_flags=""
130rbootd=NO		rbootd_flags=""
131mopd=NO			mopd_flags="-a"
132rtadvd=NO		rtadvd_flags=""
133
134# X11 daemons.
135#
136xfs=NO			xfs_flags=""		# X11 font server
137xdm=NO			xdm_flags=""		# X11 display manager; needs
138						# wscons=YES for local displays.
139
140# YP (NIS) daemons.
141#
142ypbind=NO		ypbind_flags=""
143ypserv=NO		ypserv_flags="-d"
144yppasswdd=NO		yppasswdd_flags=""
145
146# NFS daemons and parameters.
147#
148nfs_client=NO					# enable client daemons
149nfs_server=NO					# enable server daemons
150			mountd_flags=""
151			nfsd_flags="-6tun 4"
152lockd=NO		lockd_flags=""
153statd=NO		statd_flags=""
154amd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
155			amd_dir=/amd			# mount dir
156			amd_master=/etc/amd/master	# master map
157
158# Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
159kdc=NO			kdc_flags=""
160
161# Other daemons.
162#
163rwhod=NO
164
165# Hardware daemons.
166#
167apmd=NO			apmd_flags=""		# APM power management daemon.
168screenblank=NO		screenblank_flags=""	# wscons and FBIO screenblanker
169
170# Configuration of "wscons" console driver virtual screens.
171#
172wscons=NO		wscons_flags=""		# run /etc/rc.wscons
173
174# Read in local configuration.
175#
176if [ -f /etc/rc.local.conf ]; then
177	. /etc/rc.local.conf
178fi
179