rc.conf revision 1.90
1#	$NetBSD: rc.conf,v 1.90 2000/07/22 01:09:44 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# 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
114
115# Routing daemons.
116#
117routed=NO		routed_flags="-q"
118gated=NO		gated_flags=""
119mrouted=NO		mrouted_flags=""
120route6d=NO		route6d_flags=""
121rtsold=NO		rtsold_flags=""		# for ip6mode=autohost only
122
123# Daemons used to boot other hosts over a network.
124#
125rarpd=NO		rarpd_flags="-a"
126bootparamd=NO		bootparamd_flags=""
127dhcpd=NO		dhcpd_flags="-q"
128dhcrelay=NO		dhcrelay_flags=""
129rbootd=NO		rbootd_flags=""
130mopd=NO			mopd_flags="-a"
131rtadvd=NO		rtadvd_flags=""
132
133# X11 daemons.
134#
135xfs=NO			xfs_flags=""		# X11 font server
136xdm=NO			xdm_flags=""		# X11 display manager; needs
137						# wscons=YES for local displays.
138
139# YP (NIS) daemons.
140#
141ypbind=NO		ypbind_flags=""
142ypserv=NO		ypserv_flags="-d"
143yppasswdd=NO		yppasswdd_flags=""
144
145# NFS daemons and parameters.
146#
147nfs_client=NO					# enable client daemons
148nfs_server=NO					# enable server daemons
149			mountd_flags=""
150			nfsd_flags="-6tun 4"
151lockd=NO		lockd_flags=""
152statd=NO		statd_flags=""
153amd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
154			amd_dir=/amd			# mount dir
155			amd_master=/etc/amd/master	# master map
156
157# Other daemons.
158#
159rwhod=NO
160kerberos=NO
161
162# Hardware daemons.
163#
164apmd=NO			apmd_flags=""		# APM power management daemon.
165screenblank=NO		screenblank_flags=""	# wscons and FBIO screenblanker
166
167# Configuration of "wscons" console driver virtual screens.
168#
169wscons=NO		wscons_flags=""		# run /etc/rc.wscons
170
171# Read in local configuration.
172#
173if [ -f /etc/rc.local.conf ]; then
174	. /etc/rc.local.conf
175fi
176