rc.conf revision 1.60.2.2
1193323Sed#	$NetBSD: rc.conf,v 1.60.2.2 1999/11/05 11:19:50 mycroft Exp $
2193323Sed#
3193323Sed# see rc.conf(5) for more information.
4193323Sed
5193323Sed# uncomment this if you want to use local paths in rc
6193323Sed#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
7193323Sed
8193323Sed# Use program=YES to enable program, NO to disable it. program_flags are
9193323Sed# passed to the program on the command line.
10193323Sed
11193323Sed# If this is not set to YES, the system will drop into single-user mode.
12193323Sedrc_configured=NO
13193323Sed
14239462Sdim# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
15193323Seddo_rcshutdown=YES
16239462Sdim
17239462Sdim# Basic network configuration
18243830Sdim
19226633Sdim# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu)
20239462Sdimhostname=""				# if blank, use /etc/myname
21239462Sdim
22193323Sed# if there's only one way out of your network, set this to the hostname
23193323Sed# or the IP address of the router that will get your packets off the LAN.
24193323Seddefaultroute=""				# if blank, use /etc/mygate
25239462Sdim
26239462Sdim# the NIS domain name (formerly known as Yellow Pages); not in any way
27239462Sdim# related to Internet domain names.
28239462Sdimdomainname=""				# if blank, use /etc/defaultdomain
29239462Sdim
30239462Sdim# Filesystems to mount early in boot-up
31239462Sdimcritical_filesystems_beforenet="/usr /var" # "netstart" needs /usr
32239462Sdimcritical_filesystems=""
33239462Sdim
34239462Sdim# Set this to YES if you have purposefully setup no swap partitions and
35239462Sdim# don't want to be warned about it
36239462Sdimno_swap=NO
37239462Sdim
38239462Sdim# One-time actions and programs on boot-up.
39239462Sdimlkm=NO						# run /etc/rc.lkm
40239462Sdimsavecore=YES		savecore_flags=""
41239462Sdimupdate_motd=YES					# updates /etc/motd
42239462Sdimdmesg=YES		dmesg_flags=""		# write /var/run/dmesg.boot
43239462Sdim
44239462Sdim# default core name template. If $defcorename is non-empty, this value will be  
45239462Sdim# used for core dumps names for programs that didn't get their per-process
46239462Sdim# template set (see sysctl(3) and sysctl(8)).
47239462Sdimdefcorename=""      
48239462Sdim
49239462Sdim# Security setting.  If $securelevel is non-empty, the system securelevel
50239462Sdim# is set to this value early in the boot sequence.  Otherwise the default
51239462Sdim# action is taken (see init(8)).
52239462Sdimsecurelevel=""					# securelevel to set to 
53239462Sdim
54239462Sdim# Networking startup
55239462Sdimipfilter=NO					# uses /etc/ipf.conf
56239462Sdimipnat=NO					# uses /etc/ipnat.conf
57239462Sdimipmon=NO		ipmon_flags="-sn"	# syslog ipfilter messages
58239462Sdimauto_ifconfig=YES				# config all avail. interfaces
59239462Sdimnet_interfaces=""				# used only if above is NO
60239462Sdimflushroutes=YES					# flush routes in netstart
61239462Sdimdhclient=NO					# behave as a DHCP client
62193323Seddhclient_flags=""				# blank: config all interfaces
63193323Sedntpdate=NO		ntpdate_hosts=""	# blank: hosts in /etc/ntp.conf
64193323Sedppp_peers=""					# /etc/ppp/peers to call
65193323Sedip6forwarding="NO"				# IPv6 router
66195340Sedrtsol="NO"		rtsol_flags=""		# IPv6 autoconf (on non-router)
67239462Sdim
68239462Sdim# Daemons required by servers.  These are not needed for strictly client use.
69193323Sed# inetd is used to start many IP-based services.
70239462Sdiminetd=YES		inetd_flags="-l"	# -l logs libwrap
71193323Sed# portmap is used to look up RPC-based services.
72193323Sedportmap=NO		portmap_flags="-l"	# -l logs libwrap
73193323Sed
74208599Srdivacky# Commonly used daemons
75208599Srdivackyupdate=YES		update_flags="30"
76193323Sedsyslogd=YES		syslogd_flags="-s"	# -s "secure" unix domain only
77193323Sedcron=YES
78193323Sednamed=NO		named_flags=""
79193323Sedtimed=NO		timed_flags=""
80193323Sedxntpd=NO		xntpd_flags="-p /var/run/xntpd.pid -f /var/db/ntp.drift"
81193323Sedsendmail=NO		sendmail_flags="-bd -q30m"
82193323Sedlpd=NO			lpd_flags="-s"		# -s "secure" unix domain only
83193323Sed
84193323Sed# Routing daemons
85193323Sedrouted=NO		routed_flags="-q"
86193323Sedgated=NO		gated_flags=""
87263508Sdimmrouted=NO		mrouted_flags=""
88193323Sedroute6d=NO		route6d_flags=""
89193323Sedrtsold=NO		rtsold_flags=""		# not really routing daemon...
90263508Sdim
91193323Sed# Daemons used to boot other hosts over a network
92193323Sedrarpd=NO		rarpd_flags="-a"
93193323Sedbootparamd=NO		bootparamd_flags=""
94193323Seddhcpd=NO		dhcpd_flags="-q"
95193323Seddhcrelay=NO		dhcrelay_flags=""
96193323Sedrbootd=NO		rbootd_flags=""
97193323Sedmopd=NO			mopd_flags="-a"
98193323Sedrtadvd=NO		rtadvd_flags=""
99208599Srdivacky
100208599Srdivacky# X11 daemons:
101193323Sedxfs=NO			xfs_flags=""		# X11 font server
102193323Sedxdm=NO			xdm_flags=""		# x11 display manager
103208599Srdivacky
104208599Srdivacky# YP (NIS) daemons
105218893Sdimypbind=NO		ypbind_flags=""
106218893Sdimypserv=NO		ypserv_flags="-d"
107218893Sdimyppasswdd=NO		yppasswdd_flags=""
108218893Sdim
109218893Sdim# NFS daemons and parameters
110208599Srdivackynfs_client=NO					# enable client daemons
111208599Srdivacky			nfsiod_flags="-n 4"
112208599Srdivackynfs_server=NO					# enable server daemons
113208599Srdivacky			mountd_flags=""
114218893Sdim			nfsd_flags="-tun 4"
115208599Srdivackylockd=NO		lockd_flags=""
116218893Sdimstatd=NO		statd_flags=""
117218893Sdimamd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
118208599Srdivacky			amd_dir=/amd			# mount dir
119208599Srdivacky			amd_master=/etc/amd/master	# master map
120208599Srdivacky
121193323Sed# Other daemons
122195340Sedrwhod=NO
123193323Sedkerberos=NO
124193323Sed
125193323Sed# Hardware daemons
126193323Sedapmd=NO			apmd_flags=""		# APM power management daemon.
127193323Sedscreenblank=NO		screenblank_flags=""	# wscons and FBIO screenblanker
128263508Sdim
129193323Sed# configuration of "wscons" console driver virtual screens
130193323Sedwscons=NO		wscons_flags=""		# run /etc/rc.wscons
131193323Sed