rc.conf revision 1.47.2.1
1#	$NetBSD: rc.conf,v 1.47.2.1 1999/04/09 16:25:11 mellon 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 (also formerly known as Yellow Pages); not in any way
27# related to Internet domain names.
28domainname=""				# if blank, use /etc/defaultdomain
29
30# Filesystems (besides /usr and /var) to mount early in boot-up
31critical_filesystems=""
32
33# Set this to YES if you have purposefully setup no swap partitions and
34# don't want to be warned about it
35no_swap=NO
36
37# One-time actions and programs on boot-up.
38lkm=NO						# run /etc/rc.lkm
39savecore=YES		savecore_flags=""
40update_motd=YES					# updates /etc/motd
41dmesg=YES		dmesg_flags=""		# write /var/run/dmesg.boot
42
43# Security setting.  If $securelevel is non-empty, the system securelevel
44# is set to this value early in the boot sequence.  Otherwise the default
45# action is taken (see init(8)).
46securelevel=""					# securelevel to set to 
47
48# Networking startup
49ipfilter=NO					# uses /etc/ipf.conf
50ipnat=NO					# uses /etc/ipnat.conf
51ipmon=NO		ipmon_flags="-sn"	# syslog ipfilter messages
52auto_ifconfig=YES				# config all avail. interfaces
53net_interfaces=""				# used only if above is NO
54flushroutes=YES					# flush routes in netstart
55dhclient=NO	# Also set critfs_requires_network=NO if you enable this.
56dhclient_flags=""				# blank: config all interfaces
57ntpdate=NO		ntpdate_hosts=""	# blank: hosts in /etc/ntp.conf
58ppp_peers=""					# /etc/ppp/peers to call
59
60# Daemons required by other daemons
61inetd=YES		inetd_flags="-l"	# -l logs libwrap
62portmap=YES		portmap_flags="-l"	# -l logs libwrap
63
64# Commonly used daemons
65update=YES		update_flags="30"
66syslogd=YES		syslogd_flags=""
67cron=YES
68named=NO		named_flags=""
69timed=NO		timed_flags=""
70xntpd=NO		xntpd_flags="-p /var/run/xntpd.pid"
71sendmail=NO		sendmail_flags="-bd -q30m"
72lpd=NO			lpd_flags=""
73
74# Routing daemons
75routed=NO		routed_flags="-q"
76gated=NO		gated_flags=""
77mrouted=NO		mrouted_flags=""
78
79# Daemons used to boot other hosts over a network
80rarpd=NO		rarpd_flags="-a"
81bootparamd=NO		bootparamd_flags=""
82dhcpd=NO		dhcpd_flags="-q"
83dhcrelay=NO		dhcrelay_flags=""
84rbootd=NO		rbootd_flags=""
85mopd=NO			mopd_flags="-a"
86
87# X11 daemons:
88xfs=NO			xfs_flags=""		# X11 font server
89xdm=NO			xdm_flags=""		# x11 display manager
90
91# YP (NIS) daemons
92ypbind=NO		ypbind_flags=""
93ypserv=NO		ypserv_flags="-d"
94yppasswdd=NO		yppasswdd_flags=""
95
96# NFS daemons and parameters
97nfs_client=NO					# enable client daemons
98			nfsiod_flags="-n 4"
99nfs_server=NO					# enable server daemons
100			mountd_flags=""
101			nfsd_flags="-tun 4"
102lockd=NO		lockd_flags=""
103statd=NO		statd_flags=""
104amd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
105			amd_dir=/amd			# mount dir
106			amd_master=/etc/amd/master	# master map
107
108# Other daemons
109rwhod=NO
110kerberos=NO
111
112# Hardware daemons
113apmd=NO			apmd_flags=""		# APM power management daemon.
114usbd=NO			usbd_flags=""		# USB bus attach/detach daemon.
115screenblank=NO		screenblank_flags=""	# sparc and sun3 screenblanker
116
117# configuration of "wscons" console driver virtual screens
118wscons=NO		wscons_flags=""		# run /etc/rc.wscons
119