]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.conf
This commit was generated by cvs2svn to compensate for changes in r41461,
[FreeBSD/FreeBSD.git] / etc / rc.conf
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.
6 #
7 # All arguments must be in double or single quotes.
8 #
9 #       $Id: rc.conf,v 1.63 1998/11/25 21:16:43 msmith Exp $
10
11 ##############################################################
12 ### Important initial Boot-time options  #####################
13 ##############################################################
14
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
22
23
24 ##############################################################
25 ###  Network configuration sub-section  ######################
26 ##############################################################
27
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.
41
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="-u bind -g bind"   # Flags for named (/etc/namedb/named.conf is
50                                 # the default now).
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_access_cache="2"            # Client cache timeout in seconds
62 nfs_server_enable="NO"          # This host is an NFS server (or NO).
63 nfs_server_flags="-u -t -n 4"   # Flags to nfsd (if enabled).
64 mountd_flags="-r"               # Flags to mountd (if NFS server enabled).
65 nfs_reserved_port_only="NO"     # Provide NFS only on secure port (or NO).
66 rpc_lockd_enable="NO"           # Run NFS rpc.lockd (*broken!*) if nfs_server.
67 rpc_statd_enable="YES"          # Run NFS rpc.statd if nfs_server (or NO).
68 portmap_enable="YES"            # Run the portmapper service (or NO).
69 portmap_flags=""                # Flags to portmap (if enabled).
70 rpc_ypupdated_enable="NO"       # Run if NIS master and SecureRPC (or NO).
71 keyserv_enable="NO"             # Run the SecureRPC keyserver (or NO).
72 keyserv_flags=""                # Flags to keyserv (if enabled).
73 rarpd_enable="NO"               # Run rarpd (or NO).
74 rarpd_flags=""                  # Flags to rarpd.
75 xtend_enable="NO"               # Run the X-10 power controller daemon.
76 xtend_flags=""                  # Flags to xtend (if enabled).
77
78 ### Network Time Services options: ###
79 timed_enable="NO"               # Run the time daemon (or NO).
80 timed_flags=""                  # Flags to timed (if enabled).
81 ntpdate_enable="NO"             # Run the ntpdate to sync time (or NO).
82 ntpdate_program="ntpdate"       # path to ntpdate, if you want a different one.
83 ntpdate_flags=""                # Flags to ntpdate (if enabled).
84 xntpd_enable="NO"               # Run xntpd Network Time Protocol (or NO).
85 xntpd_program="xntpd"           # path to xntpd, if you want a different one.
86 xntpd_flags="-p /var/run/xntpd.pid"     # Flags to xntpd (if enabled).
87
88 # Network Information Services (NIS) options: ###
89 nis_client_enable="NO"          # We're an NIS client (or NO).
90 nis_client_flags=""             # Flags to ypbind (if enabled).
91 nis_ypset_enable="NO"           # Run ypset at boot time (or NO).
92 nis_ypset_flags=""              # Flags to ypset (if enabled).
93 nis_server_enable="NO"          # We're an NIS server (or NO).
94 nis_server_flags=""             # Flags to ypserv (if enabled).
95 nis_ypxfrd_enable="NO"          # Run rpc.ypxfrd at boot time (or NO).
96 nis_ypxfrd_flags=""             # Flags to rpc.ypxfrd (if enabled).
97 nis_yppasswdd_enable="NO"       # Run rpc.yppasswdd at boot time (or NO).
98 nis_yppasswdd_flags=""          # Flags to rpc.yppasswdd (if enabled).
99
100 ### Network routing options: ###
101 defaultrouter="NO"              # Set to default gateway (or NO).
102 static_routes=""                # Set to static route list (or leave empty).
103 gateway_enable="NO"             # Set to YES if this host will be a gateway.
104 router_enable="NO"              # Set to YES to enable a routing daemon.
105 router="routed"                 # Name of routing daemon to use if enabled.
106 router_flags="-q"               # Flags for routing daemon.
107 mrouted_enable="NO"             # Do multicast routing (see /etc/mrouted.conf).
108 mrouted_flags=""                # Flags for multicast routing daemon.
109 ipxgateway_enable="NO"          # Set to YES to enable IPX routing.
110 ipxrouted_enable="NO"           # Set to YES to run the IPX routing daemon.
111 ipxrouted_flags=""              # Flags for IPX routing daemon.
112 arpproxy_all=""                 # replaces obsolete kernel option ARP_PROXYALL.
113 forward_sourceroute="NO"        # do source routing (only if gateway_enable is set to "YES")
114 accept_sourceroute="NO"         # accept source routed packets to us
115
116 ### ATM interface options: ###
117 atm_enable="NO"                 # Configure ATM interfaces (or NO).
118 #atm_netif_hea0="atm 1"         # Network interfaces for physical interface.
119 #atm_sigmgr_hea0="uni31"        # Signalling manager for physical interface.
120 #atm_prefix_hea0="ILMI"         # NSAP prefix (UNI interfaces only) (or ILMI).
121 #atm_macaddr_hea0="NO"          # Override physical MAC address (or NO).
122 #atm_arpserver_atm0="0x47.0005.80.999999.9999.9999.9999.999999999999.00" # ATMARP server address (or local).
123 #atm_scsparp_atm0="NO"          # Run SCSP/ATMARP on network interface (or NO).
124 atm_pvcs=""                     # Set to PVC list (or leave empty).
125 atm_arps=""                     # Set to permanent ARP list (or leave empty).
126
127 ### Miscellaneous network options: ###
128 icmp_bmcastecho="NO"    # respond to broadcast ping packets
129
130
131 ##############################################################
132 ###  System console options  #################################
133 ##############################################################
134
135 keymap="NO"             # keymap in /usr/share/syscons/keymaps/* (or NO).
136 keyrate="NO"            # keyboard rate to: slow, normal, fast (or NO).
137 keybell="NO"            # bell to duration.pitch or normal or visual (or NO).
138 keychange="NO"          # function keys default values (or NO).
139 cursor="NO"             # cursor type {normal|blink|destructive} (or NO).
140 scrnmap="NO"            # screen map in /usr/share/syscons/scrnmaps/* (or NO).
141 font8x16="NO"           # font 8x16 from /usr/share/syscons/fonts/* (or NO).
142 font8x14="NO"           # font 8x14 from /usr/share/syscons/fonts/* (or NO).
143 font8x8="NO"            # font 8x8 from /usr/share/syscons/fonts/* (or NO).
144 blanktime="300"         # blank time (in seconds) or "NO" to turn it off.
145 saver="NO"              # screen saver: blank/daemon/green/snake/star/NO.
146 moused_enable="NO"      # Run the mouse daemon.
147 moused_type="auto"      # See man page for rc.conf(5) for available settings.
148 moused_port="/dev/cuaa0" # Set to your mouse port.
149 moused_flags=""         # Any additional flags to moused.
150 allscreens_flags=""     # Set this vidcontrol mode for all virtual screens
151
152
153 ##############################################################
154 ###  Miscellaneous administrative options  ###################
155 ##############################################################
156
157 cron_enable="YES"       # Run the periodic job daemon.
158 lpd_enable="NO"         # Run the line printer daemon.
159 lpd_flags=""            # Flags to lpd (if enabled).
160 sendmail_enable="YES"   # Run the sendmail daemon (or NO).
161 sendmail_flags="-bd -q30m" # -bd is pretty mandatory.
162 dumpdev="NO"            # Device name to crashdump to (if enabled).
163 check_quotas="NO"       # Check quotas (or NO).
164 accounting_enable="NO"  # Turn on process accounting (or NO).
165 ibcs2_enable="NO"       # Ibcs2 (SCO) emulation loaded at startup (or NO).
166 linux_enable="NO"       # Linux emulation loaded at startup (or NO).
167 rand_irqs="NO"          # Stir the entropy pool (like "5 11" or NO).
168 clear_tmp_enable="NO"   # Clear /tmp at startup.
169 ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared library search paths
170 ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout" # a.out shared library search paths
171 kern_securelevel_enable="NO"    # kernel security level (see init(8)), 
172 kern_securelevel="-1"   # range: -1..2 ; `-1' is the most insecure
173
174 ##############################################################
175 ### Allow local configuration override at the very end here ##
176 ##############################################################
177 if [ -f /etc/rc.conf.local ]; then
178         . /etc/rc.conf.local
179 fi