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