rc.conf revision 1.2 1 # $NetBSD: rc.conf,v 1.2 2000/11/08 23:17:50 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 # 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 rtsol=NO rtsol_flags="" # for ip6mode=autohost only
97
98 # Daemons required by servers. These are not needed for strictly client use.
99 #
100
101 # inetd is used to start the IP-based services enabled in /etc/inetd.conf
102 #
103 inetd=YES inetd_flags="-l" # -l logs libwrap
104
105 # rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
106 #
107 rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
108
109 # Commonly used daemons.
110 #
111 syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
112 cron=YES
113 named=NO named_flags=""
114 timed=NO timed_flags=""
115 ntpd=NO ntpd_flags=""
116 sendmail=NO sendmail_flags="-bd -q30m"
117 postfix=NO
118 lpd=NO lpd_flags="-s" # -s "secure" unix domain only
119 sshd=NO sshd_flags=""
120
121 # Routing daemons.
122 #
123 routed=NO routed_flags="-q"
124 gated=NO gated_flags=""
125 mrouted=NO mrouted_flags=""
126 route6d=NO route6d_flags=""
127 rtsold=NO rtsold_flags="" # for ip6mode=autohost only
128
129 # Daemons used to boot other hosts over a network.
130 #
131 rarpd=NO rarpd_flags="-a"
132 bootparamd=NO bootparamd_flags=""
133 dhcpd=NO dhcpd_flags="-q"
134 dhcrelay=NO dhcrelay_flags=""
135 rbootd=NO rbootd_flags=""
136 mopd=NO mopd_flags="-a"
137 rtadvd=NO rtadvd_flags=""
138
139 # X11 daemons.
140 #
141 xfs=NO xfs_flags="" # X11 font server
142 xdm=NO xdm_flags="" # X11 display manager; needs
143 # wscons=YES for local displays.
144
145 # YP (NIS) daemons.
146 #
147 ypbind=NO ypbind_flags=""
148 ypserv=NO ypserv_flags="-d"
149 yppasswdd=NO yppasswdd_flags=""
150
151 # NFS daemons and parameters.
152 #
153 nfs_client=NO # enable client daemons
154 nfs_server=NO # enable server daemons
155 mountd_flags=""
156 nfsd_flags="-6tun 4"
157 lockd=NO lockd_flags=""
158 statd=NO statd_flags=""
159 amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
160 amd_dir=/amd # mount dir
161 amd_master=/etc/amd/master # master map
162
163 # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
164 kdc=NO kdc_flags=""
165
166 # Other daemons.
167 #
168 rwhod=NO
169
170 # Hardware daemons.
171 #
172 apmd=NO apmd_flags="" # APM power management daemon.
173 screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
174
175 # Configuration of "wscons" console driver virtual screens.
176 #
177 wscons=NO wscons_flags="" # setup wscons from wscons.conf
178