db20439533
"/usr" must be mounted. mount_critical_filesystems() didn't mount it, even if listed in "critical_filesystems", if it is nfs. Solution: introduce another rc.conf variable "critical_filesystems_beforenet" which contains filesystems to be mounted before "netstart". Perhaps "netstart" should be split up, but this would make things even more complex...
123 lines
3.9 KiB
Plaintext
123 lines
3.9 KiB
Plaintext
# $NetBSD: rc.conf,v 1.55 1999/07/07 21:24:56 drochner Exp $
|
|
#
|
|
# see rc.conf(5) for more information.
|
|
|
|
# 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
|
|
|
|
# Use program=YES to enable program, NO to disable it. program_flags are
|
|
# passed to the program on the command line.
|
|
|
|
# If this is not set to YES, the system will drop into single-user mode.
|
|
rc_configured=NO
|
|
|
|
# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
|
|
do_rcshutdown=YES
|
|
|
|
# Basic network configuration
|
|
|
|
# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu)
|
|
hostname="" # if blank, use /etc/myname
|
|
|
|
# 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.
|
|
defaultroute="" # if blank, use /etc/mygate
|
|
|
|
# the NIS domain name (formerly known as Yellow Pages); not in any way
|
|
# related to Internet domain names.
|
|
domainname="" # if blank, use /etc/defaultdomain
|
|
|
|
# Filesystems to mount early in boot-up
|
|
critical_filesystems_beforenet="/usr /var" # "netstart" needs /usr
|
|
critical_filesystems=""
|
|
|
|
# Set this to YES if you have purposefully setup no swap partitions and
|
|
# don't want to be warned about it
|
|
no_swap=NO
|
|
|
|
# One-time actions and programs on boot-up.
|
|
lkm=NO # run /etc/rc.lkm
|
|
savecore=YES savecore_flags=""
|
|
update_motd=YES # updates /etc/motd
|
|
dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
|
|
|
|
# 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
|
|
|
|
# Networking startup
|
|
ipfilter=NO # uses /etc/ipf.conf
|
|
ipnat=NO # uses /etc/ipnat.conf
|
|
ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages
|
|
auto_ifconfig=YES # config all avail. interfaces
|
|
net_interfaces="" # used only if above is NO
|
|
flushroutes=YES # flush routes in netstart
|
|
dhclient=NO # behave as a DHCP client
|
|
dhclient_flags="" # blank: config all interfaces
|
|
ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf
|
|
ppp_peers="" # /etc/ppp/peers to call
|
|
ip6forwarding="NO" # IPv6 router
|
|
rtsol="NO" rtsol_flags="" # IPv6 autoconf (on non-router)
|
|
|
|
# Daemons required by other daemons
|
|
inetd=YES inetd_flags="-l" # -l logs libwrap
|
|
portmap=YES portmap_flags="-l" # -l logs libwrap
|
|
|
|
# Commonly used daemons
|
|
update=YES update_flags="30"
|
|
syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
|
|
cron=YES
|
|
named=NO named_flags=""
|
|
timed=NO timed_flags=""
|
|
xntpd=NO xntpd_flags="-p /var/run/xntpd.pid"
|
|
sendmail=NO sendmail_flags="-bd -q30m"
|
|
lpd=NO lpd_flags="-s" # -s "secure" unix domain only
|
|
|
|
# Routing daemons
|
|
routed=NO routed_flags="-q"
|
|
gated=NO gated_flags=""
|
|
mrouted=NO mrouted_flags=""
|
|
route6d=NO route6d_flags=""
|
|
|
|
# Daemons used to boot other hosts over a network
|
|
rarpd=NO rarpd_flags="-a"
|
|
bootparamd=NO bootparamd_flags=""
|
|
dhcpd=NO dhcpd_flags="-q"
|
|
dhcrelay=NO dhcrelay_flags=""
|
|
rbootd=NO rbootd_flags=""
|
|
mopd=NO mopd_flags="-a"
|
|
rtadvd=NO rtadvd_flags=""
|
|
|
|
# X11 daemons:
|
|
xfs=NO xfs_flags="" # X11 font server
|
|
xdm=NO xdm_flags="" # x11 display manager
|
|
|
|
# YP (NIS) daemons
|
|
ypbind=NO ypbind_flags=""
|
|
ypserv=NO ypserv_flags="-d"
|
|
yppasswdd=NO yppasswdd_flags=""
|
|
|
|
# NFS daemons and parameters
|
|
nfs_client=NO # enable client daemons
|
|
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
|
|
|
|
# Other daemons
|
|
rwhod=NO
|
|
kerberos=NO
|
|
|
|
# Hardware daemons
|
|
apmd=NO apmd_flags="" # APM power management daemon.
|
|
screenblank=NO screenblank_flags="" # sparc and sun3 screenblanker
|
|
|
|
# configuration of "wscons" console driver virtual screens
|
|
wscons=NO wscons_flags="" # run /etc/rc.wscons
|