rc.conf revision 100279
1#!/bin/sh 2# 3 4# This is rc.conf - a file full of useful variables that you can set 5# to change the default startup behavior of your system. You should 6# not edit this file! Put any overrides into one of the ${rc_conf_files} 7# instead and you will be able to update these defaults later without 8# spamming your local configuration information. 9# 10# The ${rc_conf_files} files should only contain values which override 11# values set in this file. This eases the upgrade path when defaults 12# are changed and new features are added. 13# 14# All arguments must be in double or single quotes. 15# 16# $FreeBSD: head/etc/defaults/rc.conf 100279 2002-07-18 05:00:16Z ume $ 17 18############################################################## 19### Important initial Boot-time options #################### 20############################################################## 21 22rc_ng="NO" # Set to YES to enable new-style rc. Experimental. 23rc_info="YES" # Enables display of informational messages at boot. 24rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown 25swapfile="NO" # Set to name of swapfile if aux swapfile desired. 26apm_enable="NO" # Set to YES to enable APM BIOS functions (or NO). 27apmd_enable="NO" # Run apmd to handle APM event from userland. 28apmd_flags="" # Flags to apmd (if enabled). 29pccard_enable="NO" # Set to YES if you want to configure PCCARD devices. 30pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address. 31pccard_beep="2" # pccard beep type. 32pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO). 33pccardd_flags="" # Additional flags for pccardd. 34pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file 35pccard_ether_delay="5" # Delay before trying to start dhclient in pccard_ether 36removable_interfaces="" # Removable network interfaces for /etc/pccard_ether. 37local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. 38script_name_sep=" " # Change if your startup scripts' names contain spaces 39rc_conf_files="/etc/rc.conf /etc/rc.conf.local" 40fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails. 41background_fsck="YES" # Attempt to run fsck in the background where possible. 42extra_netfs_types="NO" # List of network extra filesystem types for delayed 43 # mount at startup (or NO). 44 45############################################################## 46### Network configuration sub-section ###################### 47############################################################## 48 49### Basic network and firewall/security options: ### 50hostname="" # Set this! 51nisdomainname="NO" # Set to NIS domain if using NIS (or NO). 52dhcp_program="/sbin/dhclient" # Path to dhcp client program. 53dhcp_flags="" # Additional flags to pass to dhcp client. 54firewall_enable="NO" # Set to YES to enable firewall functionality 55firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall 56firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall) 57firewall_quiet="NO" # Set to YES to suppress rule display 58firewall_logging="NO" # Set to YES to enable events logging 59firewall_flags="" # Flags passed to ipfw when type is a file 60ip_portrange_first="NO" # Set first dynamically allocated port 61ip_portrange_last="NO" # Set last dynamically allocated port 62ipsec_enable="NO" # Set to YES to run setkey on ipsec_file 63ipsec_file="/etc/ipsec.conf" # Name of config file for setkey 64natd_program="/sbin/natd" # path to natd, if you want a different one. 65natd_enable="NO" # Enable natd (if firewall_enable == YES). 66natd_interface="" # Public interface or IPaddress to use. 67natd_flags="" # Additional flags for natd. 68ipfilter_enable="NO" # Set to YES to enable ipfilter functionality 69ipfilter_program="/sbin/ipf" # where the ipfilter program lives 70ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see 71 # /usr/src/contrib/ipfilter/rules for examples 72ipfilter_flags="" # additional flags for ipfilter 73ipnat_enable="NO" # Set to YES to enable ipnat functionality 74ipnat_program="/sbin/ipnat" # where the ipnat program lives 75ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat 76ipnat_flags="" # additional flags for ipnat 77ipmon_enable="NO" # Set to YES for ipmon; needs ipfilter or ipnat 78ipmon_program="/sbin/ipmon" # where the ipfilter monitor program lives 79ipmon_flags="-Ds" # typically "-Ds" or "-D /var/log/ipflog" 80ipfs_enable="NO" # Set to YES to enable saving and restoring 81 # of state tables at shutdown and boot 82ipfs_program="/sbin/ipfs" # where the ipfs program lives 83ipfs_flags="" # additional flags for ipfs 84tcp_extensions="YES" # Set to NO to turn off RFC1323 extensions. 85log_in_vain="0" # >=1 to log connects to ports w/o listeners. 86tcp_keepalive="YES" # Enable stale TCP connection timeout (or NO). 87# For the following option you need to have TCP_DROP_SYNFIN set in your 88# kernel. Please refer to LINT and NOTES for details. 89tcp_drop_synfin="NO" # Set to YES to drop TCP packets with SYN+FIN 90 # NOTE: this violates the TCP specification 91icmp_drop_redirect="NO" # Set to YES to ignore ICMP REDIRECT packets 92icmp_log_redirect="NO" # Set to YES to log ICMP REDIRECT packets 93network_interfaces="auto" # List of network interfaces (or "auto"). 94cloned_interfaces="" # List of cloned network interfaces to create. 95#cloned_interfaces="gif0 gif1 gif2 gif3" # Pre-cloning GENERIC config. 96ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. 97#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. 98#ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry. 99# 100# If you have any sppp(4) interfaces above, you might also want to set 101# the following parameters. Refer to spppcontrol(8) for their meaning. 102sppp_interfaces="" # List of sppp interfaces. 103#sppp_interfaces="isp0" # example: sppp over ISDN 104#spppconfig_isp0="authproto=chap myauthname=foo myauthsecret='top secret' hisauthname=some-gw hisauthsecret='another secret'" 105gif_interfaces="NO" # List of GIF tunnels (or "NO"). 106#gif_interfaces="gif0 gif1" # Examples typically for a router. 107 # Choose correct tunnel addrs. 108#gifconfig_gif0="10.1.1.1 10.1.2.1" # Examples typically for a router. 109#gifconfig_gif1="10.1.1.2 10.1.2.2" # Examples typically for a router. 110 111# User ppp configuration. 112ppp_enable="NO" # Start user-ppp (or NO). 113ppp_mode="auto" # Choice of "auto", "ddial", "direct" or "dedicated". 114 # For details see man page for ppp(8). Default is auto. 115ppp_nat="YES" # Use PPP's internal network address translation or NO. 116ppp_profile="papchap" # Which profile to use from /etc/ppp/ppp.conf. 117ppp_user="root" # Which user to run ppp as 118 119### Network daemon (miscellaneous) ### 120syslogd_enable="YES" # Run syslog daemon (or NO). 121syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a different one. 122syslogd_flags="-s" # Flags to syslogd (if enabled). 123#syslogd_flags="-ss" # Syslogd flags to not bind an inet socket 124inetd_enable="NO" # Run the network daemon dispatcher (YES/NO). 125inetd_program="/usr/sbin/inetd" # path to inetd, if you want a different one. 126inetd_flags="-wW" # Optional flags to inetd 127# 128# named. It may be possible to run named in a sandbox, man security for 129# details. 130# 131named_rcng="NO" # XXX Temporary. Enable to use new rc 132 # functionality in support of named. See 133 # variables below. 134named_enable="NO" # Run named, the DNS server (or NO). 135named_program="/usr/sbin/named" # path to named, if you want a different one. 136named_flags="-u bind -g bind" # Flags for named 137named_chrootdir="" # Chroot directory (or "" not to auto-chroot it) 138named_chroot_autoupdate="YES" # Automatically install/update chrooted 139 # components of named. See /etc/rc.d/named. 140named_symlink_enable="YES" # Symlink /var/run/named.pid and /var/run/ndc 141 # to their chrooted counterparts. 142 143# 144# kerberos. Do not run the admin daemons on slave servers 145# 146kerberos4_server_enable="NO" # Run a kerberos IV master server (or NO). 147kerberos4_server="/usr/sbin/kerberos" # path to kerberos IV KDC 148kadmind4_server_enable="NO" # Run kadmind (or NO) 149kadmind4_server="/usr/sbin/kadmind" # path to kerberos IV admin daemon 150kerberos5_server_enable="NO" # Run a kerberos 5 master server (or NO). 151kerberos5_server="/usr/libexec/kdc" # path to kerberos 5 KDC 152kadmind5_server_enable="NO" # Run kadmind (or NO) 153kadmind5_server="/usr/libexec/k5admind" # path to kerberos 5 admin daemon 154kerberos_stash="NO" # Is the kerberos master key stashed? 155 156rwhod_enable="NO" # Run the rwho daemon (or NO). 157rwhod_flags="" # Flags for rwhod 158rarpd_enable="NO" # Run rarpd (or NO). 159rarpd_flags="" # Flags to rarpd. 160xtend_enable="NO" # Run the X-10 power controller daemon. 161xtend_flags="" # Flags to xtend (if enabled). 162pppoed_enable="NO" # Run the PPP over Ethernet daemon. 163pppoed_provider="*" # Provider and ppp(8) config file entry. 164pppoed_flags="-P /var/run/pppoed.pid" # Flags to pppoed (if enabled). 165pppoed_interface="fxp0" # The interface that pppoed runs on. 166sshd_enable="NO" # Enable sshd 167sshd_program="/usr/sbin/sshd" # path to sshd, if you want a different one. 168sshd_flags="" # Additional flags for sshd. 169 170### Network daemon (NFS): All need portmap_enable="YES" ### 171amd_enable="NO" # Run amd service with $amd_flags (or NO). 172amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map" 173amd_map_program="NO" # Can be set to "ypcat -k amd.master" 174nfs_client_enable="NO" # This host is an NFS client (or NO). 175nfs_access_cache="2" # Client cache timeout in seconds 176nfs_server_enable="NO" # This host is an NFS server (or NO). 177nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled). 178single_mountd_enable="NO" # Run mountd only (or NO). 179mountd_flags="-r" # Flags to mountd (if NFS server enabled). 180weak_mountd_authentication="NO" # Allow non-root mount requests to be served. 181nfs_reserved_port_only="NO" # Provide NFS only on secure port (or NO). 182nfs_bufpackets="DEFAULT" # bufspace (in packets) for client (or DEFAULT) 183rpc_lockd_enable="NO" # Run NFS rpc.lockd needed for client/server. 184rpc_statd_enable="NO" # Run NFS rpc.statd needed for client/server. 185portmap_enable="NO" # Run the portmapper service (YES/NO). 186portmap_program="/usr/sbin/rpcbind" # path to portmap, if you want a different one. 187portmap_flags="" # Flags to portmap (if enabled). 188rpc_ypupdated_enable="NO" # Run if NIS master and SecureRPC (or NO). 189keyserv_enable="NO" # Run the SecureRPC keyserver (or NO). 190keyserv_flags="" # Flags to keyserv (if enabled). 191 192### Network Time Services options: ### 193timed_enable="NO" # Run the time daemon (or NO). 194timed_flags="" # Flags to timed (if enabled). 195ntpdate_enable="NO" # Run ntpdate to sync time on boot (or NO). 196ntpdate_program="/usr/sbin/ntpdate" # path to ntpdate, if you want a different one. 197ntpdate_flags="-b" # Flags to ntpdate (if enabled). 198xntpd_enable="NO" # Run ntpd Network Time Protocol (or NO). 199xntpd_program="/usr/sbin/ntpd" # path to ntpd, if you want a different one. 200xntpd_flags="-p /var/run/ntpd.pid" # Flags to ntpd (if enabled). 201 202# Network Information Services (NIS) options: All need portmap_enable="YES" ### 203nis_client_enable="NO" # We're an NIS client (or NO). 204nis_client_flags="" # Flags to ypbind (if enabled). 205nis_ypset_enable="NO" # Run ypset at boot time (or NO). 206nis_ypset_flags="" # Flags to ypset (if enabled). 207nis_server_enable="NO" # We're an NIS server (or NO). 208nis_server_flags="" # Flags to ypserv (if enabled). 209nis_ypxfrd_enable="NO" # Run rpc.ypxfrd at boot time (or NO). 210nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled). 211nis_yppasswdd_enable="NO" # Run rpc.yppasswdd at boot time (or NO). 212nis_yppasswdd_flags="" # Flags to rpc.yppasswdd (if enabled). 213 214### Network routing options: ### 215defaultrouter="NO" # Set to default gateway (or NO). 216static_routes="" # Set to static route list (or leave empty). 217gateway_enable="NO" # Set to YES if this host will be a gateway. 218router_enable="NO" # Set to YES to enable a routing daemon. 219router="/sbin/routed" # Name of routing daemon to use if enabled. 220router_flags="-q" # Flags for routing daemon. 221mrouted_enable="NO" # Do multicast routing (see /etc/mrouted.conf). 222mrouted_flags="" # Flags for multicast routing daemon. 223ipxgateway_enable="NO" # Set to YES to enable IPX routing. 224ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon. 225ipxrouted_flags="" # Flags for IPX routing daemon. 226arpproxy_all="NO" # replaces obsolete kernel option ARP_PROXYALL. 227forward_sourceroute="NO" # do source routing (only if gateway_enable is set to "YES") 228accept_sourceroute="NO" # accept source routed packets to us 229 230### ATM interface options: ### 231atm_enable="NO" # Configure ATM interfaces (or NO). 232#atm_netif_hea0="atm 1" # Network interfaces for physical interface. 233#atm_sigmgr_hea0="uni31" # Signalling manager for physical interface. 234#atm_prefix_hea0="ILMI" # NSAP prefix (UNI interfaces only) (or ILMI). 235#atm_macaddr_hea0="NO" # Override physical MAC address (or NO). 236#atm_arpserver_atm0="0x47.0005.80.999999.9999.9999.9999.999999999999.00" # ATMARP server address (or local). 237#atm_scsparp_atm0="NO" # Run SCSP/ATMARP on network interface (or NO). 238atm_pvcs="" # Set to PVC list (or leave empty). 239atm_arps="" # Set to permanent ARP list (or leave empty). 240 241### ISDN interface options: (see also: /usr/share/examples/isdn) ### 242isdn_enable="NO" # Enable the ISDN subsystem (or NO). 243isdn_fsdev="NO" # Output device for fullscreen mode (or NO for daemon mode). 244isdn_flags="-dn -d0x1f9" # Flags for isdnd 245isdn_ttype="cons25" # terminal type for fullscreen mode 246isdn_screenflags="NO" # screenflags for ${isdn_fsdev} 247isdn_trace="NO" # Enable the ISDN trace subsystem (or NO). 248isdn_traceflags="-f /var/tmp/isdntrace0" # Flags for isdntrace 249 250### Miscellaneous network options: ### 251icmp_bmcastecho="NO" # respond to broadcast ping packets 252 253### IPv6 options: ### 254ipv6_enable="NO" # Set to YES to set up for IPv6. 255ipv6_network_interfaces="auto" # List of network interfaces (or "auto"). 256ipv6_defaultrouter="NO" # Set to IPv6 default gateway (or NO). 257#ipv6_defaultrouter="2002:c058:6301::" # Use this for 6to4 (RFC 3068) 258ipv6_static_routes="" # Set to static route list (or leave empty). 259#ipv6_static_routes="xxx" # An example to set fec0:0000:0000:0006::/64 260 # route toward loopback interface. 261#ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1" 262ipv6_gateway_enable="NO" # Set to YES if this host will be a gateway. 263ipv6_router_enable="NO" # Set to YES to enable an IPv6 routing daemon. 264ipv6_router="/usr/sbin/route6d" # Name of IPv6 routing daemon. 265ipv6_router_flags="" # Flags to IPv6 routing daemon. 266#ipv6_router_flags="-l" # Example for route6d with only IPv6 site local 267 # addrs. 268#ipv6_router_flags="-q" # If you want to run a routing daemon on an end 269 # node, you should stop advertisement. 270#ipv6_network_interfaces="ed0 ep0" # Examples for router 271 # or static configuration for end node. 272 # Choose correct prefix value. 273#ipv6_prefix_ed0="fec0:0000:0000:0001 fec0:0000:0000:0002" # Examples for rtr. 274#ipv6_prefix_ep0="fec0:0000:0000:0003 fec0:0000:0000:0004" # Examples for rtr. 275#ipv6_ifconfig_ed0="fec0:0:0:5::1 prefixlen 64" # Sample manual assign entry 276#ipv6_ifconfig_ed0_alias0="fec0:0:0:5::2 prefixlen 64" # Sample alias entry. 277ipv6_default_interface="NO" # Default output interface for scoped addrs. 278 # Now this works only for IPv6 link local 279 # multicast addrs. 280rtadvd_enable="NO" # Set to YES to enable an IPv6 router 281 # advertisement daemon. If set to YES, 282 # this router becomes a possible candidate 283 # IPv6 default router for local subnets. 284rtadvd_interfaces="" # Interfaces rtadvd sends RA packets. 285mroute6d_enable="NO" # Do IPv6 multicast routing. 286mroute6d_program="/usr/local/sbin/pim6dd" # Name of IPv6 multicast 287 # routing daemon. You need to 288 # install it from package or 289 # port. 290mroute6d_flags="" # Flags to IPv6 multicast routing daemon. 291stf_interface_ipv4addr="" # Local IPv4 addr for 6to4 IPv6 over IPv4 292 # tunneling interface. Specify this entry 293 # to enable 6to4 interface. 294stf_interface_ipv4plen="0" # Prefix length for 6to4 IPv4 addr, 295 # to limit peer addr range. Effective value 296 # is 0-31. 297stf_interface_ipv6_ifid="0:0:0:1" # IPv6 interface id for stf0. 298 # If you like, you can set "AUTO" for this. 299stf_interface_ipv6_slaid="0000" # IPv6 Site Level Aggregator for stf0 300ipv6_faith_prefix="NO" # Set faith prefix to enable a FAITH 301 # IPv6-to-IPv4 TCP translator. You also need 302 # faithd(8) setup. 303ipv6_ipv4mapping="YES" # Set to "NO" to disable IPv4 mapped IPv6 addr 304 # communication. (like ::ffff:a.b.c.d) 305ipv6_firewall_enable="NO" # Set to YES to enable IPv6 firewall 306 # functionality 307ipv6_firewall_script="/etc/rc.firewall6" # Which script to run to set up the IPv6 firewall 308ipv6_firewall_type="UNKNOWN" # IPv6 Firewall type (see /etc/rc.firewall6) 309ipv6_firewall_quiet="NO" # Set to YES to suppress rule display 310ipv6_firewall_logging="NO" # Set to YES to enable events logging 311ipv6_firewall_flags="" # Flags passed to ip6fw when type is a file 312 313############################################################## 314### System console options ################################# 315############################################################## 316 317keymap="NO" # keymap in /usr/share/syscons/keymaps/* (or NO). 318keyrate="NO" # keyboard rate to: slow, normal, fast (or NO). 319keybell="NO" # bell to duration.pitch or normal or visual (or NO). 320keychange="NO" # function keys default values (or NO). 321cursor="NO" # cursor type {normal|blink|destructive} (or NO). 322scrnmap="NO" # screen map in /usr/share/syscons/scrnmaps/* (or NO). 323font8x16="NO" # font 8x16 from /usr/share/syscons/fonts/* (or NO). 324font8x14="NO" # font 8x14 from /usr/share/syscons/fonts/* (or NO). 325font8x8="NO" # font 8x8 from /usr/share/syscons/fonts/* (or NO). 326blanktime="300" # blank time (in seconds) or "NO" to turn it off. 327saver="NO" # screen saver: Uses /boot/kernel/${saver}_saver.ko 328moused_enable="NO" # Run the mouse daemon. 329moused_type="auto" # See man page for rc.conf(5) for available settings. 330moused_port="/dev/psm0" # Set to your mouse port. 331moused_flags="" # Any additional flags to moused. 332mousechar_start="NO" # if 0xd0-0xd3 default range is occuped in your 333 # language code table, specify alternative range 334 # start like mousechar_start=3, see vidcontrol(1) 335allscreens_flags="" # Set this vidcontrol mode for all virtual screens 336allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens 337 338 339############################################################## 340### Mail Transfer Agent (MTA) options ###################### 341############################################################## 342 343mta_start_script="/etc/rc.sendmail" 344 # Script to start your chosen MTA, called by /etc/rc. 345# Settings for /etc/rc.sendmail: 346sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO/NONE). 347 # If NONE, don't start any sendmail processes. 348sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) 349sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission 350sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" 351 # Flags for localhost-only MTA 352sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). 353sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only) 354sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). 355sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m" 356 # Flags for sendmail_msp_queue daemon. 357 358 359############################################################## 360### Miscellaneous administrative options ################### 361############################################################## 362 363cron_enable="YES" # Run the periodic job daemon. 364cron_program="/usr/sbin/cron" # Which cron executable to run (if enabled). 365cron_flags="" # Which options to pass to the cron daemon. 366lpd_enable="NO" # Run the line printer daemon. 367lpd_program="/usr/sbin/lpd" # path to lpd, if you want a different one. 368lpd_flags="" # Flags to lpd (if enabled). 369usbd_enable="NO" # Run the usbd daemon. 370usbd_flags="" # Flags to usbd (if enabled). 371dumpdev="NO" # Device name to crashdump to (or NO). 372dumpdir="/var/crash" # Directory where crash dumps are to be stored 373savecore_flags="" # Used if dumpdev is enabled above, and present. 374enable_quotas="NO" # turn on quotas on startup (or NO). 375check_quotas="YES" # Check quotas on startup (or NO). 376accounting_enable="NO" # Turn on process accounting (or NO). 377ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO). 378ibcs2_loaders="coff" # List of additional Ibcs2 loaders (or NO). 379sysvipc_enable="NO" # Load System V IPC primitives at startup (or NO). 380linux_enable="NO" # Linux binary compatibility loaded at startup (or NO). 381svr4_enable="NO" # SysVR4 emulation loaded at startup (or NO). 382osf1_enable="NO" # Alpha OSF/1 emulation loaded at startup (or NO). 383clear_tmp_enable="NO" # Clear /tmp at startup. 384ldconfig_insecure="NO" # Set to YES to disable ldconfig security checks 385ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" 386 # shared library search paths 387ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout" 388 # a.out shared library search paths 389kern_securelevel_enable="NO" # kernel security level (see init(8)), 390kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure 391lomac_enable="NO" # start lomac(4) security module at boot 392update_motd="YES" # update version info in /etc/motd (or NO) 393start_vinum="NO" # set to YES to start vinum 394unaligned_print="YES" # print unaligned access warnings on the alpha (or NO). 395entropy_file="/entropy" # Set to NO to disable caching entropy through reboots. 396 # /var/db/entropy is preferred if / is not available. 397entropy_dir="/var/db/entropy" # Set to NO to disable caching entropy via cron. 398entropy_save_sz="2048" # Size of the entropy cache files. 399entropy_save_num="8" # Number of entropy cache files to save. 400harvest_interrupt="YES" # Entropy device harvests interrupt randomness 401harvest_ethernet="YES" # Entropy device harvests ethernet randomness 402harvest_p_to_p="YES" # Entropy device harvests point-to-point randomness 403dmesg_enable="YES" # Save dmesg(8) to /var/run/dmesg.boot 404 405############################################################## 406### Define source_rc_confs, the mechanism used by /etc/rc.* ## 407### scripts to source rc_conf_files overrides safely. ## 408############################################################## 409 410if [ -z "${source_rc_confs_defined}" ]; then 411 source_rc_confs_defined=yes 412 source_rc_confs () { 413 local i sourced_files 414 for i in ${rc_conf_files}; do 415 case ${sourced_files} in 416 *:$i:*) 417 ;; 418 *) 419 sourced_files="${sourced_files}:$i:" 420 if [ -r $i ]; then 421 . $i 422 fi 423 ;; 424 esac 425 done 426 } 427fi 428