Annotation of src/etc/defaults/rc.conf, Revision 1.79.2.1
1.79.2.1! tron 1: # $NetBSD$
1.1 lukem 2: #
3: # /etc/defaults/rc.conf --
4: # default configuration of /etc/rc.conf
5: #
6: # see rc.conf(5) for more information.
1.2 lukem 7: #
8: # DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING A SYSTEM UPGRADE.
9: # EDIT /etc/rc.conf INSTEAD.
1.1 lukem 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
1.9 lukem 20:
1.17 lukem 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).
1.9 lukem 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
1.1 lukem 28:
1.37 lukem 29: # Additional flags to the rcorder(8) that's run by /etc/rc.
30: #
31: rc_rcorder_flags=""
32:
1.1 lukem 33: # If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
34: #
35: do_rcshutdown=YES
1.37 lukem 36:
37: # Additional flags to the rcorder(8) that's run by /etc/rc.shutdown.
38: #
39: rcshutdown_rcorder_flags=""
1.17 lukem 40:
41: # If this is non-blank, use as the number of seconds to run a watchdog
42: # timer which will terminate /etc/rc.shutdown if the timeout expires.
43: #
44: rcshutdown_timeout=""
45:
1.1 lukem 46:
47: # Basic network configuration
48: #
49:
50: # Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
51: # If blank, use /etc/myname.
52: #
53: hostname=""
54:
1.74 ghen 55: # If there's only one way out of your IPv4 network, set this to the hostname
56: # or the IPv4 address of the router that will get your packets off the LAN.
1.1 lukem 57: # If blank, use /etc/mygate.
58: #
59: defaultroute=""
60:
1.74 ghen 61: # Same thing for IPv6. If blank, use /etc/mygate6.
62: #
63: defaultroute6=""
64:
1.1 lukem 65: # The NIS domain name (formerly known as Yellow Pages); not in any way
66: # related to Internet domain names.
67: # If blank, use /etc/defaultdomain.
68: #
69: domainname=""
70:
71: # Filesystems to mount early in boot-up.
1.34 lukem 72: # Note that `/var' is needed in $critical_filesystems_local (or
1.1 lukem 73: # implied as part of `/') as certain services that need /var (such as
74: # dhclient) may be needed to get the network operational enough to mount
1.34 lukem 75: # the $critical_filesystems_remote.
1.1 lukem 76: #
1.34 lukem 77: critical_filesystems_local="/var"
78: critical_filesystems_remote="/usr"
1.1 lukem 79:
1.33 lukem 80: # Swap device controls.
1.1 lukem 81: #
1.33 lukem 82: no_swap=NO # Set to YES if you have purposefully setup no swap
83: # partitions and don't want to be warned about it.
1.64 christos 84: swapoff=YES # Remove block-type swap partitions upon shutdown
85: # This defaults to yes, so that raids shutdown cleanly
1.46 wiz 86:
87: # Concatenated disk driver.
88: #
89: ccd=YES
1.50 wiz 90:
91: # RAIDframe driver (manually configured devices).
92: #
93: raidframe=YES
1.45 wiz 94:
95: # Crypto file system.
96: #
97: cgd=YES
1.1 lukem 98:
99: # One-time actions and programs on boot-up.
100: #
1.44 lukem 101: lkm=NO # Run /etc/rc.lkm. /usr needs to be part of /, or
102: # part of critical_filesystems_local.
103:
1.1 lukem 104: savecore=YES savecore_flags="-z"
1.61 atatat 105: savecore_dir="/var/crash"
1.1 lukem 106: clear_tmp=YES # clear /tmp after reboot
107: update_motd=YES # updates /etc/motd
108: dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
1.14 jdolecek 109: accounting=NO # uses /var/account/acct
1.1 lukem 110: newsyslog=NO newsyslog_flags="" # trim log files
1.59 abs 111: quota=YES # check and enable quotas
112: ldconfig=YES # rebuild a.out ldconfig cache
1.1 lukem 113:
1.52 martin 114: # cope with other OSes using the real time clock at localtime on this
115: # machine (by adjusting kern.rtc_offset at boot)
116: rtclocaltime=NO
117:
1.1 lukem 118: # NOTE: default coredump name now set in /etc/sysctl.conf
1.51 christos 119:
1.58 dbj 120: # Automatically check for and repair the botched superblock problem
121: fixsb=YES
122:
1.51 christos 123: #
124: # File system check flags; default to preen mode, checking filesystems
125: # that are listed in /etc/fstab in parallel as the fsck pass number
126: # permits. Fix minor faults automatically, and exit with non 0 only
127: # when major errors occur.
128: #
129: fsck_flags=-p
1.1 lukem 130:
131: # Security setting. If $securelevel is non-empty, the system securelevel
132: # is set to this value early in the boot sequence. Otherwise the default
133: # action is taken (see init(8)).
134: #
135: securelevel="" # securelevel to set to
136:
137: # To set the IP address of an interface either use
138: # ifconfig_xxN="IP-NO"
139: # where xxN is the interface. If this variable is not set then
140: # contents of the file /etc/ifconfig.xxN is used.
141:
142: # Networking startup.
143: #
144: ipfilter=NO # uses /etc/ipf.conf
145: ipnat=NO # uses /etc/ipnat.conf
1.28 martti 146: ipfs=NO ipfs_flags="" # save/load ipnat and ipf states
1.1 lukem 147: ipsec=NO # uses /etc/ipsec.conf
1.57 mrg 148: ipmon=NO ipmon_flags="-Dns" # syslog ipfilter messages
1.66 peter 149: pf=NO pf_rules="/etc/pf.conf"
1.60 martin 150: pflogd=NO
1.8 thorpej 151: racoon=NO # IKE daemon
1.1 lukem 152: auto_ifconfig=YES # config all avail. interfaces
153: net_interfaces="" # used only if above is NO
154: flushroutes=YES # flush routes in netstart
155: dhclient=NO # behave as a DHCP client
1.27 lukem 156: dhclient_flags="" # blank: config all interfaces
1.1 lukem 157: ntpdate=NO ntpdate_flags="-b -s" # May need '-u' thru firewall
158: ppp_peers="" # /etc/ppp/peers to call
159: ip6mode=host # host, autohost or router
1.71 rpaulo 160: ip6uniquelocal=NO # IPv6 unique-local forwarding
1.22 hubertf 161: rtsol=NO rtsol_flags="-a" # for ip6mode=autohost only
1.20 martin 162:
163: # Special treatment for interfaces that need to be downed on
1.63 dsainty 164: # shutdown (because they might cause unnecessary costs or block resources
1.20 martin 165: # on the peer). All pppoe* interfaces are automatically included in this
166: # list, add others here manually.
1.44 lukem 167: #force_down_interfaces=""
1.25 martin 168:
169: ifwatchd=NO # execute up/down scripts for in-kernel PPPoE interfaces
170: ifwatchd_flags="-u /etc/ppp/ip-up -d /etc/ppp/ip-down pppoe0"
1.11 thorpej 171:
172: # ALTQ configuration/monitoring daemon
173: altqd=NO altqd_flags=""
1.1 lukem 174:
175: # Daemons required by servers. These are not needed for strictly client use.
176: #
177:
178: # inetd is used to start the IP-based services enabled in /etc/inetd.conf
179: #
180: inetd=YES inetd_flags="-l" # -l logs libwrap
181:
1.55 christos 182: # identd
183: #
184: identd=NO identd_flags="-b -l -u nobody"
185:
1.1 lukem 186: # rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
187: #
188: rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
189:
190: # Commonly used daemons.
191: #
192: syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
193: cron=YES
1.10 lukem 194: named=NO named_flags="" # see below for named_chrootdir
1.1 lukem 195: timed=NO timed_flags=""
1.26 lukem 196: ntpd=NO ntpd_flags="" # see below for ntpd_chrootdir
1.77 christos 197: postfix=YES
1.1 lukem 198: lpd=NO lpd_flags="-s" # -s "secure" unix domain only
199: sshd=NO sshd_flags=""
1.56 jonb 200: ssh_keygen_flags="-b 1024" # generate 1024 bit keys if host keys missing
1.68 peter 201: ftpd=NO ftpd_flags="-ll"
1.47 atatat 202:
1.10 lukem 203: # To run the named(8) DNS server as an unprivileged user under a
204: # chroot(2) cage, uncomment the following after migrating the contents
1.23 lukem 205: # of /etc/namedb to /var/chroot/named/etc/namedb
1.10 lukem 206: #
1.23 lukem 207: #named_chrootdir="/var/chroot/named"
1.26 lukem 208:
209: # To run the ntpd(8) NTP server as an unprivileged user under a
1.39 lukem 210: # chroot(2) cage, uncomment the following, after ensuring that:
211: # - The kernel has "pseudo-device clockctl" compiled in
212: # - /dev/clockctl is present
1.26 lukem 213: #
214: #ntpd_chrootdir="/var/chroot/ntpd"
1.1 lukem 215:
216: # Routing daemons.
217: #
218: routed=NO routed_flags="-q"
1.13 pk 219: gated=NO
1.1 lukem 220: mrouted=NO mrouted_flags=""
221: route6d=NO route6d_flags=""
222: rtsold=NO rtsold_flags="" # for ip6mode=autohost only
223:
224: # Daemons used to boot other hosts over a network.
225: #
226: rarpd=NO rarpd_flags="-a"
227: bootparamd=NO bootparamd_flags=""
228: dhcpd=NO dhcpd_flags="-q"
229: dhcrelay=NO dhcrelay_flags=""
230: rbootd=NO rbootd_flags=""
231: mopd=NO mopd_flags="-a"
1.16 fredette 232: ndbootd=NO ndbootd_flags="-s /tftpboot /tftpboot/bootyy"
1.1 lukem 233: rtadvd=NO rtadvd_flags=""
234:
235: # X11 daemons.
236: #
237: xfs=NO xfs_flags="" # X11 font server
238: xdm=NO xdm_flags="" # X11 display manager; needs
239: # wscons=YES for local displays.
240:
241: # YP (NIS) daemons.
242: #
243: ypbind=NO ypbind_flags=""
244: ypserv=NO ypserv_flags="-d"
245: yppasswdd=NO yppasswdd_flags=""
246:
247: # NFS daemons and parameters.
248: #
1.18 lukem 249: mountd=NO mountd_flags="" # NFS mount requests daemon
1.1 lukem 250: nfs_client=NO # enable client daemons
251: nfs_server=NO # enable server daemons
252: nfsd_flags="-6tun 4"
253: lockd=NO lockd_flags=""
254: statd=NO statd_flags=""
255: amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
256: amd_dir=/amd # mount dir
257:
258: # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
259: kdc=NO kdc_flags=""
1.5 martin 260:
1.73 agc 261: # iSCSI target
262: iscsi_target=NO iscsi_target_flags=""
263:
1.75 rpaulo 264: # WPA daemons.
265: hostapd=NO hostapd_flags="-B /etc/hostapd.conf"
266:
1.5 martin 267: # ISDN daemon
268: isdnd=NO isdnd_flags=""
1.1 lukem 269:
1.78 gdamore 270: # Bluetooth daemons
271: btconfig=NO # Bluetooth controller configuration
1.79.2.1! tron 272: btdevctl=NO # Bluetooth device configuration
1.78 gdamore 273: bthcid=NO bthcid_flags="" # Bluetooth HCI daemon
274: sdpd=NO # Service Discovery daemon
275:
1.1 lukem 276: # Other daemons.
277: #
1.69 tsarna 278: rwhod=NO rwhod_flags="-u _rwhod"
1.1 lukem 279:
280: # Hardware daemons.
281: #
282: apmd=NO apmd_flags="" # APM power management daemon.
1.7 minoura 283: poffd=NO # x68k power switch monitor
284: poffd_flags="'shutdown -p now'"
1.49 thorpej 285: powerd=NO powerd_flags="" # power management daemon
1.1 lukem 286: screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
1.24 augustss 287:
288: moused=NO # serial mouse handler
289: moused_flags="-p /dev/tty00"
1.41 thorpej 290:
291: wdogctl=NO # watchdog timer control
292: # wdogctl_flags="-k devicename"
1.76 rpaulo 293: irdaattach=NO # attach serial lines to IrDA
294: irdaattach_flags="tty00"
1.1 lukem 295:
296: # Configuration of "wscons" console driver virtual screens.
297: #
298: wscons=NO wscons_flags="" # setup wscons from wscons.conf
1.40 christos 299:
300: # Configuration of "wsmoused" console driver cut-n-paste support
301: #
302: wsmoused=NO wsmoused_flags=""
1.42 takemura 303:
304: # Configuration of "tpctl" touch panel calibration utility
305: #
306: tpctl=NO tpctl_flags=""
1.43 kent 307:
308: # Mixer setting
309: #
310: mixerctl=NO mixerctl_mixers="" # "mixer0 mixer1" means saving
311: # and restoring their settings
1.53 uebayasi 312:
313: # Vi recovery notification. Vi(1)'s -r option can recover files which were
1.63 dsainty 314: # accidentally closed. See vi(1) for more details.
1.53 uebayasi 315: #
316: virecover=YES
1.54 blymn 317:
318: # Verified exec signature loading.
319: #
320: veriexec=NO
1.70 elad 321: veriexec_strict=0
322: veriexec_verbose=0
CVSweb <webmaster@jp.NetBSD.org>