rc.conf revision 1.60.2.2
1# $NetBSD: rc.conf,v 1.60.2.2 1999/11/05 11:19:50 mycroft Exp $ 2# 3# see rc.conf(5) for more information. 4 5# uncomment this if you want to use local paths in rc 6#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin 7 8# Use program=YES to enable program, NO to disable it. program_flags are 9# passed to the program on the command line. 10 11# If this is not set to YES, the system will drop into single-user mode. 12rc_configured=NO 13 14# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown. 15do_rcshutdown=YES 16 17# Basic network configuration 18 19# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu) 20hostname="" # if blank, use /etc/myname 21 22# if there's only one way out of your network, set this to the hostname 23# or the IP address of the router that will get your packets off the LAN. 24defaultroute="" # if blank, use /etc/mygate 25 26# the NIS domain name (formerly known as Yellow Pages); not in any way 27# related to Internet domain names. 28domainname="" # if blank, use /etc/defaultdomain 29 30# Filesystems to mount early in boot-up 31critical_filesystems_beforenet="/usr /var" # "netstart" needs /usr 32critical_filesystems="" 33 34# Set this to YES if you have purposefully setup no swap partitions and 35# don't want to be warned about it 36no_swap=NO 37 38# One-time actions and programs on boot-up. 39lkm=NO # run /etc/rc.lkm 40savecore=YES savecore_flags="" 41update_motd=YES # updates /etc/motd 42dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot 43 44# default core name template. If $defcorename is non-empty, this value will be 45# used for core dumps names for programs that didn't get their per-process 46# template set (see sysctl(3) and sysctl(8)). 47defcorename="" 48 49# Security setting. If $securelevel is non-empty, the system securelevel 50# is set to this value early in the boot sequence. Otherwise the default 51# action is taken (see init(8)). 52securelevel="" # securelevel to set to 53 54# Networking startup 55ipfilter=NO # uses /etc/ipf.conf 56ipnat=NO # uses /etc/ipnat.conf 57ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages 58auto_ifconfig=YES # config all avail. interfaces 59net_interfaces="" # used only if above is NO 60flushroutes=YES # flush routes in netstart 61dhclient=NO # behave as a DHCP client 62dhclient_flags="" # blank: config all interfaces 63ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf 64ppp_peers="" # /etc/ppp/peers to call 65ip6forwarding="NO" # IPv6 router 66rtsol="NO" rtsol_flags="" # IPv6 autoconf (on non-router) 67 68# Daemons required by servers. These are not needed for strictly client use. 69# inetd is used to start many IP-based services. 70inetd=YES inetd_flags="-l" # -l logs libwrap 71# portmap is used to look up RPC-based services. 72portmap=NO portmap_flags="-l" # -l logs libwrap 73 74# Commonly used daemons 75update=YES update_flags="30" 76syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only 77cron=YES 78named=NO named_flags="" 79timed=NO timed_flags="" 80xntpd=NO xntpd_flags="-p /var/run/xntpd.pid -f /var/db/ntp.drift" 81sendmail=NO sendmail_flags="-bd -q30m" 82lpd=NO lpd_flags="-s" # -s "secure" unix domain only 83 84# Routing daemons 85routed=NO routed_flags="-q" 86gated=NO gated_flags="" 87mrouted=NO mrouted_flags="" 88route6d=NO route6d_flags="" 89rtsold=NO rtsold_flags="" # not really routing daemon... 90 91# Daemons used to boot other hosts over a network 92rarpd=NO rarpd_flags="-a" 93bootparamd=NO bootparamd_flags="" 94dhcpd=NO dhcpd_flags="-q" 95dhcrelay=NO dhcrelay_flags="" 96rbootd=NO rbootd_flags="" 97mopd=NO mopd_flags="-a" 98rtadvd=NO rtadvd_flags="" 99 100# X11 daemons: 101xfs=NO xfs_flags="" # X11 font server 102xdm=NO xdm_flags="" # x11 display manager 103 104# YP (NIS) daemons 105ypbind=NO ypbind_flags="" 106ypserv=NO ypserv_flags="-d" 107yppasswdd=NO yppasswdd_flags="" 108 109# NFS daemons and parameters 110nfs_client=NO # enable client daemons 111 nfsiod_flags="-n 4" 112nfs_server=NO # enable server daemons 113 mountd_flags="" 114 nfsd_flags="-tun 4" 115lockd=NO lockd_flags="" 116statd=NO statd_flags="" 117amd=NO amd_flags="-l syslog -x error,noinfo,nostats" 118 amd_dir=/amd # mount dir 119 amd_master=/etc/amd/master # master map 120 121# Other daemons 122rwhod=NO 123kerberos=NO 124 125# Hardware daemons 126apmd=NO apmd_flags="" # APM power management daemon. 127screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker 128 129# configuration of "wscons" console driver virtual screens 130wscons=NO wscons_flags="" # run /etc/rc.wscons 131