2000-08-07 01:34:17 +04:00
|
|
|
# $NetBSD: rc.conf,v 1.92 2000/08/06 21:34:17 thorpej Exp $
|
1997-01-05 15:01:54 +03:00
|
|
|
#
|
|
|
|
# see rc.conf(5) for more information.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
1997-08-29 06:24:04 +04:00
|
|
|
# Use program=YES to enable program, NO to disable it. program_flags are
|
|
|
|
# passed to the program on the command line.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# Uncomment this if you want to use local paths in rc.
|
|
|
|
#
|
|
|
|
#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
|
1997-03-10 12:16:13 +03:00
|
|
|
|
1997-08-29 06:24:04 +04:00
|
|
|
# If this is not set to YES, the system will drop into single-user mode.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
1997-08-29 06:24:04 +04:00
|
|
|
rc_configured=NO
|
1997-07-22 22:41:08 +04:00
|
|
|
|
1998-10-29 23:24:56 +03:00
|
|
|
# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
1998-10-29 23:24:56 +03:00
|
|
|
do_rcshutdown=YES
|
|
|
|
|
1997-05-12 15:33:31 +04:00
|
|
|
# Basic network configuration
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
1998-05-11 23:01:13 +04:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
|
|
|
|
# If blank, use /etc/myname.
|
|
|
|
#
|
|
|
|
hostname=""
|
1998-05-11 23:01:13 +04:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# If there's only one way out of your network, set this to the hostname
|
1998-05-11 23:01:13 +04:00
|
|
|
# or the IP address of the router that will get your packets off the LAN.
|
2000-07-21 04:25:31 +04:00
|
|
|
# If blank, use /etc/mygate.
|
|
|
|
#
|
|
|
|
defaultroute=""
|
1997-05-12 15:33:31 +04:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# The NIS domain name (formerly known as Yellow Pages); not in any way
|
1998-05-11 23:01:13 +04:00
|
|
|
# related to Internet domain names.
|
2000-07-21 04:25:31 +04:00
|
|
|
# If blank, use /etc/defaultdomain.
|
|
|
|
#
|
|
|
|
domainname=""
|
1998-05-11 23:01:13 +04:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Filesystems to mount early in boot-up.
|
2000-07-22 05:09:44 +04:00
|
|
|
# Note that `/var' is needed in $critical_filesystems_beforenet (or
|
|
|
|
# implied as part of `/') as certain services that need /var (such as
|
|
|
|
# dhclient) may be needed to get the network operational enough to mount
|
|
|
|
# the $critical_filesystems.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
2000-07-22 05:09:44 +04:00
|
|
|
critical_filesystems_beforenet="/var"
|
|
|
|
critical_filesystems="/usr"
|
1997-10-10 13:37:54 +04:00
|
|
|
|
1997-11-23 07:17:57 +03:00
|
|
|
# Set this to YES if you have purposefully setup no swap partitions and
|
2000-07-21 04:25:31 +04:00
|
|
|
# don't want to be warned about it.
|
|
|
|
#
|
1998-01-26 15:01:35 +03:00
|
|
|
no_swap=NO
|
1997-11-23 07:17:57 +03:00
|
|
|
|
1997-08-29 06:24:04 +04:00
|
|
|
# One-time actions and programs on boot-up.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
1998-09-14 22:22:20 +04:00
|
|
|
lkm=NO # run /etc/rc.lkm
|
1999-12-06 23:38:13 +03:00
|
|
|
savecore=YES savecore_flags="-z"
|
2000-03-07 17:33:13 +03:00
|
|
|
clear_tmp=YES # clear /tmp after reboot
|
1997-08-29 06:24:04 +04:00
|
|
|
update_motd=YES # updates /etc/motd
|
1999-01-12 15:42:46 +03:00
|
|
|
dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
|
1999-11-23 11:05:04 +03:00
|
|
|
accounting=NO # needs /var/account/acct
|
1997-04-23 05:24:22 +04:00
|
|
|
|
2000-04-10 01:00:04 +04:00
|
|
|
# NOTE: default coredump name now set in /etc/sysctl.conf
|
|
|
|
|
|
|
|
# Security setting. If $securelevel is non-empty, the system securelevel
|
|
|
|
# is set to this value early in the boot sequence. Otherwise the default
|
|
|
|
# action is taken (see init(8)).
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
2000-04-10 01:00:04 +04:00
|
|
|
securelevel="" # securelevel to set to
|
|
|
|
|
1999-12-23 01:55:49 +03:00
|
|
|
# To set the IP address of an interface either use
|
2000-07-21 04:25:31 +04:00
|
|
|
# ifconfig_xxN="IP-NO"
|
|
|
|
# where xxN is the interface. If this variable is not set then
|
1999-12-23 01:55:49 +03:00
|
|
|
# contents of the file /etc/ifconfig.xxN is used.
|
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Networking startup.
|
|
|
|
#
|
1997-08-29 06:24:04 +04:00
|
|
|
ipfilter=NO # uses /etc/ipf.conf
|
1997-12-20 23:11:53 +03:00
|
|
|
ipnat=NO # uses /etc/ipnat.conf
|
2000-06-13 20:29:53 +04:00
|
|
|
ipsec=NO # uses /etc/ipsec.conf
|
1997-10-07 16:11:48 +04:00
|
|
|
ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages
|
1997-08-29 06:24:04 +04:00
|
|
|
auto_ifconfig=YES # config all avail. interfaces
|
|
|
|
net_interfaces="" # used only if above is NO
|
|
|
|
flushroutes=YES # flush routes in netstart
|
1999-04-22 01:58:29 +04:00
|
|
|
dhclient=NO # behave as a DHCP client
|
1999-04-09 19:18:51 +04:00
|
|
|
dhclient_flags="" # blank: config all interfaces
|
1997-08-29 14:22:24 +04:00
|
|
|
ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf
|
1997-11-17 20:45:28 +03:00
|
|
|
ppp_peers="" # /etc/ppp/peers to call
|
2000-02-05 20:02:42 +03:00
|
|
|
ip6mode=host # host, autohost or router
|
|
|
|
rtsol=NO rtsol_flags="" # for ip6mode=autohost only
|
1997-03-23 10:57:24 +03:00
|
|
|
|
1999-11-05 14:19:49 +03:00
|
|
|
# Daemons required by servers. These are not needed for strictly client use.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
|
|
|
|
2000-07-02 22:18:20 +04:00
|
|
|
# inetd is used to start the IP-based services enabled in /etc/inetd.conf
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
1997-09-07 23:13:50 +04:00
|
|
|
inetd=YES inetd_flags="-l" # -l logs libwrap
|
2000-07-21 04:25:31 +04:00
|
|
|
|
2000-06-03 21:23:59 +04:00
|
|
|
# rpcbind is used to look up RPC-based services.
|
2000-07-21 04:25:31 +04:00
|
|
|
#
|
2000-06-03 03:23:27 +04:00
|
|
|
rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
|
1997-03-23 10:57:24 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Commonly used daemons.
|
|
|
|
#
|
1999-04-29 22:26:43 +04:00
|
|
|
syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
|
1999-01-12 07:58:37 +03:00
|
|
|
cron=YES
|
1997-08-29 06:24:04 +04:00
|
|
|
named=NO named_flags=""
|
|
|
|
timed=NO timed_flags=""
|
2000-05-02 16:17:28 +04:00
|
|
|
ntpd=NO ntpd_flags=""
|
1997-08-29 14:22:24 +04:00
|
|
|
sendmail=NO sendmail_flags="-bd -q30m"
|
2000-04-26 09:28:03 +04:00
|
|
|
postfix=NO
|
1999-04-29 22:26:43 +04:00
|
|
|
lpd=NO lpd_flags="-s" # -s "secure" unix domain only
|
2000-08-01 00:47:41 +04:00
|
|
|
sshd=NO sshd_flags=""
|
1997-03-23 10:57:24 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Routing daemons.
|
|
|
|
#
|
1997-08-29 06:24:04 +04:00
|
|
|
routed=NO routed_flags="-q"
|
|
|
|
gated=NO gated_flags=""
|
|
|
|
mrouted=NO mrouted_flags=""
|
1999-07-03 07:29:29 +04:00
|
|
|
route6d=NO route6d_flags=""
|
2000-02-05 20:02:42 +03:00
|
|
|
rtsold=NO rtsold_flags="" # for ip6mode=autohost only
|
1997-03-23 10:57:24 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Daemons used to boot other hosts over a network.
|
|
|
|
#
|
1997-08-29 06:24:04 +04:00
|
|
|
rarpd=NO rarpd_flags="-a"
|
|
|
|
bootparamd=NO bootparamd_flags=""
|
1997-12-03 19:41:53 +03:00
|
|
|
dhcpd=NO dhcpd_flags="-q"
|
1999-03-26 16:10:17 +03:00
|
|
|
dhcrelay=NO dhcrelay_flags=""
|
1997-08-29 06:24:04 +04:00
|
|
|
rbootd=NO rbootd_flags=""
|
|
|
|
mopd=NO mopd_flags="-a"
|
1999-07-03 07:29:29 +04:00
|
|
|
rtadvd=NO rtadvd_flags=""
|
1997-03-23 10:57:24 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# X11 daemons.
|
|
|
|
#
|
1997-11-11 05:28:58 +03:00
|
|
|
xfs=NO xfs_flags="" # X11 font server
|
2000-07-21 04:25:31 +04:00
|
|
|
xdm=NO xdm_flags="" # X11 display manager; needs
|
|
|
|
# wscons=YES for local displays.
|
1997-11-11 05:28:58 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# YP (NIS) daemons.
|
|
|
|
#
|
1997-08-29 06:24:04 +04:00
|
|
|
ypbind=NO ypbind_flags=""
|
|
|
|
ypserv=NO ypserv_flags="-d"
|
|
|
|
yppasswdd=NO yppasswdd_flags=""
|
1997-03-23 10:57:24 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# NFS daemons and parameters.
|
|
|
|
#
|
1997-08-29 14:22:24 +04:00
|
|
|
nfs_client=NO # enable client daemons
|
1997-08-29 06:24:04 +04:00
|
|
|
nfs_server=NO # enable server daemons
|
|
|
|
mountd_flags=""
|
2000-06-09 04:08:02 +04:00
|
|
|
nfsd_flags="-6tun 4"
|
1997-08-29 06:24:04 +04:00
|
|
|
lockd=NO lockd_flags=""
|
|
|
|
statd=NO statd_flags=""
|
|
|
|
amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
|
|
|
|
amd_dir=/amd # mount dir
|
|
|
|
amd_master=/etc/amd/master # master map
|
1997-03-23 10:57:24 +03:00
|
|
|
|
2000-08-07 01:34:17 +04:00
|
|
|
# Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
|
|
|
|
kdc=NO kdc_flags=""
|
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Other daemons.
|
|
|
|
#
|
1997-08-29 14:22:24 +04:00
|
|
|
rwhod=NO
|
1998-12-22 16:58:37 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Hardware daemons.
|
|
|
|
#
|
1998-12-22 16:58:37 +03:00
|
|
|
apmd=NO apmd_flags="" # APM power management daemon.
|
1999-08-17 00:01:03 +04:00
|
|
|
screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
|
1999-03-14 17:04:40 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Configuration of "wscons" console driver virtual screens.
|
|
|
|
#
|
1999-03-17 18:49:47 +03:00
|
|
|
wscons=NO wscons_flags="" # run /etc/rc.wscons
|
2000-01-19 00:52:38 +03:00
|
|
|
|
2000-07-21 04:25:31 +04:00
|
|
|
# Read in local configuration.
|
|
|
|
#
|
2000-01-19 01:43:23 +03:00
|
|
|
if [ -f /etc/rc.local.conf ]; then
|
|
|
|
. /etc/rc.local.conf
|
2000-01-19 00:52:38 +03:00
|
|
|
fi
|