rc.conf revision 1.30 1 # $NetBSD: rc.conf,v 1.30 2002/02/24 12:50:08 lukem Exp $
2 #
3 # /etc/defaults/rc.conf --
4 # default configuration of /etc/rc.conf
5 #
6 # see rc.conf(5) for more information.
7 #
8 # DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING A SYSTEM UPGRADE.
9 # EDIT /etc/rc.conf INSTEAD.
10 #
11 # DEVELOPERS: Please edit share/sushi/system/rcconf/form when modifying this
12 # file to keep it in sync.
13
14 #
15 # Use program=YES to enable program, NO to disable it. program_flags are
16 # passed to the program on the command line.
17 #
18
19 # Uncomment this if you want to use local paths in rc.
20 #
21 #export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
22
23 # Uncomment the following to execute each /etc/rc.d script in
24 # the current shell rather than in a subshell. This may be
25 # faster on very slow machines that have an expensive fork(2).
26 # NOTE: USE THIS AT YOUR OWN RISK; A ROGUE COMMAND
27 # MAY INADVERTENTLY PREVENT BOOT TO MULTIUSER.
28 #
29 #rc_fast_and_loose=YES
30
31 # If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
32 #
33 do_rcshutdown=YES
34
35 # If this is non-blank, use as the number of seconds to run a watchdog
36 # timer which will terminate /etc/rc.shutdown if the timeout expires.
37 #
38 rcshutdown_timeout=""
39
40
41 # Basic network configuration
42 #
43
44 # Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
45 # If blank, use /etc/myname.
46 #
47 hostname=""
48
49 # If there's only one way out of your network, set this to the hostname
50 # or the IP address of the router that will get your packets off the LAN.
51 # If blank, use /etc/mygate.
52 #
53 defaultroute=""
54
55 # The NIS domain name (formerly known as Yellow Pages); not in any way
56 # related to Internet domain names.
57 # If blank, use /etc/defaultdomain.
58 #
59 domainname=""
60
61 # Filesystems to mount early in boot-up.
62 # Note that `/var' is needed in $critical_filesystems_beforenet (or
63 # implied as part of `/') as certain services that need /var (such as
64 # dhclient) may be needed to get the network operational enough to mount
65 # the $critical_filesystems.
66 #
67 critical_filesystems_beforenet="/var"
68 critical_filesystems="/usr"
69
70 # Set this to YES if you have purposefully setup no swap partitions and
71 # don't want to be warned about it.
72 #
73 no_swap=NO
74
75 # One-time actions and programs on boot-up.
76 #
77 lkm=NO # run /etc/rc.lkm
78 savecore=YES savecore_flags="-z"
79 clear_tmp=YES # clear /tmp after reboot
80 update_motd=YES # updates /etc/motd
81 dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
82 accounting=NO # uses /var/account/acct
83 newsyslog=NO newsyslog_flags="" # trim log files
84
85 # NOTE: default coredump name now set in /etc/sysctl.conf
86
87 # Security setting. If $securelevel is non-empty, the system securelevel
88 # is set to this value early in the boot sequence. Otherwise the default
89 # action is taken (see init(8)).
90 #
91 securelevel="" # securelevel to set to
92
93 # To set the IP address of an interface either use
94 # ifconfig_xxN="IP-NO"
95 # where xxN is the interface. If this variable is not set then
96 # contents of the file /etc/ifconfig.xxN is used.
97
98 # Networking startup.
99 #
100 ipfilter=NO # uses /etc/ipf.conf
101 ipnat=NO # uses /etc/ipnat.conf
102 ipfs=NO ipfs_flags="" # save/load ipnat and ipf states
103 ipsec=NO # uses /etc/ipsec.conf
104 ipmon=NO ipmon_flags="-Dns" # syslog ipfilter messages
105 racoon=NO # IKE daemon
106 auto_ifconfig=YES # config all avail. interfaces
107 net_interfaces="" # used only if above is NO
108 flushroutes=YES # flush routes in netstart
109 dhclient=NO # behave as a DHCP client
110 dhclient_flags="" # blank: config all interfaces
111 ntpdate=NO ntpdate_flags="-b -s" # May need '-u' thru firewall
112 ppp_peers="" # /etc/ppp/peers to call
113 ip6mode=host # host, autohost or router
114 ip6sitelocal=NO # IPv6 sitelocal addrs
115 rtsol=NO rtsol_flags="-a" # for ip6mode=autohost only
116
117 # Special treatment for interfaces that need to be downed on
118 # shutdown (because they might cause unecessary costs or block resources
119 # on the peer). All pppoe* interfaces are automatically included in this
120 # list, add others here manually.
121 # force_down_interfaces=""
122
123 ifwatchd=NO # execute up/down scripts for in-kernel PPPoE interfaces
124 ifwatchd_flags="-u /etc/ppp/ip-up -d /etc/ppp/ip-down pppoe0"
125
126 # ALTQ configuration/monitoring daemon
127 altqd=NO altqd_flags=""
128
129 # Daemons required by servers. These are not needed for strictly client use.
130 #
131
132 # inetd is used to start the IP-based services enabled in /etc/inetd.conf
133 #
134 inetd=YES inetd_flags="-l" # -l logs libwrap
135
136 # rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
137 #
138 rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
139
140 # Commonly used daemons.
141 #
142 syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
143 cron=YES
144 named=NO named_flags="" # see below for named_chrootdir
145 timed=NO timed_flags=""
146 ntpd=NO ntpd_flags="" # see below for ntpd_chrootdir
147 sendmail=NO sendmail_flags="-bd -q30m"
148 postfix=NO
149 lpd=NO lpd_flags="-s" # -s "secure" unix domain only
150 sshd=NO sshd_flags=""
151 sshd_conf_dir="/etc" # directory for sshd conf files
152
153 # To run the named(8) DNS server as an unprivileged user under a
154 # chroot(2) cage, uncomment the following after migrating the contents
155 # of /etc/namedb to /var/chroot/named/etc/namedb
156 #
157 #named_chrootdir="/var/chroot/named"
158
159 # To run the ntpd(8) NTP server as an unprivileged user under a
160 # chroot(2) cage, uncomment the following.
161 #
162 #ntpd_chrootdir="/var/chroot/ntpd"
163
164 # Routing daemons.
165 #
166 routed=NO routed_flags="-q"
167 gated=NO
168 mrouted=NO mrouted_flags=""
169 route6d=NO route6d_flags=""
170 rtsold=NO rtsold_flags="" # for ip6mode=autohost only
171
172 # Daemons used to boot other hosts over a network.
173 #
174 rarpd=NO rarpd_flags="-a"
175 bootparamd=NO bootparamd_flags=""
176 dhcpd=NO dhcpd_flags="-q"
177 dhcrelay=NO dhcrelay_flags=""
178 rbootd=NO rbootd_flags=""
179 mopd=NO mopd_flags="-a"
180 ndbootd=NO ndbootd_flags="-s /tftpboot /tftpboot/bootyy"
181 rtadvd=NO rtadvd_flags=""
182
183 # X11 daemons.
184 #
185 xfs=NO xfs_flags="" # X11 font server
186 xdm=NO xdm_flags="" # X11 display manager; needs
187 # wscons=YES for local displays.
188
189 # YP (NIS) daemons.
190 #
191 ypbind=NO ypbind_flags=""
192 ypserv=NO ypserv_flags="-d"
193 yppasswdd=NO yppasswdd_flags=""
194
195 # NFS daemons and parameters.
196 #
197 mountd=NO mountd_flags="" # NFS mount requests daemon
198 nfs_client=NO # enable client daemons
199 nfs_server=NO # enable server daemons
200 nfsd_flags="-6tun 4"
201 lockd=NO lockd_flags=""
202 statd=NO statd_flags=""
203 amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
204 amd_dir=/amd # mount dir
205
206 # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
207 kdc=NO kdc_flags=""
208
209 # ISDN daemon
210 # The network interfaces used for isdn are not useful without the isdnd
211 # running. Therefore, they are usually configured "down" first (e.g., in
212 # /etc/ifconfig.isp0), and need to be marked "up" when the daemon is
213 # running. This will happen automatically for all configured isdn interfaces
214 # if the variable isdn_interfaces is left empty. If this behaviour is not
215 # desired for certain interfaces, set isdn_interfaces to the list of
216 # interfaces where it should happen. To disable it completely, set
217 # the variable isdn_autoupdown to NO.
218 isdnd=NO isdnd_flags=""
219 isdn_autoupdown=YES
220 isdn_interfaces=""
221
222 # Other daemons.
223 #
224 rwhod=NO
225
226 # Hardware daemons.
227 #
228 apmd=NO apmd_flags="" # APM power management daemon.
229 poffd=NO # x68k power switch monitor
230 poffd_flags="'shutdown -p now'"
231 screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
232
233 moused=NO # serial mouse handler
234 moused_flags="-p /dev/tty00"
235
236 # Configuration of "wscons" console driver virtual screens.
237 #
238 wscons=NO wscons_flags="" # setup wscons from wscons.conf
239