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.53 1998/06/23 03:09:26 jkh 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="YES" # Allow RFC1323 & RFC1644 extensions (or NO).
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).
86 tickadj_enable="NO" # Run tickadj (or NO).
87 tickadj_flags="-Aq" # Flags to tickadj (if enabled).
89 # Network Information Services (NIS) options: ###
90 nis_client_enable="NO" # We're an NIS client (or NO).
91 nis_client_flags="" # Flags to ypbind (if enabled).
92 nis_ypset_enable="NO" # Run ypset at boot time (or NO).
93 nis_ypset_flags="" # Flags to ypset (if enabled).
94 nis_server_enable="NO" # We're an NIS server (or NO).
95 nis_server_flags="" # Flags to ypserv (if enabled).
96 nis_ypxfrd_enable="NO" # Run rpc.ypxfrd at boot time (or NO).
97 nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled).
98 nis_yppasswdd_enable="NO" # Run rpc.yppasswdd at boot time (or NO).
99 nis_yppasswdd_flags="" # Flags to rpc.yppasswdd (if enabled).
101 ### Network routing options: ###
102 defaultrouter="NO" # Set to default gateway (or NO).
103 static_routes="" # Set to static route list (or leave empty).
104 gateway_enable="NO" # Set to YES if this host will be a gateway.
105 router_enable="YES" # Set to YES to enable a routing daemon.
106 router="routed" # Name of routing daemon to use if enabled.
107 router_flags="-q" # Flags for routing daemon.
108 mrouted_enable="NO" # Do multicast routing (see /etc/mrouted.conf).
109 mrouted_flags="" # Flags for multicast routing daemon.
110 ipxgateway_enable="NO" # Set to YES to enable IPX routing.
111 ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon.
112 ipxrouted_flags="" # Flags for IPX routing daemon.
113 arpproxy_all="" # replaces obsolete kernel option ARP_PROXYALL.
114 forward_sourceroute="NO" # do source routing (only if gateway_enable is set to "YES")
115 accept_sourceroute="NO" # accept source routed packets to us
118 ##############################################################
119 ### System console options #################################
120 ##############################################################
122 keymap="NO" # keymap in /usr/share/syscons/keymaps/* (or NO).
123 keyrate="NO" # keyboard rate to: slow, normal, fast (or NO).
124 keybell="NO" # bell to duration.pitch or normal or visual (or NO).
125 keychange="NO" # function keys default values (or NO).
126 cursor="NO" # cursor type {normal|blink|destructive} (or NO).
127 scrnmap="NO" # screen map in /usr/share/syscons/scrnmaps/* (or NO).
128 font8x16="NO" # font 8x16 from /usr/share/syscons/fonts/* (or NO).
129 font8x14="NO" # font 8x14 from /usr/share/syscons/fonts/* (or NO).
130 font8x8="NO" # font 8x8 from /usr/share/syscons/fonts/* (or NO).
131 blanktime="300" # blank time (in seconds) or "NO" to turn it off.
132 saver="NO" # screen saver: blank/daemon/green/snake/star/NO.
133 moused_enable="NO" # Run the mouse daemon.
134 moused_type="auto" # See man page for rc.conf(5) for available settings.
135 moused_port="/dev/cuaa0" # Set to your mouse port.
136 moused_flags="" # Any additional flags to moused.
137 allscreens_flags="" # Set this vidcontrol mode for all virtual screens
140 ##############################################################
141 ### Miscellaneous administrative options ###################
142 ##############################################################
144 cron_enable="YES" # Run the periodic job daemon.
145 lpd_enable="NO" # Run the line printer daemon.
146 lpd_flags="" # Flags to lpd (if enabled).
147 sendmail_enable="YES" # Run the sendmail daemon (or NO).
148 sendmail_flags="-bd -q30m" # -bd is pretty mandatory.
149 dumpdev="NO" # Device name to crashdump to (if enabled).
150 check_quotas="NO" # Check quotas (or NO).
151 accounting_enable="NO" # Turn on process accounting (or NO).
152 ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO).
153 linux_enable="NO" # Linux emulation loaded at startup (or NO).
154 rand_irqs="NO" # Stir the entropy pool (like "5 11" or NO).
155 clear_tmp_enable="NO" # Clear /tmp at startup.
156 ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared library search paths
157 kern_securelevel_enable="NO" # kernel security level (see init(8)),
158 kern_securelevel="-1" # range: -1..2 ; `-1' is the most insecure
160 ##############################################################
161 ### Allow local configuration override at the very end here ##
162 ##############################################################
163 if [ -f /etc/rc.conf.local ]; then