rc.conf revision 1.36 1 # $NetBSD: rc.conf,v 1.36 2002/04/29 05:55:05 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_local (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_remote.
66 #
67 critical_filesystems_local="/var"
68 critical_filesystems_remote="/usr"
69
70 # Swap device controls.
71 #
72 no_swap=NO # Set to YES if you have purposefully setup no swap
73 # partitions and don't want to be warned about it.
74 swapoff=NO # Remove block-type swap partitions upon shutdown
75
76 # One-time actions and programs on boot-up.
77 #
78 lkm=NO # run /etc/rc.lkm
79 savecore=YES savecore_flags="-z"
80 clear_tmp=YES # clear /tmp after reboot
81 update_motd=YES # updates /etc/motd
82 dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
83 accounting=NO # uses /var/account/acct
84 newsyslog=NO newsyslog_flags="" # trim log files
85
86 # NOTE: default coredump name now set in /etc/sysctl.conf
87
88 # Security setting. If $securelevel is non-empty, the system securelevel
89 # is set to this value early in the boot sequence. Otherwise the default
90 # action is taken (see init(8)).
91 #
92 securelevel="" # securelevel to set to
93
94 # To set the IP address of an interface either use
95 # ifconfig_xxN="IP-NO"
96 # where xxN is the interface. If this variable is not set then
97 # contents of the file /etc/ifconfig.xxN is used.
98
99 # Networking startup.
100 #
101 ipfilter=NO # uses /etc/ipf.conf
102 ipnat=NO # uses /etc/ipnat.conf
103 ipfs=NO ipfs_flags="" # save/load ipnat and ipf states
104 ipsec=NO # uses /etc/ipsec.conf
105 ipmon=NO ipmon_flags="-ns" # syslog ipfilter messages
106 racoon=NO # IKE daemon
107 auto_ifconfig=YES # config all avail. interfaces
108 net_interfaces="" # used only if above is NO
109 flushroutes=YES # flush routes in netstart
110 dhclient=NO # behave as a DHCP client
111 dhclient_flags="" # blank: config all interfaces
112 ntpdate=NO ntpdate_flags="-b -s" # May need '-u' thru firewall
113 ppp_peers="" # /etc/ppp/peers to call
114 ip6mode=host # host, autohost or router
115 ip6sitelocal=NO # IPv6 sitelocal addrs
116 rtsol=NO rtsol_flags="-a" # for ip6mode=autohost only
117
118 # Special treatment for interfaces that need to be downed on
119 # shutdown (because they might cause unecessary costs or block resources
120 # on the peer). All pppoe* interfaces are automatically included in this
121 # list, add others here manually.
122 # force_down_interfaces=""
123
124 ifwatchd=NO # execute up/down scripts for in-kernel PPPoE interfaces
125 ifwatchd_flags="-u /etc/ppp/ip-up -d /etc/ppp/ip-down pppoe0"
126
127 # ALTQ configuration/monitoring daemon
128 altqd=NO altqd_flags=""
129
130 # Daemons required by servers. These are not needed for strictly client use.
131 #
132
133 # inetd is used to start the IP-based services enabled in /etc/inetd.conf
134 #
135 inetd=YES inetd_flags="-l" # -l logs libwrap
136
137 # rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
138 #
139 rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
140
141 # Commonly used daemons.
142 #
143 syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
144 cron=YES
145 named=NO named_flags="" # see below for named_chrootdir
146 timed=NO timed_flags=""
147 ntpd=NO ntpd_flags="" # see below for ntpd_chrootdir
148 sendmail=NO sendmail_flags="-bd -q30m"
149 postfix=NO
150 lpd=NO lpd_flags="-s" # -s "secure" unix domain only
151 sshd=NO sshd_flags=""
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 isdnd=NO isdnd_flags=""
211
212 # Other daemons.
213 #
214 rwhod=NO
215
216 # Hardware daemons.
217 #
218 apmd=NO apmd_flags="" # APM power management daemon.
219 poffd=NO # x68k power switch monitor
220 poffd_flags="'shutdown -p now'"
221 screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
222
223 moused=NO # serial mouse handler
224 moused_flags="-p /dev/tty00"
225
226 # Configuration of "wscons" console driver virtual screens.
227 #
228 wscons=NO wscons_flags="" # setup wscons from wscons.conf
229