rc.conf revision 1.85
11.85Sitojun#	$NetBSD: rc.conf,v 1.85 2000/06/13 16:29:53 itojun Exp $
21.1Smrg#
31.1Smrg# see rc.conf(5) for more information.
41.1Smrg
51.1Smrg# uncomment this if you want to use local paths in rc
61.33Slukem#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
71.1Smrg
81.16Scjs# Use program=YES to enable program, NO to disable it. program_flags are
91.16Scjs# passed to the program on the command line.
101.14Sphil
111.16Scjs# If this is not set to YES, the system will drop into single-user mode.
121.16Scjsrc_configured=NO
131.35Sbad
141.35Sbad# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
151.35Sbaddo_rcshutdown=YES
161.13Slukem
171.13Slukem# Basic network configuration
181.30Sfair
191.30Sfair# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu)
201.28Slukemhostname=""				# if blank, use /etc/myname
211.30Sfair
221.30Sfair# if there's only one way out of your network, set this to the hostname
231.30Sfair# or the IP address of the router that will get your packets off the LAN.
241.30Sfairdefaultroute=""				# if blank, use /etc/mygate
251.30Sfair
261.52Sjwise# the NIS domain name (formerly known as Yellow Pages); not in any way
271.30Sfair# related to Internet domain names.
281.28Slukemdomainname=""				# if blank, use /etc/defaultdomain
291.22Sdrochner
301.50Snathanw# Filesystems to mount early in boot-up
311.68Swindsorcritical_filesystems_beforenet="/usr /var"
321.55Sdrochnercritical_filesystems=""
331.25Smrg
341.25Smrg# Set this to YES if you have purposefully setup no swap partitions and
351.25Smrg# don't want to be warned about it
361.28Slukemno_swap=NO
371.45Smellon
381.16Scjs# One-time actions and programs on boot-up.
391.34Stvlkm=NO						# run /etc/rc.lkm
401.63Sabssavecore=YES		savecore_flags="-z"
411.74Sjdolecekclear_tmp=YES					# clear /tmp after reboot
421.16Scjsupdate_motd=YES					# updates /etc/motd
431.40Smrgdmesg=YES		dmesg_flags=""		# write /var/run/dmesg.boot
441.62Slukemaccounting=NO					# needs /var/account/acct
451.78Stsarna
461.78Stsarna# NOTE: default coredump name now set in /etc/sysctl.conf
471.78Stsarna
481.78Stsarna# Security setting.  If $securelevel is non-empty, the system securelevel
491.78Stsarna# is set to this value early in the boot sequence.  Otherwise the default
501.78Stsarna# action is taken (see init(8)).
511.78Stsarnasecurelevel=""					# securelevel to set to
521.65Saugustss
531.65Saugustss# To set the IP address of an interface either use
541.65Saugustss# ifconfig_xxN="IP-NO"
551.65Saugustss# where xxN is the interface.  The this variable is not set the
561.65Saugustss# contents of the file /etc/ifconfig.xxN is used.
571.16Scjs
581.16Scjs# Networking startup
591.16Scjsipfilter=NO					# uses /etc/ipf.conf
601.27Schristosipnat=NO					# uses /etc/ipnat.conf
611.85Sitojunipsec=NO					# uses /etc/ipsec.conf
621.21Slukemipmon=NO		ipmon_flags="-sn"	# syslog ipfilter messages
631.16Scjsauto_ifconfig=YES				# config all avail. interfaces
641.16Scjsnet_interfaces=""				# used only if above is NO
651.16Scjsflushroutes=YES					# flush routes in netstart
661.49Sjwisedhclient=NO					# behave as a DHCP client
671.48Smellondhclient_flags=""				# blank: config all interfaces
681.17Sveegontpdate=NO		ntpdate_hosts=""	# blank: hosts in /etc/ntp.conf
691.24Smrgppp_peers=""					# /etc/ppp/peers to call
701.72Sitojunip6mode=host					# host, autohost or router
711.73Sitojunip6defaultif=""					# for ip6mode=host/autohost only
721.72Sitojunrtsol=NO		rtsol_flags=""		# for ip6mode=autohost only
731.16Scjs
741.60Smycroft# Daemons required by servers.  These are not needed for strictly client use.
751.60Smycroft# inetd is used to start many IP-based services.
761.18Scjsinetd=YES		inetd_flags="-l"	# -l logs libwrap
771.83Sveego# rpcbind is used to look up RPC-based services.
781.82Sfvdlrpcbind=NO		rpcbind_flags="-l"	# -l logs libwrap
791.6Scjs
801.6Scjs# Commonly used daemons
811.51Sperrysyslogd=YES		syslogd_flags="-s"	# -s "secure" unix domain only
821.39Sjwisecron=YES
831.16Scjsnamed=NO		named_flags=""
841.16Scjstimed=NO		timed_flags=""
851.81Ssimonbntpd=NO			ntpd_flags=""
861.17Sveegosendmail=NO		sendmail_flags="-bd -q30m"
871.80Sthorpejpostfix=NO
881.51Sperrylpd=NO			lpd_flags="-s"		# -s "secure" unix domain only
891.16Scjs
901.16Scjs# Routing daemons
911.16Scjsrouted=NO		routed_flags="-q"
921.16Scjsgated=NO		gated_flags=""
931.16Scjsmrouted=NO		mrouted_flags=""
941.54Sitojunroute6d=NO		route6d_flags=""
951.72Sitojunrtsold=NO		rtsold_flags=""		# for ip6mode=autohost only
961.16Scjs
971.16Scjs# Daemons used to boot other hosts over a network
981.16Scjsrarpd=NO		rarpd_flags="-a"
991.16Scjsbootparamd=NO		bootparamd_flags=""
1001.26Schuckdhcpd=NO		dhcpd_flags="-q"
1011.46Ssommerfedhcrelay=NO		dhcrelay_flags=""
1021.16Scjsrbootd=NO		rbootd_flags=""
1031.16Scjsmopd=NO			mopd_flags="-a"
1041.54Sitojunrtadvd=NO		rtadvd_flags=""
1051.23Sjonathan
1061.23Sjonathan# X11 daemons:
1071.23Sjonathanxfs=NO			xfs_flags=""		# X11 font server
1081.66Sabsxdm=NO			xdm_flags=""		# X11 display manager
1091.6Scjs
1101.6Scjs# YP (NIS) daemons
1111.16Scjsypbind=NO		ypbind_flags=""
1121.16Scjsypserv=NO		ypserv_flags="-d"
1131.16Scjsyppasswdd=NO		yppasswdd_flags=""
1141.16Scjs
1151.16Scjs# NFS daemons and parameters
1161.17Sveegonfs_client=NO					# enable client daemons
1171.16Scjsnfs_server=NO					# enable server daemons
1181.16Scjs			mountd_flags=""
1191.84Sfvdl			nfsd_flags="-6tun 4"
1201.16Scjslockd=NO		lockd_flags=""
1211.16Scjsstatd=NO		statd_flags=""
1221.16Scjsamd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
1231.16Scjs			amd_dir=/amd			# mount dir
1241.16Scjs			amd_master=/etc/amd/master	# master map
1251.16Scjs
1261.16Scjs# Other daemons
1271.17Sveegorwhod=NO
1281.16Scjskerberos=NO
1291.37Scjs
1301.37Scjs# Hardware daemons
1311.37Scjsapmd=NO			apmd_flags=""		# APM power management daemon.
1321.56Sisscreenblank=NO		screenblank_flags=""	# wscons and FBIO screenblanker
1331.43Sdrochner
1341.43Sdrochner# configuration of "wscons" console driver virtual screens
1351.44Sdrochnerwscons=NO		wscons_flags=""		# run /etc/rc.wscons
1361.69Saugustss
1371.69Saugustss# Add local configurations
1381.70Saugustssif [ -f /etc/rc.local.conf ]; then
1391.70Saugustss	. /etc/rc.local.conf
1401.69Saugustssfi
141