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.
7 # All arguments must be in double or single quotes.
9 # $Id: rc.conf,v 1.60 1998/10/06 19:24:14 phk Exp $
11 ##############################################################
12 ### Important initial Boot-time options #####################
13 ##############################################################
15 swapfile="NO" # Set to name of swapfile if aux swapfile desired.
16 apm_enable="NO" # Set to YES if you want APM enabled.
17 pccard_enable="NO" # Set to YES if you want to configure PCCARD devices.
18 pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address.
19 pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO).
20 local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
21 local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic" # periodic script dirs
24 ##############################################################
25 ### Network configuration sub-section ######################
26 ##############################################################
28 ### Basic network options: ###
29 hostname="myname.my.domain" # Set this!
30 nisdomainname="NO" # Set to NIS domain if using NIS (or NO).
31 firewall_enable="NO" # Set to YES to enable firewall functionality
32 firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall)
33 firewall_quiet="NO" # Set to YES to suppress rule display
34 natd_enable="NO" # Enable natd (if firewall_enable == YES).
35 natd_interface="fxp0" # Public interface to use with natd.
36 natd_flags="" # Additional flags for natd.
37 tcp_extensions="NO" # Disallow RFC1323 extensions (or YES).
38 network_interfaces="lo0" # List of network interfaces (lo0 is loopback).
39 ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
40 #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
42 ### Network daemon (miscellaneous) & NFS options: ###
43 syslogd_enable="YES" # Run syslog daemon (or NO).
44 syslogd_flags="" # Flags to syslogd (if enabled).
45 inetd_enable="YES" # Run the network daemon dispatcher (or NO).
46 inetd_flags="" # Optional flags to inetd.
47 named_enable="NO" # Run named, the DNS server (or NO).
48 named_program="named" # path to named, if you want a different one.
49 named_flags="" # Flags for named (/etc/namedb/named.conf is
51 kerberos_server_enable="NO" # Run a kerberos master server (or NO).
52 kadmind_server_enable="NO" # Run kadmind (or NO) -- do not run on
53 # a slave kerberos server
54 kerberos_stash="" # Is the kerberos master key stashed?
55 rwhod_enable="NO" # Run the rwho daemon (or NO).
56 amd_enable="NO" # Run amd service with $amd_flags (or NO).
57 amd_flags="-a /net -c 1800 -k i386 -d my.domain -l syslog /host /etc/amd.map"
58 amd_map_program="NO" # Can be set to "ypcat -k amd.master"
59 nfs_client_enable="NO" # This host is an NFS client (or NO).
60 nfs_client_flags="-n 4" # Flags to nfsiod (if enabled).
61 nfs_server_enable="NO" # This host is an NFS server (or NO).
62 nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled).
63 mountd_flags="-r" # Flags to mountd (if NFS server enabled).
64 nfs_reserved_port_only="NO" # Provide NFS only on secure port (or NO).
65 rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server.
66 rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO).
67 portmap_enable="YES" # Run the portmapper service (or NO).
68 portmap_flags="" # Flags to portmap (if enabled).
69 rpc_ypupdated_enable="NO" # Run if NIS master and SecureRPC (or NO).
70 keyserv_enable="NO" # Run the SecureRPC keyserver (or NO).
71 keyserv_flags="" # Flags to keyserv (if enabled).
72 rarpd_enable="NO" # Run rarpd (or NO).
73 rarpd_flags="" # Flags to rarpd.
74 xtend_enable="NO" # Run the X-10 power controller daemon.
75 xtend_flags="" # Flags to xtend (if enabled).
77 ### Network Time Services options: ###
78 timed_enable="NO" # Run the time daemon (or NO).
79 timed_flags="" # Flags to timed (if enabled).
80 ntpdate_enable="NO" # Run the ntpdate to sync time (or NO).
81 ntpdate_program="ntpdate" # path to ntpdate, if you want a different one.
82 ntpdate_flags="" # Flags to ntpdate (if enabled).
83 xntpd_enable="NO" # Run xntpd Network Time Protocol (or NO).
84 xntpd_program="xntpd" # path to xntpd, if you want a different one.
85 xntpd_flags="-p /var/run/xntpd.pid" # Flags to xntpd (if enabled).
87 # Network Information Services (NIS) options: ###
88 nis_client_enable="NO" # We're an NIS client (or NO).
89 nis_client_flags="" # Flags to ypbind (if enabled).
90 nis_ypset_enable="NO" # Run ypset at boot time (or NO).
91 nis_ypset_flags="" # Flags to ypset (if enabled).
92 nis_server_enable="NO" # We're an NIS server (or NO).
93 nis_server_flags="" # Flags to ypserv (if enabled).
94 nis_ypxfrd_enable="NO" # Run rpc.ypxfrd at boot time (or NO).
95 nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled).
96 nis_yppasswdd_enable="NO" # Run rpc.yppasswdd at boot time (or NO).
97 nis_yppasswdd_flags="" # Flags to rpc.yppasswdd (if enabled).
99 ### Network routing options: ###
100 defaultrouter="NO" # Set to default gateway (or NO).
101 static_routes="" # Set to static route list (or leave empty).
102 gateway_enable="NO" # Set to YES if this host will be a gateway.
103 router_enable="NO" # Set to YES to enable a routing daemon.
104 router="routed" # Name of routing daemon to use if enabled.
105 router_flags="-q" # Flags for routing daemon.
106 mrouted_enable="NO" # Do multicast routing (see /etc/mrouted.conf).
107 mrouted_flags="" # Flags for multicast routing daemon.
108 ipxgateway_enable="NO" # Set to YES to enable IPX routing.
109 ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon.
110 ipxrouted_flags="" # Flags for IPX routing daemon.
111 arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL.
112 forward_sourceroute="NO" # do source routing (only if gateway_enable is set to "YES")
113 accept_sourceroute="NO" # accept source routed packets to us
115 ### ATM interface options: ###
116 atm_enable="NO" # Configure ATM interfaces (or NO).
117 #atm_netif_hea0="atm 1" # Network interfaces for physical interface.
118 #atm_sigmgr_hea0="uni31" # Signalling manager for physical interface.
119 #atm_prefix_hea0="ILMI" # NSAP prefix (UNI interfaces only) (or ILMI).
120 #atm_macaddr_hea0="NO" # Override physical MAC address (or NO).
121 #atm_arpserver_atm0="0x47.0005.80.999999.9999.9999.9999.999999999999.00" # ATMARP server address (or local).
122 #atm_scsparp_atm0="NO" # Run SCSP/ATMARP on network interface (or NO).
123 atm_pvcs="" # Set to PVC list (or leave empty).
124 atm_arps="" # Set to permanent ARP list (or leave empty).
126 ### Miscellaneous network options: ###
127 icmp_bmcastecho="NO" # respond to broadcast ping packets
130 ##############################################################
131 ### System console options #################################
132 ##############################################################
134 keymap="NO" # keymap in /usr/share/syscons/keymaps/* (or NO).
135 keyrate="NO" # keyboard rate to: slow, normal, fast (or NO).
136 keybell="NO" # bell to duration.pitch or normal or visual (or NO).
137 keychange="NO" # function keys default values (or NO).
138 cursor="NO" # cursor type {normal|blink|destructive} (or NO).
139 scrnmap="NO" # screen map in /usr/share/syscons/scrnmaps/* (or NO).
140 font8x16="NO" # font 8x16 from /usr/share/syscons/fonts/* (or NO).
141 font8x14="NO" # font 8x14 from /usr/share/syscons/fonts/* (or NO).
142 font8x8="NO" # font 8x8 from /usr/share/syscons/fonts/* (or NO).
143 blanktime="300" # blank time (in seconds) or "NO" to turn it off.
144 saver="NO" # screen saver: blank/daemon/green/snake/star/NO.
145 moused_enable="NO" # Run the mouse daemon.
146 moused_type="auto" # See man page for rc.conf(5) for available settings.
147 moused_port="/dev/cuaa0" # Set to your mouse port.
148 moused_flags="" # Any additional flags to moused.
149 allscreens_flags="" # Set this vidcontrol mode for all virtual screens
152 ##############################################################
153 ### Miscellaneous administrative options ###################
154 ##############################################################
156 cron_enable="YES" # Run the periodic job daemon.
157 lpd_enable="NO" # Run the line printer daemon.
158 lpd_flags="" # Flags to lpd (if enabled).
159 sendmail_enable="YES" # Run the sendmail daemon (or NO).
160 sendmail_flags="-bd -q30m" # -bd is pretty mandatory.
161 dumpdev="NO" # Device name to crashdump to (if enabled).
162 check_quotas="NO" # Check quotas (or NO).
163 accounting_enable="NO" # Turn on process accounting (or NO).
164 ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO).
165 linux_enable="NO" # Linux emulation loaded at startup (or NO).
166 rand_irqs="NO" # Stir the entropy pool (like "5 11" or NO).
167 clear_tmp_enable="NO" # Clear /tmp at startup.
168 ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared library search paths
169 ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout" # a.out shared library search paths
170 kern_securelevel_enable="NO" # kernel security level (see init(8)),
171 kern_securelevel="-1" # range: -1..2 ; `-1' is the most insecure
173 ##############################################################
174 ### Allow local configuration override at the very end here ##
175 ##############################################################
176 if [ -f /etc/rc.conf.local ]; then