rc.conf revision 1.89
1#	$NetBSD: rc.conf,v 1.89 2000/07/21 00:25:31 lukem 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#
43critical_filesystems_beforenet="/usr /var"
44critical_filesystems=""
45
46# Set this to YES if you have purposefully setup no swap partitions and
47# don't want to be warned about it.
48#
49no_swap=NO
50
51# One-time actions and programs on boot-up.
52#
53lkm=NO						# run /etc/rc.lkm
54savecore=YES		savecore_flags="-z"
55clear_tmp=YES					# clear /tmp after reboot
56update_motd=YES					# updates /etc/motd
57dmesg=YES		dmesg_flags=""		# write /var/run/dmesg.boot
58accounting=NO					# needs /var/account/acct
59
60# NOTE: default coredump name now set in /etc/sysctl.conf
61
62# Security setting.  If $securelevel is non-empty, the system securelevel
63# is set to this value early in the boot sequence.  Otherwise the default
64# action is taken (see init(8)).
65#
66securelevel=""					# securelevel to set to
67
68# To set the IP address of an interface either use
69#  ifconfig_xxN="IP-NO"
70# where xxN is the interface.  If this variable is not set then
71# contents of the file /etc/ifconfig.xxN is used.
72
73# Networking startup.
74#
75ipfilter=NO					# uses /etc/ipf.conf
76ipnat=NO					# uses /etc/ipnat.conf
77ipsec=NO					# uses /etc/ipsec.conf
78ipmon=NO		ipmon_flags="-sn"	# syslog ipfilter messages
79auto_ifconfig=YES				# config all avail. interfaces
80net_interfaces=""				# used only if above is NO
81flushroutes=YES					# flush routes in netstart
82dhclient=NO					# behave as a DHCP client
83dhclient_flags=""				# blank: config all interfaces
84ntpdate=NO		ntpdate_hosts=""	# blank: hosts in /etc/ntp.conf
85ppp_peers=""					# /etc/ppp/peers to call
86ip6mode=host					# host, autohost or router
87rtsol=NO		rtsol_flags=""		# for ip6mode=autohost only
88
89# Daemons required by servers.  These are not needed for strictly client use.
90#
91
92# inetd is used to start the IP-based services enabled in /etc/inetd.conf
93#
94inetd=YES		inetd_flags="-l"	# -l logs libwrap
95
96# rpcbind is used to look up RPC-based services.
97#
98rpcbind=NO		rpcbind_flags="-l"	# -l logs libwrap
99
100# Commonly used daemons.
101#
102syslogd=YES		syslogd_flags="-s"	# -s "secure" unix domain only
103cron=YES
104named=NO		named_flags=""
105timed=NO		timed_flags=""
106ntpd=NO			ntpd_flags=""
107sendmail=NO		sendmail_flags="-bd -q30m"
108postfix=NO
109lpd=NO			lpd_flags="-s"		# -s "secure" unix domain only
110
111# Routing daemons.
112#
113routed=NO		routed_flags="-q"
114gated=NO		gated_flags=""
115mrouted=NO		mrouted_flags=""
116route6d=NO		route6d_flags=""
117rtsold=NO		rtsold_flags=""		# for ip6mode=autohost only
118
119# Daemons used to boot other hosts over a network.
120#
121rarpd=NO		rarpd_flags="-a"
122bootparamd=NO		bootparamd_flags=""
123dhcpd=NO		dhcpd_flags="-q"
124dhcrelay=NO		dhcrelay_flags=""
125rbootd=NO		rbootd_flags=""
126mopd=NO			mopd_flags="-a"
127rtadvd=NO		rtadvd_flags=""
128
129# X11 daemons.
130#
131xfs=NO			xfs_flags=""		# X11 font server
132xdm=NO			xdm_flags=""		# X11 display manager; needs
133						# wscons=YES for local displays.
134
135# YP (NIS) daemons.
136#
137ypbind=NO		ypbind_flags=""
138ypserv=NO		ypserv_flags="-d"
139yppasswdd=NO		yppasswdd_flags=""
140
141# NFS daemons and parameters.
142#
143nfs_client=NO					# enable client daemons
144nfs_server=NO					# enable server daemons
145			mountd_flags=""
146			nfsd_flags="-6tun 4"
147lockd=NO		lockd_flags=""
148statd=NO		statd_flags=""
149amd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
150			amd_dir=/amd			# mount dir
151			amd_master=/etc/amd/master	# master map
152
153# Other daemons.
154#
155rwhod=NO
156kerberos=NO
157
158# Hardware daemons.
159#
160apmd=NO			apmd_flags=""		# APM power management daemon.
161screenblank=NO		screenblank_flags=""	# wscons and FBIO screenblanker
162
163# Configuration of "wscons" console driver virtual screens.
164#
165wscons=NO		wscons_flags=""		# run /etc/rc.wscons
166
167# Read in local configuration.
168#
169if [ -f /etc/rc.local.conf ]; then
170	. /etc/rc.local.conf
171fi
172