1999-02-01 03:32:52 +03:00
|
|
|
# $NetBSD: rc.conf,v 1.42 1999/02/01 00:32:52 mrg 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
|
|
|
|
1998-05-11 23:01:13 +04:00
|
|
|
# the NIS domain name (also formerly known as Yellow Pages); not in any way
|
|
|
|
# related to Internet domain names.
|
|
|
|
domainname="" # if blank, use /etc/defaultdomain
|
|
|
|
|
1997-10-10 13:37:54 +04:00
|
|
|
# Filesystems (besides /usr and /var) to mount early in boot-up
|
|
|
|
critical_filesystems=""
|
|
|
|
|
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
|
1997-08-29 06:24:04 +04:00
|
|
|
savecore=YES savecore_flags=""
|
|
|
|
update_motd=YES # updates /etc/motd
|
1999-01-12 15:42:46 +03:00
|
|
|
dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
|
1997-04-23 05:24:22 +04:00
|
|
|
|
1999-01-31 11:46:58 +03:00
|
|
|
# Security setting. If $securelevel is non-empty, the system securelevel
|
1999-02-01 03:32:52 +03:00
|
|
|
# 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-01-31 11:46:58 +03:00
|
|
|
|
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
|
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
|
1997-03-23 10:57:24 +03:00
|
|
|
|
1997-08-29 06:24:04 +04:00
|
|
|
# Daemons required by other daemons
|
1997-09-07 23:13:50 +04:00
|
|
|
inetd=YES inetd_flags="-l" # -l logs libwrap
|
1999-01-12 00:04:38 +03:00
|
|
|
portmap=YES portmap_flags="-l" # -l logs libwrap
|
1997-03-23 10:57:24 +03:00
|
|
|
|
|
|
|
# Commonly used daemons
|
1997-08-29 06:24:04 +04:00
|
|
|
update=YES update_flags="30"
|
|
|
|
syslogd=YES syslogd_flags=""
|
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=""
|
1997-08-29 14:22:24 +04:00
|
|
|
xntpd=NO xntpd_flags="-p /var/run/xntpd.pid"
|
|
|
|
sendmail=NO sendmail_flags="-bd -q30m"
|
1997-10-06 18:10:22 +04:00
|
|
|
lpd=NO lpd_flags=""
|
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=""
|
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"
|
1997-08-29 06:24:04 +04:00
|
|
|
rbootd=NO rbootd_flags=""
|
|
|
|
mopd=NO mopd_flags="-a"
|
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
|
|
|
|
xdm=NO xdm_flags="" # x11 display manager
|
|
|
|
|
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
|
|
|
nfsiod_flags="-n 4"
|
|
|
|
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 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.
|
|
|
|
usbd=NO usbd_flags="" # USB bus attach/detach daemon.
|
1998-04-07 08:47:33 +04:00
|
|
|
screenblank=NO screenblank_flags="" # sparc and sun3 screenblanker
|