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