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