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