rc.conf revision 1.10 1 # $NetBSD: rc.conf,v 1.10 2001/03/12 16:13:17 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
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 # Daemons required by servers. These are not needed for strictly client use.
109 #
110
111 # inetd is used to start the IP-based services enabled in /etc/inetd.conf
112 #
113 inetd=YES inetd_flags="-l" # -l logs libwrap
114
115 # rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
116 #
117 rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
118
119 # Commonly used daemons.
120 #
121 syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
122 cron=YES
123 named=NO named_flags="" # see below for named_chrootdir
124 timed=NO timed_flags=""
125 ntpd=NO ntpd_flags=""
126 sendmail=NO sendmail_flags="-bd -q30m"
127 postfix=NO
128 lpd=NO lpd_flags="-s" # -s "secure" unix domain only
129 sshd=NO sshd_flags=""
130
131 # To run the named(8) DNS server as an unprivileged user under a
132 # chroot(2) cage, uncomment the following after migrating the contents
133 # of /etc/namedb to /var/named/etc/namedb
134 #
135 #named_chrootdir="/var/named"
136
137 # Routing daemons.
138 #
139 routed=NO routed_flags="-q"
140 gated=NO gated_flags=""
141 mrouted=NO mrouted_flags=""
142 route6d=NO route6d_flags=""
143 rtsold=NO rtsold_flags="" # for ip6mode=autohost only
144
145 # Daemons used to boot other hosts over a network.
146 #
147 rarpd=NO rarpd_flags="-a"
148 bootparamd=NO bootparamd_flags=""
149 dhcpd=NO dhcpd_flags="-q"
150 dhcrelay=NO dhcrelay_flags=""
151 rbootd=NO rbootd_flags=""
152 mopd=NO mopd_flags="-a"
153 rtadvd=NO rtadvd_flags=""
154
155 # X11 daemons.
156 #
157 xfs=NO xfs_flags="" # X11 font server
158 xdm=NO xdm_flags="" # X11 display manager; needs
159 # wscons=YES for local displays.
160
161 # YP (NIS) daemons.
162 #
163 ypbind=NO ypbind_flags=""
164 ypserv=NO ypserv_flags="-d"
165 yppasswdd=NO yppasswdd_flags=""
166
167 # NFS daemons and parameters.
168 #
169 nfs_client=NO # enable client daemons
170 nfs_server=NO # enable server daemons
171 mountd_flags=""
172 nfsd_flags="-6tun 4"
173 lockd=NO lockd_flags=""
174 statd=NO statd_flags=""
175 amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
176 amd_dir=/amd # mount dir
177
178 # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
179 kdc=NO kdc_flags=""
180
181 # ISDN daemon
182 # The network interfaces used for isdn are not usefull without the isdnd
183 # running. Therefor they are usually configured "down" first (i.e. in
184 # /etc/ifconfig.isp0) and need to be marked "up" when the daemon is
185 # running. This will happen automatically for all configured isdn interfaces
186 # if this isdn_interfaces is left empty. If this behaviour is not desired
187 # for certain interfaces, set isdn_interfaces to the list of interfaces,
188 # where it should happen. To disable it completely, set isdn_autoupdown to
189 # NO.
190 isdnd=NO isdnd_flags=""
191 isdn_autoupdown=YES
192 isdn_interfaces=""
193
194 # Other daemons.
195 #
196 rwhod=NO
197
198 # Hardware daemons.
199 #
200 apmd=NO apmd_flags="" # APM power management daemon.
201 poffd=NO # x68k power switch monitor
202 poffd_flags="'shutdown -p now'"
203 screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
204
205 # Configuration of "wscons" console driver virtual screens.
206 #
207 wscons=NO wscons_flags="" # setup wscons from wscons.conf
208