]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/defaults/rc.conf
The alternative suggested for /entropy as a shutdown
[FreeBSD/FreeBSD.git] / etc / defaults / rc.conf
1 #!/bin/sh
2
3 # This is rc.conf - a file full of useful variables that you can set
4 # to change the default startup behavior of your system.  You should
5 # not edit this file!  Put any overrides into one of the ${rc_conf_files}
6 # instead and you will be able to update these defaults later without
7 # spamming your local configuration information.
8 #
9 # The ${rc_conf_files} files should only contain values which override
10 # values set in this file.  This eases the upgrade path when defaults
11 # are changed and new features are added.
12 #
13 # All arguments must be in double or single quotes.
14 #
15 # For a more detailed explanation of all the rc.conf variables, please
16 # refer to the rc.conf(5) manual page.
17 #
18 # $FreeBSD$
19
20 ##############################################################
21 ###  Important initial Boot-time options  ####################
22 ##############################################################
23
24 rc_debug="NO"           # Set to YES to enable debugging output from rc.d
25 rc_info="NO"            # Enables display of informational messages at boot.
26 rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown
27 swapfile="NO"           # Set to name of swapfile if aux swapfile desired.
28 apm_enable="NO"         # Set to YES to enable APM BIOS functions (or NO).
29 apmd_enable="NO"        # Run apmd to handle APM event from userland.
30 apmd_flags=""           # Flags to apmd (if enabled).
31 devd_enable="YES"       # Run devd, to trigger programs on device tree changes.
32 kldxref_enable="NO"     # Build linker.hints files with kldxref(8).
33 kldxref_clobber="NO"    # Overwrite old linker.hints at boot.
34 kldxref_module_path=""  # Override kern.module_path. A ';'-delimited list.
35 pccard_enable="NO"      # Set to YES if you want to configure PCCARD devices.
36 pccard_mem="DEFAULT"    # If pccard_enable=YES, this is card memory address.
37 pccard_beep="2"         # pccard beep type.
38 pccard_ifconfig="NO"    # Specialized pccard ethernet configuration (or NO).
39 pccardd_flags="-z"      # Additional flags for pccardd.
40 pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file
41 pccard_ether_delay="5"  # Delay before trying to start dhclient in pccard_ether
42 powerd_enable="NO"      # Run powerd to lower our power usage.
43 powerd_flags=""         # Flags to powerd (if enabled).
44 removable_interfaces="" # Removable network interfaces for /etc/pccard_ether.
45 tmpmfs="AUTO"           # Set to YES to always create an mfs /tmp, NO to never
46 tmpsize="20m"           # Size of mfs /tmp if created
47 tmpmfs_flags="-S"       # Extra mdmfs options for the mfs /tmp
48 varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
49 varsize="32m"           # Size of mfs /var if created
50 varmfs_flags="-S"       # Extra mount options for the mfs /var
51 populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
52 local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
53 script_name_sep=" "     # Change if your startup scripts' names contain spaces
54 rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
55
56 # Experimental - test before enabling
57 gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
58 gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
59 gbde_attach_attempts="3" # Number of times to attempt attaching gbde devices
60 gbde_lockdir="/etc"     # Where to look for gbde lockfiles
61 gbde_swap_enable="NO"   # Set to YES to automatically initialize gbde swap
62                         # devices listed in fstab with a random one-shot key
63
64 root_rw_mount="YES"     # Set to NO to inhibit remounting root read-write.
65 fsck_y_enable="NO"      # Set to YES to do fsck -y if the initial preen fails.
66 background_fsck="YES"   # Attempt to run fsck in the background where possible.
67 background_fsck_delay="60" # Time to wait (seconds) before starting the fsck.
68 netfs_types="nfs:NFS nfs4:NFS4 smbfs:SMB portalfs:PORTAL nwfs:NWFS" # Net filesystems.
69 extra_netfs_types="NO"  # List of network extra filesystem types for delayed
70                         # mount at startup (or NO).
71
72 ##############################################################
73 ###  Network configuration sub-section  ######################
74 ##############################################################
75
76 ### Basic network and firewall/security options: ###
77 hostname=""                     # Set this!
78 nisdomainname="NO"              # Set to NIS domain if using NIS (or NO).
79 dhclient_program="/sbin/dhclient"       # Path to dhcp client program.
80 dhclient_flags=""               # Additional flags to pass to dhcp client.
81 background_dhclient="NO"        # Start dhcp client in the background.
82 firewall_enable="NO"            # Set to YES to enable firewall functionality
83 firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
84 firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
85 firewall_quiet="NO"             # Set to YES to suppress rule display
86 firewall_logging="NO"           # Set to YES to enable events logging
87 firewall_flags=""               # Flags passed to ipfw when type is a file
88 ip_portrange_first="NO"         # Set first dynamically allocated port
89 ip_portrange_last="NO"          # Set last dynamically allocated port
90 ike_enable="NO"                 # Enable IKE daemon (usually racoon or isakmpd)
91 ike_program="/usr/local/sbin/isakmpd"   # Path to IKE daemon
92 ike_flags=""                    # Additional flags for IKE daemon
93 ipsec_enable="NO"               # Set to YES to run setkey on ipsec_file
94 ipsec_file="/etc/ipsec.conf"    # Name of config file for setkey
95 natd_program="/sbin/natd"       # path to natd, if you want a different one.
96 natd_enable="NO"                # Enable natd (if firewall_enable == YES).
97 natd_interface=""               # Public interface or IPaddress to use.
98 natd_flags=""                   # Additional flags for natd.
99 ipfilter_enable="NO"            # Set to YES to enable ipfilter functionality
100 ipfilter_program="/sbin/ipf"    # where the ipfilter program lives
101 ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see
102                                 # /usr/src/contrib/ipfilter/rules for examples
103 ipfilter_flags=""               # additional flags for ipfilter
104 ipnat_enable="NO"               # Set to YES to enable ipnat functionality
105 ipnat_program="/sbin/ipnat"     # where the ipnat program lives
106 ipnat_rules="/etc/ipnat.rules"  # rules definition file for ipnat
107 ipnat_flags=""                  # additional flags for ipnat
108 ipmon_enable="NO"               # Set to YES for ipmon; needs ipfilter or ipnat
109 ipmon_program="/sbin/ipmon"     # where the ipfilter monitor program lives
110 ipmon_flags="-Ds"               # typically "-Ds" or "-D /var/log/ipflog"
111 ipfs_enable="NO"                # Set to YES to enable saving and restoring
112                                 # of state tables at shutdown and boot
113 ipfs_program="/sbin/ipfs"       # where the ipfs program lives
114 ipfs_flags=""                   # additional flags for ipfs
115 pf_enable="NO"                  # Set to YES to enable packet filter (pf)
116 pf_rules="/etc/pf.conf"         # rules definition file for pf
117 pf_program="/sbin/pfctl"        # where the pfctl program lives
118 pf_flags=""                     # additional flags for pfctl
119 pflog_enable="NO"               # Set to YES to enable packet filter logging
120 pflog_logfile="/var/log/pflog"  # where pflogd should store the logfile
121 pflog_program="/sbin/pflogd"    # where the pflogd program lives
122 pflog_flags=""                  # additional flags for pflogd
123 tcp_extensions="YES"            # Set to NO to turn off RFC1323 extensions.
124 log_in_vain="0"                 # >=1 to log connects to ports w/o listeners.
125 tcp_keepalive="YES"             # Enable stale TCP connection timeout (or NO).
126 # For the following option you need to have TCP_DROP_SYNFIN set in your
127 # kernel.  Please refer to LINT and NOTES for details.
128 tcp_drop_synfin="NO"            # Set to YES to drop TCP packets with SYN+FIN
129                                 # NOTE: this violates the TCP specification
130 icmp_drop_redirect="NO"         # Set to YES to ignore ICMP REDIRECT packets
131 icmp_log_redirect="NO"          # Set to YES to log ICMP REDIRECT packets
132 network_interfaces="auto"       # List of network interfaces (or "auto").
133 cloned_interfaces=""            # List of cloned network interfaces to create.
134 #cloned_interfaces="gif0 gif1 gif2 gif3" # Pre-cloning GENERIC config.
135 ifconfig_lo0="inet 127.0.0.1"   # default loopback device configuration.
136 #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
137 #ifconfig_ed0_ipx="ipx 0x00010010"      # Sample IPX address family entry.
138 #ifconfig_fxp0_name="net0"      # Change interface name from fxp0 to net0.
139 #
140 # If you have any sppp(4) interfaces above, you might also want to set
141 # the following parameters.  Refer to spppcontrol(8) for their meaning.
142 sppp_interfaces=""              # List of sppp interfaces.
143 #sppp_interfaces="isp0"         # example: sppp over ISDN
144 #spppconfig_isp0="authproto=chap myauthname=foo myauthsecret='top secret' hisauthname=some-gw hisauthsecret='another secret'"
145 gif_interfaces="NO"             # List of GIF tunnels (or "NO").
146 #gif_interfaces="gif0 gif1"     # Examples typically for a router.
147                                 # Choose correct tunnel addrs.
148 #gifconfig_gif0="10.1.1.1 10.1.2.1"     # Examples typically for a router.
149 #gifconfig_gif1="10.1.1.2 10.1.2.2"     # Examples typically for a router.
150
151 # User ppp configuration.
152 ppp_enable="NO"         # Start user-ppp (or NO).
153 ppp_program="/usr/sbin/ppp"     # Path to user-ppp program.
154 ppp_mode="auto"         # Choice of "auto", "ddial", "direct" or "dedicated".
155                         # For details see man page for ppp(8). Default is auto.
156 ppp_nat="YES"           # Use PPP's internal network address translation or NO.
157 ppp_profile="papchap"   # Which profile to use from /etc/ppp/ppp.conf.
158 ppp_user="root"         # Which user to run ppp as
159
160 ### Network daemon (miscellaneous) ###
161 syslogd_enable="YES"            # Run syslog daemon (or NO).
162 syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a different one.
163 syslogd_flags="-s"              # Flags to syslogd (if enabled).
164 inetd_enable="NO"               # Run the network daemon dispatcher (YES/NO).
165 inetd_program="/usr/sbin/inetd" # path to inetd, if you want a different one.
166 inetd_flags="-wW -C 60"         # Optional flags to inetd
167 #
168 # named.  It may be possible to run named in a sandbox, man security for
169 # details.
170 #
171 named_enable="NO"               # Run named, the DNS server (or NO).
172 named_program="/usr/sbin/named" # path to named, if you want a different one.
173 named_flags="-u bind"           # Flags for named
174 named_pidfile="/var/run/named/pid" # Must set this in named.conf as well
175 named_chrootdir="/var/named"    # Chroot directory (or "" not to auto-chroot it)
176 named_chroot_autoupdate="YES"   # Automatically install/update chrooted
177                                 # components of named. See /etc/rc.d/named.
178 named_symlink_enable="YES"      # Symlink the chrooted pid file
179
180 #
181 # kerberos. Do not run the admin daemons on slave servers
182 #
183 kerberos5_server_enable="NO"    # Run a kerberos 5 master server (or NO).
184 kerberos5_server="/usr/libexec/kdc"     # path to kerberos 5 KDC
185 kadmind5_server_enable="NO"     # Run kadmind (or NO)
186 kadmind5_server="/usr/libexec/kadmind"  # path to kerberos 5 admin daemon
187 kpasswdd_server_enable="NO"     # Run kpasswdd (or NO)
188 kpasswdd_server="/usr/libexec/kpasswdd" # path to kerberos 5 passwd daemon
189
190 rwhod_enable="NO"               # Run the rwho daemon (or NO).
191 rwhod_flags=""                  # Flags for rwhod
192 rarpd_enable="NO"               # Run rarpd (or NO).
193 rarpd_flags=""                  # Flags to rarpd.
194 bootparamd_enable="NO"          # Run bootparamd (or NO).
195 bootparamd_flags=""             # Flags to bootparamd
196 pppoed_enable="NO"              # Run the PPP over Ethernet daemon.
197 pppoed_provider="*"             # Provider and ppp(8) config file entry.
198 pppoed_flags="-P /var/run/pppoed.pid"   # Flags to pppoed (if enabled).
199 pppoed_interface="fxp0"         # The interface that pppoed runs on.
200 sshd_enable="NO"                # Enable sshd
201 sshd_program="/usr/sbin/sshd"   # path to sshd, if you want a different one.
202 sshd_flags=""                   # Additional flags for sshd.
203
204 ### Network daemon (NFS): All need rpcbind_enable="YES" ###
205 amd_enable="NO"                 # Run amd service with $amd_flags (or NO).
206 amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map"
207 amd_map_program="NO"            # Can be set to "ypcat -k amd.master"
208 nfs_client_enable="NO"          # This host is an NFS client (or NO).
209 nfs_access_cache="2"            # Client cache timeout in seconds
210 nfs_server_enable="NO"          # This host is an NFS server (or NO).
211 nfs_server_flags="-u -t -n 4"   # Flags to nfsd (if enabled).
212 mountd_enable="NO"              # Run mountd (or NO).
213 mountd_flags="-r"               # Flags to mountd (if NFS server enabled).
214 weak_mountd_authentication="NO" # Allow non-root mount requests to be served.
215 nfs_reserved_port_only="NO"     # Provide NFS only on secure port (or NO).
216 nfs_bufpackets=""               # bufspace (in packets) for client
217 rpc_lockd_enable="NO"           # Run NFS rpc.lockd needed for client/server.
218 rpc_statd_enable="NO"           # Run NFS rpc.statd needed for client/server.
219 rpcbind_enable="NO"             # Run the portmapper service (YES/NO).
220 rpcbind_program="/usr/sbin/rpcbind"     # path to rpcbind, if you want a different one.
221 rpcbind_flags=""                # Flags to rpcbind (if enabled).
222 rpc_ypupdated_enable="NO"       # Run if NIS master and SecureRPC (or NO).
223 keyserv_enable="NO"             # Run the SecureRPC keyserver (or NO).
224 keyserv_flags=""                # Flags to keyserv (if enabled).
225
226 ### Network Time Services options: ###
227 timed_enable="NO"               # Run the time daemon (or NO).
228 timed_flags=""                  # Flags to timed (if enabled).
229 ntpdate_enable="NO"             # Run ntpdate to sync time on boot (or NO).
230 ntpdate_program="/usr/sbin/ntpdate"     # path to ntpdate, if you want a different one.
231 ntpdate_flags="-b"              # Flags to ntpdate (if enabled).
232 ntpd_enable="NO"                # Run ntpd Network Time Protocol (or NO).
233 ntpd_program="/usr/sbin/ntpd"   # path to ntpd, if you want a different one.
234 ntpd_sync_on_start="NO"         # Sync time on ntpd startup, even if offset is high
235 ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
236                                 # Flags to ntpd (if enabled).
237
238 # Network Information Services (NIS) options: All need rpcbind_enable="YES" ###
239 nis_client_enable="NO"          # We're an NIS client (or NO).
240 nis_client_flags=""             # Flags to ypbind (if enabled).
241 nis_ypset_enable="NO"           # Run ypset at boot time (or NO).
242 nis_ypset_flags=""              # Flags to ypset (if enabled).
243 nis_server_enable="NO"          # We're an NIS server (or NO).
244 nis_server_flags=""             # Flags to ypserv (if enabled).
245 nis_ypxfrd_enable="NO"          # Run rpc.ypxfrd at boot time (or NO).
246 nis_ypxfrd_flags=""             # Flags to rpc.ypxfrd (if enabled).
247 nis_yppasswdd_enable="NO"       # Run rpc.yppasswdd at boot time (or NO).
248 nis_yppasswdd_flags=""          # Flags to rpc.yppasswdd (if enabled).
249
250 ### Network routing options: ###
251 defaultrouter="NO"              # Set to default gateway (or NO).
252 static_routes=""                # Set to static route list (or leave empty).
253 natm_static_routes=""           # Set to static route list for NATM (or leave empty).
254 gateway_enable="NO"             # Set to YES if this host will be a gateway.
255 router_enable="NO"              # Set to YES to enable a routing daemon.
256 router="/sbin/routed"           # Name of routing daemon to use if enabled.
257 router_flags="-q"               # Flags for routing daemon.
258 mrouted_enable="NO"             # Do multicast routing (see /etc/mrouted.conf).
259 mrouted_flags=""                # Flags for multicast routing daemon.
260 ipxgateway_enable="NO"          # Set to YES to enable IPX routing.
261 ipxrouted_enable="NO"           # Set to YES to run the IPX routing daemon.
262 ipxrouted_flags=""              # Flags for IPX routing daemon.
263 arpproxy_all="NO"               # replaces obsolete kernel option ARP_PROXYALL.
264 forward_sourceroute="NO"        # do source routing (only if gateway_enable is set to "YES")
265 accept_sourceroute="NO"         # accept source routed packets to us
266
267 ### ATM interface options: ###
268 atm_enable="NO"                 # Configure ATM interfaces (or NO).
269 #atm_netif_hea0="atm 1"         # Network interfaces for physical interface.
270 #atm_sigmgr_hea0="uni31"        # Signalling manager for physical interface.
271 #atm_prefix_hea0="ILMI"         # NSAP prefix (UNI interfaces only) (or ILMI).
272 #atm_macaddr_hea0="NO"          # Override physical MAC address (or NO).
273 #atm_arpserver_atm0="0x47.0005.80.999999.9999.9999.9999.999999999999.00" # ATMARP server address (or local).
274 #atm_scsparp_atm0="NO"          # Run SCSP/ATMARP on network interface (or NO).
275 atm_pvcs=""                     # Set to PVC list (or leave empty).
276 atm_arps=""                     # Set to permanent ARP list (or leave empty).
277
278 ### ISDN interface options: (see also: /usr/share/examples/isdn) ###
279 isdn_enable="NO"                # Enable the ISDN subsystem (or NO).
280 isdn_fsdev="NO"                 # Output device for fullscreen mode (or NO for daemon mode).
281 isdn_flags="-dn -d0x1f9"        # Flags for isdnd
282 isdn_ttype="cons25"             # terminal type for fullscreen mode
283 isdn_screenflags="NO"           # screenflags for ${isdn_fsdev}
284 isdn_trace="NO"                 # Enable the ISDN trace subsystem (or NO).
285 isdn_traceflags="-f /var/tmp/isdntrace0"        # Flags for isdntrace
286
287 ### Miscellaneous network options: ###
288 icmp_bmcastecho="NO"    # respond to broadcast ping packets
289
290 ### IPv6 options: ###
291 ipv6_enable="NO"                # Set to YES to set up for IPv6.
292 ipv6_network_interfaces="auto"  # List of network interfaces (or "auto").
293 ipv6_defaultrouter="NO"         # Set to IPv6 default gateway (or NO).
294 #ipv6_defaultrouter="2002:c058:6301::"  # Use this for 6to4 (RFC 3068)
295 ipv6_static_routes=""           # Set to static route list (or leave empty).
296 #ipv6_static_routes="xxx"       # An example to set fec0:0000:0000:0006::/64
297                                 #  route toward loopback interface.
298 #ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1"
299 ipv6_gateway_enable="NO"        # Set to YES if this host will be a gateway.
300 ipv6_router_enable="NO"         # Set to YES to enable an IPv6 routing daemon.
301 ipv6_router="/usr/sbin/route6d" # Name of IPv6 routing daemon.
302 ipv6_router_flags=""            # Flags to IPv6 routing daemon.
303 #ipv6_router_flags="-l"         # Example for route6d with only IPv6 site local
304                                 # addrs.
305 #ipv6_router_flags="-q"         # If you want to run a routing daemon on an end
306                                 # node, you should stop advertisement.
307 #ipv6_network_interfaces="ed0 ep0"      # Examples for router
308                                         # or static configuration for end node.
309                                         # Choose correct prefix value.
310 #ipv6_prefix_ed0="fec0:0000:0000:0001 fec0:0000:0000:0002"  # Examples for rtr.
311 #ipv6_prefix_ep0="fec0:0000:0000:0003 fec0:0000:0000:0004"  # Examples for rtr.
312 #ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry
313 #ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry.
314 ipv6_default_interface="NO"     # Default output interface for scoped addrs.
315                                 # Now this works only for IPv6 link local
316                                 # multicast addrs.
317 rtsol_flags=""                  # Flags to IPv6 router solicitation.
318 rtadvd_enable="NO"              # Set to YES to enable an IPv6 router
319                                 # advertisement daemon. If set to YES,
320                                 # this router becomes a possible candidate
321                                 # IPv6 default router for local subnets.
322 rtadvd_interfaces=""            # Interfaces rtadvd sends RA packets.
323 mroute6d_enable="NO"            # Do IPv6 multicast routing.
324 mroute6d_program="/usr/local/sbin/pim6dd"       # Name of IPv6 multicast
325                                                 # routing daemon.  You need to
326                                                 # install it from package or
327                                                 # port.
328 mroute6d_flags=""               # Flags to IPv6 multicast routing daemon.
329 stf_interface_ipv4addr=""       # Local IPv4 addr for 6to4 IPv6 over IPv4
330                                 # tunneling interface. Specify this entry
331                                 # to enable 6to4 interface.
332 stf_interface_ipv4plen="0"      # Prefix length for 6to4 IPv4 addr,
333                                 # to limit peer addr range. Effective value
334                                 # is 0-31.
335 stf_interface_ipv6_ifid="0:0:0:1"       # IPv6 interface id for stf0.
336                                 # If you like, you can set "AUTO" for this.
337 stf_interface_ipv6_slaid="0000" # IPv6 Site Level Aggregator for stf0
338 ipv6_faith_prefix="NO"          # Set faith prefix to enable a FAITH
339                                 # IPv6-to-IPv4 TCP translator.  You also need
340                                 # faithd(8) setup.
341 ipv6_ipv4mapping="NO"           # Set to "YES" to enable IPv4 mapped IPv6 addr
342                                 # communication. (like ::ffff:a.b.c.d)
343 ipv6_firewall_enable="NO"       # Set to YES to enable IPv6 firewall
344                                 # functionality
345 ipv6_firewall_script="/etc/rc.firewall6" # Which script to run to set up the IPv6 firewall
346 ipv6_firewall_type="UNKNOWN"    # IPv6 Firewall type (see /etc/rc.firewall6)
347 ipv6_firewall_quiet="NO"        # Set to YES to suppress rule display
348 ipv6_firewall_logging="NO"      # Set to YES to enable events logging
349 ipv6_firewall_flags=""          # Flags passed to ip6fw when type is a file
350 ipv6_ipfilter_rules="/etc/ipf6.rules"   # rules definition file for ipfilter,
351                                         # see /usr/src/contrib/ipfilter/rules
352                                         # for examples
353 ip6addrctl_enable="NO"  # Set to YES to enable default address selection
354 ip6addrctl_verbose="NO" # Set to YES to enable verbose configuration messages
355
356 ##############################################################
357 ###  System console options  #################################
358 ##############################################################
359
360 keyboard=""             # keyboard device to use (default /dev/kbd0).
361 keymap="NO"             # keymap in /usr/share/syscons/keymaps/* (or NO).
362 keyrate="NO"            # keyboard rate to: slow, normal, fast (or NO).
363 keybell="NO"            # See kbdcontrol(1) for options.  Use "off" to disable.
364 keychange="NO"          # function keys default values (or NO).
365 cursor="NO"             # cursor type {normal|blink|destructive} (or NO).
366 scrnmap="NO"            # screen map in /usr/share/syscons/scrnmaps/* (or NO).
367 font8x16="NO"           # font 8x16 from /usr/share/syscons/fonts/* (or NO).
368 font8x14="NO"           # font 8x14 from /usr/share/syscons/fonts/* (or NO).
369 font8x8="NO"            # font 8x8 from /usr/share/syscons/fonts/* (or NO).
370 blanktime="300"         # blank time (in seconds) or "NO" to turn it off.
371 saver="NO"              # screen saver: Uses /boot/kernel/${saver}_saver.ko
372 moused_nondefault_enable="YES" # Treat non-default mice as enabled unless
373                                # specifically overriden in rc.conf(5).
374 moused_enable="NO"      # Run the mouse daemon.
375 moused_type="auto"      # See man page for rc.conf(5) for available settings.
376 moused_port="/dev/psm0" # Set to your mouse port.
377 moused_flags=""         # Any additional flags to moused.
378 mousechar_start="NO"    # if 0xd0-0xd3 default range is occupied in your
379                         # language code table, specify alternative range
380                         # start like mousechar_start=3, see vidcontrol(1)
381 allscreens_flags=""     # Set this vidcontrol mode for all virtual screens
382 allscreens_kbdflags=""  # Set this kbdcontrol mode for all virtual screens
383
384
385 ##############################################################
386 ###  pcvt console driver options  ############################
387 ##############################################################
388
389 pcvt_verbose="NO"       # set to YES to enable verbose configuration messages
390 pcvt_keymap="NO"        # keyboard map in /usr/share/misc/keycap.pcvt (or NO).
391 pcvt_keydel="NO"        # key repeat delay, 0-3 (250,500,750,1000 msec) (or NO).
392 pcvt_keyrate="NO"       # keyboard repetition rate 31-0 (2-30 char/sec) (or NO).
393 pcvt_keyrepeat="NO"     # keyboard repeat ON or OFF (or NO).
394 pcvt_force24="NO"       # force a 24 line display (when 25 possible) (or NO).
395 pcvt_hpext="NO"         # use HP extensions (function keys labels) (or NO).
396 pcvt_lines="NO"         # lines (25, 28, 40, 50 or NO).
397 pcvt_blanktime="NO"     # blank time (in seconds) (or NO).
398 pcvt_cursorh="NO"       # cursor top scanline (topmost line is 0) (or NO).
399 pcvt_cursorl="NO"       # cursor low scanline (bottom line is 16) (or NO).
400 pcvt_monohigh="NO"      # set intensity to high on monochrome monitors (or NO).
401
402
403 ##############################################################
404 ###  Mail Transfer Agent (MTA) options  ######################
405 ##############################################################
406
407 mta_start_script="/etc/rc.sendmail"
408                         # Script to start your chosen MTA, called by /etc/rc.
409 # Settings for /etc/rc.sendmail and /etc/rc.d/sendmail:
410 sendmail_enable="NO"    # Run the sendmail inbound daemon (YES/NO).
411 sendmail_pidfile="/var/run/sendmail.pid"        # sendmail pid file
412 sendmail_procname="/usr/sbin/sendmail"          # sendmail process name
413 sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server)
414 sendmail_submit_enable="YES"    # Start a localhost-only MTA for mail submission
415 sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"
416                                 # Flags for localhost-only MTA
417 sendmail_outbound_enable="YES"  # Dequeue stuck mail (YES/NO).
418 sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only)
419 sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO).
420 sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m"
421                                 # Flags for sendmail_msp_queue daemon.
422
423
424 ##############################################################
425 ###  Miscellaneous administrative options  ###################
426 ##############################################################
427
428 cron_enable="YES"       # Run the periodic job daemon.
429 cron_program="/usr/sbin/cron"   # Which cron executable to run (if enabled).
430 cron_dst="YES"          # Handle DST transitions intelligently (YES/NO)
431 cron_flags=""           # Which options to pass to the cron daemon.
432 lpd_enable="NO"         # Run the line printer daemon.
433 lpd_program="/usr/sbin/lpd"     # path to lpd, if you want a different one.
434 lpd_flags=""            # Flags to lpd (if enabled).
435 chkprintcap_enable="NO" # Run chkprintcap(8) before running lpd.
436 chkprintcap_flags="-d"  # Create missing directories by default.
437 usbd_enable="NO"        # Run the usbd daemon.
438 usbd_flags=""           # Flags to usbd (if enabled).
439 dumpdev="NO"            # Device name to crashdump to (or NO).
440 dumpdir="/var/crash"    # Directory where crash dumps are to be stored
441 savecore_flags=""       # Used if dumpdev is enabled above, and present.
442 enable_quotas="NO"      # turn on quotas on startup (or NO).
443 check_quotas="YES"      # Check quotas on startup (or NO).
444 accounting_enable="NO"  # Turn on process accounting (or NO).
445 ibcs2_enable="NO"       # Ibcs2 (SCO) emulation loaded at startup (or NO).
446 ibcs2_loaders="coff"    # List of additional Ibcs2 loaders (or NO).
447 sysvipc_enable="NO"     # Load System V IPC primitives at startup (or NO).
448 linux_enable="NO"       # Linux binary compatibility loaded at startup (or NO).
449 svr4_enable="NO"        # SysVR4 emulation loaded at startup (or NO).
450 osf1_enable="NO"        # Alpha OSF/1 emulation loaded at startup (or NO).
451 clear_tmp_enable="NO"   # Clear /tmp at startup.
452 ldconfig_insecure="NO"  # Set to YES to disable ldconfig security checks
453 ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg"
454                         # shared library search paths
455 ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout"
456                         # a.out shared library search paths
457 kern_securelevel_enable="NO"    # kernel security level (see init(8)),
458 kern_securelevel="-1"   # range: -1..3 ; `-1' is the most insecure
459 update_motd="YES"       # update version info in /etc/motd (or NO)
460 unaligned_print="YES"   # print unaligned access warnings on the alpha (or NO).
461 entropy_file="/entropy" # Set to NO to disable caching entropy through reboots.
462                         # /var/db/entropy-file is preferred if / is not avail.
463 entropy_dir="/var/db/entropy" # Set to NO to disable caching entropy via cron.
464 entropy_save_sz="2048"  # Size of the entropy cache files.
465 entropy_save_num="8"    # Number of entropy cache files to save.
466 harvest_interrupt="YES" # Entropy device harvests interrupt randomness
467 harvest_ethernet="YES"  # Entropy device harvests ethernet randomness
468 harvest_p_to_p="YES"    # Entropy device harvests point-to-point randomness
469 dmesg_enable="YES"      # Save dmesg(8) to /var/run/dmesg.boot
470 watchdogd_enable="NO"   # Start the software watchdog daemon
471 devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules" # Files containing
472                                                             # devfs(8) rules.
473 devfs_system_ruleset="" # The name of a ruleset to apply to /dev
474 devfs_set_rulesets=""   # A list of /mount/dev=ruleset_name settings to
475                         # apply (must be mounted already, i.e. fstab(5))
476 performance_cx_lowest="HIGH"            # Online CPU idle state
477 performance_cpu_freq="NONE"             # Online CPU frequency
478 economy_cx_lowest="HIGH"                # Offline CPU idle state
479 economy_cpu_freq="NONE"                 # Offline CPU frequency
480 virecover_enable="YES"  # Perform housekeeping for the vi(1) editor
481 ugidfw_enable="NO"      # Load mac_bsdextended(4) rules on boot
482 bsdextended_script="/etc/rc.bsdextended"        # Default mac_bsdextended(4)
483                                                 # ruleset file.
484 newsyslog_enable="YES"  # Run newsyslog at startup.
485 newsyslog_flags="-CN"   # Newsyslog flags to create marked files
486
487 ##############################################################
488 ### Jail Configuration #######################################
489 ##############################################################
490 jail_enable="NO"        # Set to NO to disable starting of any jails
491 jail_list=""            # Space separated list of names of jails
492 jail_set_hostname_allow="YES" # Allow root user in a jail to change its hostname
493 jail_socket_unixiproute_only="YES" # Route only TCP/IP within a jail
494 jail_sysvipc_allow="NO" # Allow SystemV IPC use from within a jail
495
496 #
497 # To use rc's built-in jail infrastructure create entries for
498 # each jail, specified in jail_list, with the following variables.
499 # NOTE: replace 'example' with the jail's name.
500 #
501 #jail_example_rootdir="/usr/jail/default"       # Jail's root directory
502 #jail_example_hostname="default.domain.com"     # Jail's hostname
503 #jail_example_ip="192.168.0.10"                 # Jail's IP number
504 #jail_example_exec_start="/bin/sh /etc/rc"              # command to execute in jail for starting
505 #jail_example_exec_stop="/bin/sh /etc/rc.shutdown"      # command to execute in jail for stopping
506 #jail_example_devfs_enable="NO"                 # mount devfs in the jail
507 #jail_example_fdescfs_enable="NO"               # mount fdescfs in the jail
508 #jail_example_procfs_enable="NO"                # mount procfs in jail
509 #jail_example_mount_enable="NO"                 # mount/umount jail's fs
510 #jail_example_devfs_ruleset="ruleset_name"      # devfs ruleset to apply to jail
511 #jail_example_fstab=""                          # fstab(5) for mount/umount
512
513 ##############################################################
514 ### Define source_rc_confs, the mechanism used by /etc/rc.* ##
515 ### scripts to source rc_conf_files overrides safely.       ##
516 ##############################################################
517
518 if [ -z "${source_rc_confs_defined}" ]; then
519         source_rc_confs_defined=yes
520         source_rc_confs () {
521                 local i sourced_files
522                 for i in ${rc_conf_files}; do
523                         case ${sourced_files} in
524                         *:$i:*)
525                                 ;;
526                         *)
527                                 sourced_files="${sourced_files}:$i:"
528                                 if [ -r $i ]; then
529                                         . $i
530                                 fi
531                                 ;;
532                         esac
533                 done
534         }
535 fi