rc.conf revision 1.46 1 # $NetBSD: rc.conf,v 1.46 2003/03/19 08:54:01 wiz Exp $
2 #
3 # /etc/defaults/rc.conf --
4 # default configuration of /etc/rc.conf
5 #
6 # see rc.conf(5) for more information.
7 #
8 # DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING A SYSTEM UPGRADE.
9 # EDIT /etc/rc.conf INSTEAD.
10 #
11 # DEVELOPERS: Please edit share/sushi/system/rcconf/form when modifying this
12 # file to keep it in sync.
13
14 #
15 # Use program=YES to enable program, NO to disable it. program_flags are
16 # passed to the program on the command line.
17 #
18
19 # Uncomment this if you want to use local paths in rc.
20 #
21 #export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
22
23 # Uncomment the following to execute each /etc/rc.d script in
24 # the current shell rather than in a subshell. This may be
25 # faster on very slow machines that have an expensive fork(2).
26 # NOTE: USE THIS AT YOUR OWN RISK; A ROGUE COMMAND
27 # MAY INADVERTENTLY PREVENT BOOT TO MULTIUSER.
28 #
29 #rc_fast_and_loose=YES
30
31 # Additional flags to the rcorder(8) that's run by /etc/rc.
32 #
33 rc_rcorder_flags=""
34
35 # If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
36 #
37 do_rcshutdown=YES
38
39 # Additional flags to the rcorder(8) that's run by /etc/rc.shutdown.
40 #
41 rcshutdown_rcorder_flags=""
42
43 # If this is non-blank, use as the number of seconds to run a watchdog
44 # timer which will terminate /etc/rc.shutdown if the timeout expires.
45 #
46 rcshutdown_timeout=""
47
48
49 # Basic network configuration
50 #
51
52 # Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
53 # If blank, use /etc/myname.
54 #
55 hostname=""
56
57 # If there's only one way out of your network, set this to the hostname
58 # or the IP address of the router that will get your packets off the LAN.
59 # If blank, use /etc/mygate.
60 #
61 defaultroute=""
62
63 # The NIS domain name (formerly known as Yellow Pages); not in any way
64 # related to Internet domain names.
65 # If blank, use /etc/defaultdomain.
66 #
67 domainname=""
68
69 # Filesystems to mount early in boot-up.
70 # Note that `/var' is needed in $critical_filesystems_local (or
71 # implied as part of `/') as certain services that need /var (such as
72 # dhclient) may be needed to get the network operational enough to mount
73 # the $critical_filesystems_remote.
74 #
75 critical_filesystems_local="/var"
76 critical_filesystems_remote="/usr"
77
78 # Swap device controls.
79 #
80 no_swap=NO # Set to YES if you have purposefully setup no swap
81 # partitions and don't want to be warned about it.
82 swapoff=NO # Remove block-type swap partitions upon shutdown
83
84 # Concatenated disk driver.
85 #
86 ccd=YES
87
88 # Crypto file system.
89 #
90 cgd=YES
91
92 # One-time actions and programs on boot-up.
93 #
94 lkm=NO # Run /etc/rc.lkm. /usr needs to be part of /, or
95 # part of critical_filesystems_local.
96
97 savecore=YES savecore_flags="-z"
98 clear_tmp=YES # clear /tmp after reboot
99 update_motd=YES # updates /etc/motd
100 dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
101 accounting=NO # uses /var/account/acct
102 newsyslog=NO newsyslog_flags="" # trim log files
103
104 # NOTE: default coredump name now set in /etc/sysctl.conf
105
106 # Security setting. If $securelevel is non-empty, the system securelevel
107 # is set to this value early in the boot sequence. Otherwise the default
108 # action is taken (see init(8)).
109 #
110 securelevel="" # securelevel to set to
111
112 # To set the IP address of an interface either use
113 # ifconfig_xxN="IP-NO"
114 # where xxN is the interface. If this variable is not set then
115 # contents of the file /etc/ifconfig.xxN is used.
116
117 # Networking startup.
118 #
119 ipfilter=NO # uses /etc/ipf.conf
120 ipnat=NO # uses /etc/ipnat.conf
121 ipfs=NO ipfs_flags="" # save/load ipnat and ipf states
122 ipsec=NO # uses /etc/ipsec.conf
123 ipmon=NO ipmon_flags="-ns" # syslog ipfilter messages
124 racoon=NO # IKE daemon
125 auto_ifconfig=YES # config all avail. interfaces
126 net_interfaces="" # used only if above is NO
127 flushroutes=YES # flush routes in netstart
128 dhclient=NO # behave as a DHCP client
129 dhclient_flags="" # blank: config all interfaces
130 ntpdate=NO ntpdate_flags="-b -s" # May need '-u' thru firewall
131 ppp_peers="" # /etc/ppp/peers to call
132 ip6mode=host # host, autohost or router
133 ip6sitelocal=NO # IPv6 sitelocal addrs
134 rtsol=NO rtsol_flags="-a" # for ip6mode=autohost only
135
136 # Special treatment for interfaces that need to be downed on
137 # shutdown (because they might cause unecessary costs or block resources
138 # on the peer). All pppoe* interfaces are automatically included in this
139 # list, add others here manually.
140 #force_down_interfaces=""
141
142 ifwatchd=NO # execute up/down scripts for in-kernel PPPoE interfaces
143 ifwatchd_flags="-u /etc/ppp/ip-up -d /etc/ppp/ip-down pppoe0"
144
145 # ALTQ configuration/monitoring daemon
146 altqd=NO altqd_flags=""
147
148 # Daemons required by servers. These are not needed for strictly client use.
149 #
150
151 # inetd is used to start the IP-based services enabled in /etc/inetd.conf
152 #
153 inetd=YES inetd_flags="-l" # -l logs libwrap
154
155 # rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
156 #
157 rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
158
159 # Commonly used daemons.
160 #
161 syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
162 cron=YES
163 named=NO named_flags="" # see below for named_chrootdir
164 timed=NO timed_flags=""
165 ntpd=NO ntpd_flags="" # see below for ntpd_chrootdir
166 sendmail=NO sendmail_flags="-bd -q30m"
167 postfix=NO
168 lpd=NO lpd_flags="-s" # -s "secure" unix domain only
169 sshd=NO sshd_flags=""
170
171 # To run the named(8) DNS server as an unprivileged user under a
172 # chroot(2) cage, uncomment the following after migrating the contents
173 # of /etc/namedb to /var/chroot/named/etc/namedb
174 #
175 #named_chrootdir="/var/chroot/named"
176
177 # To run the ntpd(8) NTP server as an unprivileged user under a
178 # chroot(2) cage, uncomment the following, after ensuring that:
179 # - The kernel has "pseudo-device clockctl" compiled in
180 # - /dev/clockctl is present
181 #
182 #ntpd_chrootdir="/var/chroot/ntpd"
183
184 # Routing daemons.
185 #
186 routed=NO routed_flags="-q"
187 gated=NO
188 mrouted=NO mrouted_flags=""
189 route6d=NO route6d_flags=""
190 rtsold=NO rtsold_flags="" # for ip6mode=autohost only
191
192 # Daemons used to boot other hosts over a network.
193 #
194 rarpd=NO rarpd_flags="-a"
195 bootparamd=NO bootparamd_flags=""
196 dhcpd=NO dhcpd_flags="-q"
197 dhcrelay=NO dhcrelay_flags=""
198 rbootd=NO rbootd_flags=""
199 mopd=NO mopd_flags="-a"
200 ndbootd=NO ndbootd_flags="-s /tftpboot /tftpboot/bootyy"
201 rtadvd=NO rtadvd_flags=""
202
203 # X11 daemons.
204 #
205 xfs=NO xfs_flags="" # X11 font server
206 xdm=NO xdm_flags="" # X11 display manager; needs
207 # wscons=YES for local displays.
208
209 # YP (NIS) daemons.
210 #
211 ypbind=NO ypbind_flags=""
212 ypserv=NO ypserv_flags="-d"
213 yppasswdd=NO yppasswdd_flags=""
214
215 # NFS daemons and parameters.
216 #
217 mountd=NO mountd_flags="" # NFS mount requests daemon
218 nfs_client=NO # enable client daemons
219 nfs_server=NO # enable server daemons
220 nfsd_flags="-6tun 4"
221 lockd=NO lockd_flags=""
222 statd=NO statd_flags=""
223 amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
224 amd_dir=/amd # mount dir
225
226 # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
227 kdc=NO kdc_flags=""
228
229 # ISDN daemon
230 isdnd=NO isdnd_flags=""
231
232 # Other daemons.
233 #
234 rwhod=NO
235
236 # Hardware daemons.
237 #
238 apmd=NO apmd_flags="" # APM power management daemon.
239 poffd=NO # x68k power switch monitor
240 poffd_flags="'shutdown -p now'"
241 screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
242
243 moused=NO # serial mouse handler
244 moused_flags="-p /dev/tty00"
245
246 wdogctl=NO # watchdog timer control
247 # wdogctl_flags="-k devicename"
248
249 # Configuration of "wscons" console driver virtual screens.
250 #
251 wscons=NO wscons_flags="" # setup wscons from wscons.conf
252
253 # Configuration of "wsmoused" console driver cut-n-paste support
254 #
255 wsmoused=NO wsmoused_flags=""
256
257 # Configuration of "tpctl" touch panel calibration utility
258 #
259 tpctl=NO tpctl_flags=""
260
261 # Mixer setting
262 #
263 mixerctl=NO mixerctl_mixers="" # "mixer0 mixer1" means saving
264 # and restoring their settings
265