2000-06-09 04:08:02 +04:00
|
|
|
# $NetBSD: rc.conf,v 1.84 2000/06/09 00:08:02 fvdl Exp $
|
1997-01-05 15:01:54 +03:00
|
|
|
#
|
|
|
|
# see rc.conf(5) for more information.
|
|
|
|
|
|
|
|
# uncomment this if you want to use local paths in rc
|
1998-08-04 08:09:05 +04:00
|
|
|
#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
|
1997-01-05 15:01:54 +03: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.
|
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.
|
|
|
|
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.
|
|
|
|
do_rcshutdown=YES
|
|
|
|
|
1997-05-12 15:33:31 +04:00
|
|
|
# Basic network configuration
|
1998-05-11 23:01:13 +04:00
|
|
|
|
|
|
|
# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu)
|
1998-01-26 15:01:35 +03:00
|
|
|
hostname="" # if blank, use /etc/myname
|
1998-05-11 23:01:13 +04: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 15:01:35 +03:00
|
|
|
defaultroute="" # if blank, use /etc/mygate
|
1997-05-12 15:33:31 +04:00
|
|
|
|
1999-05-18 07:30:02 +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.
|
|
|
|
domainname="" # if blank, use /etc/defaultdomain
|
|
|
|
|
1999-04-29 03:32:29 +04:00
|
|
|
# Filesystems to mount early in boot-up
|
1999-12-31 07:42:02 +03:00
|
|
|
critical_filesystems_beforenet="/usr /var"
|
1999-07-08 01:24:56 +04:00
|
|
|
critical_filesystems=""
|
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
|
|
|
|
# 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.
|
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)).
|
|
|
|
securelevel="" # securelevel to set to
|
|
|
|
|
1999-12-23 01:55:49 +03: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 06:24:04 +04:00
|
|
|
# Networking startup
|
|
|
|
ipfilter=NO # uses /etc/ipf.conf
|
1997-12-20 23:11:53 +03:00
|
|
|
ipnat=NO # uses /etc/ipnat.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
|
2000-02-13 10:47:26 +03:00
|
|
|
ip6defaultif="" # for ip6mode=host/autohost only
|
2000-02-05 20:02:42 +03:00
|
|
|
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.
|
|
|
|
# inetd is used to start many IP-based services.
|
1997-09-07 23:13:50 +04:00
|
|
|
inetd=YES inetd_flags="-l" # -l logs libwrap
|
2000-06-03 21:23:59 +04:00
|
|
|
# rpcbind is used to look up RPC-based services.
|
2000-06-03 03:23:27 +04:00
|
|
|
rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
|
1997-03-23 10:57:24 +03: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
|
1997-03-23 10:57:24 +03:00
|
|
|
|
1997-08-29 06:24:04 +04:00
|
|
|
# Routing daemons
|
|
|
|
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
|
|
|
|
1997-08-29 06:24:04 +04:00
|
|
|
# Daemons used to boot other hosts over a network
|
|
|
|
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
|
|
|
|
1997-11-11 05:28:58 +03:00
|
|
|
# X11 daemons:
|
|
|
|
xfs=NO xfs_flags="" # X11 font server
|
1999-12-23 15:22:13 +03:00
|
|
|
xdm=NO xdm_flags="" # X11 display manager
|
1997-11-11 05:28:58 +03:00
|
|
|
|
1997-03-23 10:57:24 +03: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
|
|
|
|
1997-08-29 06:24:04 +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
|
|
|
|
1997-08-29 06:24:04 +04:00
|
|
|
# Other daemons
|
1997-08-29 14:22:24 +04:00
|
|
|
rwhod=NO
|
1997-08-29 06:24:04 +04:00
|
|
|
kerberos=NO
|
1998-12-22 16:58:37 +03:00
|
|
|
|
|
|
|
# Hardware daemons
|
|
|
|
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
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
# Add local configurations
|
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
|