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