rc.conf revision 1.9 1 # $NetBSD: rc.conf,v 1.9 2001/02/28 16:52:04 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=""
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 # Routing daemons.
132 #
133 routed=NO routed_flags="-q"
134 gated=NO gated_flags=""
135 mrouted=NO mrouted_flags=""
136 route6d=NO route6d_flags=""
137 rtsold=NO rtsold_flags="" # for ip6mode=autohost only
138
139 # Daemons used to boot other hosts over a network.
140 #
141 rarpd=NO rarpd_flags="-a"
142 bootparamd=NO bootparamd_flags=""
143 dhcpd=NO dhcpd_flags="-q"
144 dhcrelay=NO dhcrelay_flags=""
145 rbootd=NO rbootd_flags=""
146 mopd=NO mopd_flags="-a"
147 rtadvd=NO rtadvd_flags=""
148
149 # X11 daemons.
150 #
151 xfs=NO xfs_flags="" # X11 font server
152 xdm=NO xdm_flags="" # X11 display manager; needs
153 # wscons=YES for local displays.
154
155 # YP (NIS) daemons.
156 #
157 ypbind=NO ypbind_flags=""
158 ypserv=NO ypserv_flags="-d"
159 yppasswdd=NO yppasswdd_flags=""
160
161 # NFS daemons and parameters.
162 #
163 nfs_client=NO # enable client daemons
164 nfs_server=NO # enable server daemons
165 mountd_flags=""
166 nfsd_flags="-6tun 4"
167 lockd=NO lockd_flags=""
168 statd=NO statd_flags=""
169 amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
170 amd_dir=/amd # mount dir
171
172 # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
173 kdc=NO kdc_flags=""
174
175 # ISDN daemon
176 # The network interfaces used for isdn are not usefull without the isdnd
177 # running. Therefor they are usually configured "down" first (i.e. in
178 # /etc/ifconfig.isp0) and need to be marked "up" when the daemon is
179 # running. This will happen automatically for all configured isdn interfaces
180 # if this isdn_interfaces is left empty. If this behaviour is not desired
181 # for certain interfaces, set isdn_interfaces to the list of interfaces,
182 # where it should happen. To disable it completely, set isdn_autoupdown to
183 # NO.
184 isdnd=NO isdnd_flags=""
185 isdn_autoupdown=YES
186 isdn_interfaces=""
187
188 # Other daemons.
189 #
190 rwhod=NO
191
192 # Hardware daemons.
193 #
194 apmd=NO apmd_flags="" # APM power management daemon.
195 poffd=NO # x68k power switch monitor
196 poffd_flags="'shutdown -p now'"
197 screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
198
199 # Configuration of "wscons" console driver virtual screens.
200 #
201 wscons=NO wscons_flags="" # setup wscons from wscons.conf
202