rc.conf revision 1.57
1#	$NetBSD: rc.conf,v 1.57 1999/09/03 13:40:16 itojun 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" # "netstart" needs /usr
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=""
41update_motd=YES					# updates /etc/motd
42dmesg=YES		dmesg_flags=""		# write /var/run/dmesg.boot
43
44# Security setting.  If $securelevel is non-empty, the system securelevel
45# is set to this value early in the boot sequence.  Otherwise the default
46# action is taken (see init(8)).
47securelevel=""					# securelevel to set to 
48
49# Networking startup
50ipfilter=NO					# uses /etc/ipf.conf
51ipnat=NO					# uses /etc/ipnat.conf
52ipmon=NO		ipmon_flags="-sn"	# syslog ipfilter messages
53auto_ifconfig=YES				# config all avail. interfaces
54net_interfaces=""				# used only if above is NO
55flushroutes=YES					# flush routes in netstart
56dhclient=NO					# behave as a DHCP client
57dhclient_flags=""				# blank: config all interfaces
58ntpdate=NO		ntpdate_hosts=""	# blank: hosts in /etc/ntp.conf
59ppp_peers=""					# /etc/ppp/peers to call
60ip6forwarding="NO"				# IPv6 router
61rtsol="NO"		rtsol_flags=""		# IPv6 autoconf (on non-router)
62
63# Daemons required by other daemons
64inetd=YES		inetd_flags="-l"	# -l logs libwrap
65portmap=YES		portmap_flags="-l"	# -l logs libwrap
66
67# Commonly used daemons
68update=YES		update_flags="30"
69syslogd=YES		syslogd_flags="-s"	# -s "secure" unix domain only
70cron=YES
71named=NO		named_flags=""
72timed=NO		timed_flags=""
73xntpd=NO		xntpd_flags="-p /var/run/xntpd.pid"
74sendmail=NO		sendmail_flags="-bd -q30m"
75lpd=NO			lpd_flags="-s"		# -s "secure" unix domain only
76
77# Routing daemons
78routed=NO		routed_flags="-q"
79gated=NO		gated_flags=""
80mrouted=NO		mrouted_flags=""
81route6d=NO		route6d_flags=""
82rtsold=NO		rtsold_flags=""		# not really routing daemon...
83
84# Daemons used to boot other hosts over a network
85rarpd=NO		rarpd_flags="-a"
86bootparamd=NO		bootparamd_flags=""
87dhcpd=NO		dhcpd_flags="-q"
88dhcrelay=NO		dhcrelay_flags=""
89rbootd=NO		rbootd_flags=""
90mopd=NO			mopd_flags="-a"
91rtadvd=NO		rtadvd_flags=""
92
93# X11 daemons:
94xfs=NO			xfs_flags=""		# X11 font server
95xdm=NO			xdm_flags=""		# x11 display manager
96
97# YP (NIS) daemons
98ypbind=NO		ypbind_flags=""
99ypserv=NO		ypserv_flags="-d"
100yppasswdd=NO		yppasswdd_flags=""
101
102# NFS daemons and parameters
103nfs_client=NO					# enable client daemons
104			nfsiod_flags="-n 4"
105nfs_server=NO					# enable server daemons
106			mountd_flags=""
107			nfsd_flags="-tun 4"
108lockd=NO		lockd_flags=""
109statd=NO		statd_flags=""
110amd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
111			amd_dir=/amd			# mount dir
112			amd_master=/etc/amd/master	# master map
113
114# Other daemons
115rwhod=NO
116kerberos=NO
117
118# Hardware daemons
119apmd=NO			apmd_flags=""		# APM power management daemon.
120screenblank=NO		screenblank_flags=""	# wscons and FBIO screenblanker
121
122# configuration of "wscons" console driver virtual screens
123wscons=NO		wscons_flags=""		# run /etc/rc.wscons
124