Annotation of src/etc/rc.conf, Revision 1.85.2.5
1.85.2.5! lukem 1: # $NetBSD: rc.conf,v 1.91 2000/07/31 20:47:41 jwise Exp $
1.1 mrg 2: #
3: # see rc.conf(5) for more information.
1.85.2.5! lukem 4: #
1.16 cjs 5: # Use program=YES to enable program, NO to disable it. program_flags are
6: # passed to the program on the command line.
1.85.2.5! lukem 7: #
! 8:
! 9: # Uncomment this if you want to use local paths in rc.
! 10: #
! 11: #export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
1.14 phil 12:
1.16 cjs 13: # If this is not set to YES, the system will drop into single-user mode.
1.85.2.5! lukem 14: #
1.16 cjs 15: rc_configured=NO
1.35 bad 16:
17: # If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
1.85.2.5! lukem 18: #
1.35 bad 19: do_rcshutdown=YES
1.13 lukem 20:
21: # Basic network configuration
1.85.2.5! lukem 22: #
1.30 fair 23:
1.85.2.5! lukem 24: # Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
! 25: # If blank, use /etc/myname.
! 26: #
! 27: hostname=""
1.30 fair 28:
1.85.2.5! lukem 29: # If there's only one way out of your network, set this to the hostname
1.30 fair 30: # or the IP address of the router that will get your packets off the LAN.
1.85.2.5! lukem 31: # If blank, use /etc/mygate.
! 32: #
! 33: defaultroute=""
1.30 fair 34:
1.85.2.5! lukem 35: # The NIS domain name (formerly known as Yellow Pages); not in any way
1.30 fair 36: # related to Internet domain names.
1.85.2.5! lukem 37: # If blank, use /etc/defaultdomain.
! 38: #
! 39: domainname=""
1.22 drochner 40:
1.85.2.5! lukem 41: # Filesystems to mount early in boot-up.
! 42: # Note that `/var' is needed in $critical_filesystems_beforenet (or
! 43: # implied as part of `/') as certain services that need /var (such as
! 44: # dhclient) may be needed to get the network operational enough to mount
! 45: # the $critical_filesystems.
! 46: #
! 47: critical_filesystems_beforenet="/var"
! 48: critical_filesystems="/usr"
1.25 mrg 49:
50: # Set this to YES if you have purposefully setup no swap partitions and
1.85.2.5! lukem 51: # don't want to be warned about it.
! 52: #
1.28 lukem 53: no_swap=NO
1.45 mellon 54:
1.16 cjs 55: # One-time actions and programs on boot-up.
1.85.2.5! lukem 56: #
1.34 tv 57: lkm=NO # run /etc/rc.lkm
1.63 abs 58: savecore=YES savecore_flags="-z"
1.74 jdolecek 59: clear_tmp=YES # clear /tmp after reboot
1.16 cjs 60: update_motd=YES # updates /etc/motd
1.40 mrg 61: dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
1.62 lukem 62: accounting=NO # needs /var/account/acct
1.78 tsarna 63:
64: # NOTE: default coredump name now set in /etc/sysctl.conf
65:
66: # Security setting. If $securelevel is non-empty, the system securelevel
67: # is set to this value early in the boot sequence. Otherwise the default
68: # action is taken (see init(8)).
1.85.2.5! lukem 69: #
1.78 tsarna 70: securelevel="" # securelevel to set to
1.65 augustss 71:
72: # To set the IP address of an interface either use
1.85.2.5! lukem 73: # ifconfig_xxN="IP-NO"
! 74: # where xxN is the interface. If this variable is not set then
1.65 augustss 75: # contents of the file /etc/ifconfig.xxN is used.
1.16 cjs 76:
1.85.2.5! lukem 77: # Networking startup.
! 78: #
1.16 cjs 79: ipfilter=NO # uses /etc/ipf.conf
1.27 christos 80: ipnat=NO # uses /etc/ipnat.conf
1.85 itojun 81: ipsec=NO # uses /etc/ipsec.conf
1.21 lukem 82: ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages
1.16 cjs 83: auto_ifconfig=YES # config all avail. interfaces
84: net_interfaces="" # used only if above is NO
85: flushroutes=YES # flush routes in netstart
1.49 jwise 86: dhclient=NO # behave as a DHCP client
1.48 mellon 87: dhclient_flags="" # blank: config all interfaces
1.17 veego 88: ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf
1.24 mrg 89: ppp_peers="" # /etc/ppp/peers to call
1.72 itojun 90: ip6mode=host # host, autohost or router
91: rtsol=NO rtsol_flags="" # for ip6mode=autohost only
1.16 cjs 92:
1.60 mycroft 93: # Daemons required by servers. These are not needed for strictly client use.
1.85.2.5! lukem 94: #
! 95:
1.85.2.3 thorpej 96: # inetd is used to start the IP-based services enabled in /etc/inetd.conf
1.85.2.5! lukem 97: #
1.18 cjs 98: inetd=YES inetd_flags="-l" # -l logs libwrap
1.85.2.5! lukem 99:
1.83 veego 100: # rpcbind is used to look up RPC-based services.
1.85.2.5! lukem 101: #
1.82 fvdl 102: rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
1.6 cjs 103:
1.85.2.5! lukem 104: # Commonly used daemons.
! 105: #
1.51 perry 106: syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
1.39 jwise 107: cron=YES
1.16 cjs 108: named=NO named_flags=""
109: timed=NO timed_flags=""
1.81 simonb 110: ntpd=NO ntpd_flags=""
1.17 veego 111: sendmail=NO sendmail_flags="-bd -q30m"
1.80 thorpej 112: postfix=NO
1.51 perry 113: lpd=NO lpd_flags="-s" # -s "secure" unix domain only
1.85.2.5! lukem 114: sshd=NO sshd_flags=""
1.16 cjs 115:
1.85.2.5! lukem 116: # Routing daemons.
! 117: #
1.16 cjs 118: routed=NO routed_flags="-q"
119: gated=NO gated_flags=""
120: mrouted=NO mrouted_flags=""
1.54 itojun 121: route6d=NO route6d_flags=""
1.72 itojun 122: rtsold=NO rtsold_flags="" # for ip6mode=autohost only
1.16 cjs 123:
1.85.2.5! lukem 124: # Daemons used to boot other hosts over a network.
! 125: #
1.16 cjs 126: rarpd=NO rarpd_flags="-a"
127: bootparamd=NO bootparamd_flags=""
1.26 chuck 128: dhcpd=NO dhcpd_flags="-q"
1.46 sommerfe 129: dhcrelay=NO dhcrelay_flags=""
1.16 cjs 130: rbootd=NO rbootd_flags=""
131: mopd=NO mopd_flags="-a"
1.54 itojun 132: rtadvd=NO rtadvd_flags=""
1.23 jonathan 133:
1.85.2.5! lukem 134: # X11 daemons.
! 135: #
1.23 jonathan 136: xfs=NO xfs_flags="" # X11 font server
1.85.2.5! lukem 137: xdm=NO xdm_flags="" # X11 display manager; needs
! 138: # wscons=YES for local displays.
1.6 cjs 139:
1.85.2.5! lukem 140: # YP (NIS) daemons.
! 141: #
1.16 cjs 142: ypbind=NO ypbind_flags=""
143: ypserv=NO ypserv_flags="-d"
144: yppasswdd=NO yppasswdd_flags=""
145:
1.85.2.5! lukem 146: # NFS daemons and parameters.
! 147: #
1.17 veego 148: nfs_client=NO # enable client daemons
1.16 cjs 149: nfs_server=NO # enable server daemons
150: mountd_flags=""
1.84 fvdl 151: nfsd_flags="-6tun 4"
1.16 cjs 152: lockd=NO lockd_flags=""
153: statd=NO statd_flags=""
154: amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
155: amd_dir=/amd # mount dir
156: amd_master=/etc/amd/master # master map
157:
1.85.2.4 thorpej 158: # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
1.85.2.5! lukem 159: kdc=NO kdc_flags=""
1.85.2.4 thorpej 160:
1.85.2.5! lukem 161: # Other daemons.
! 162: #
1.17 veego 163: rwhod=NO
1.37 cjs 164:
1.85.2.5! lukem 165: # Hardware daemons.
! 166: #
1.37 cjs 167: apmd=NO apmd_flags="" # APM power management daemon.
1.56 is 168: screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
1.43 drochner 169:
1.85.2.5! lukem 170: # Configuration of "wscons" console driver virtual screens.
! 171: #
1.44 drochner 172: wscons=NO wscons_flags="" # run /etc/rc.wscons
1.69 augustss 173:
1.85.2.5! lukem 174: # Read in local configuration.
! 175: #
1.70 augustss 176: if [ -f /etc/rc.local.conf ]; then
177: . /etc/rc.local.conf
1.69 augustss 178: fi
CVSweb <webmaster@jp.NetBSD.org>