rc.conf revision 1.93
1# $NetBSD: rc.conf,v 1.93 2000/08/21 14:48:39 abs Exp $ 2# 3# see rc.conf(5) for more information. 4# 5# Use program=YES to enable program, NO to disable it. program_flags are 6# passed to the program on the command line. 7# 8 9# Uncomment this if you want to use local paths in rc. 10# 11#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin 12 13# If this is not set to YES, the system will drop into single-user mode. 14# 15rc_configured=NO 16 17# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown. 18# 19do_rcshutdown=YES 20 21# Basic network configuration 22# 23 24# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu). 25# If blank, use /etc/myname. 26# 27hostname="" 28 29# If there's only one way out of your network, set this to the hostname 30# or the IP address of the router that will get your packets off the LAN. 31# If blank, use /etc/mygate. 32# 33defaultroute="" 34 35# The NIS domain name (formerly known as Yellow Pages); not in any way 36# related to Internet domain names. 37# If blank, use /etc/defaultdomain. 38# 39domainname="" 40 41# Filesystems to mount early in boot-up. 42# Note that `/var' is needed in $critical_filesystems_beforenet (or 43# implied as part of `/') as certain services that need /var (such as 44# dhclient) may be needed to get the network operational enough to mount 45# the $critical_filesystems. 46# 47critical_filesystems_beforenet="/var" 48critical_filesystems="/usr" 49 50# Set this to YES if you have purposefully setup no swap partitions and 51# don't want to be warned about it. 52# 53no_swap=NO 54 55# One-time actions and programs on boot-up. 56# 57lkm=NO # run /etc/rc.lkm 58savecore=YES savecore_flags="-z" 59clear_tmp=YES # clear /tmp after reboot 60update_motd=YES # updates /etc/motd 61dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot 62accounting=NO # needs /var/account/acct 63 64# NOTE: default coredump name now set in /etc/sysctl.conf 65 66# Security setting. If $securelevel is non-empty, the system securelevel 67# is set to this value early in the boot sequence. Otherwise the default 68# action is taken (see init(8)). 69# 70securelevel="" # securelevel to set to 71 72# To set the IP address of an interface either use 73# ifconfig_xxN="IP-NO" 74# where xxN is the interface. If this variable is not set then 75# contents of the file /etc/ifconfig.xxN is used. 76 77# Networking startup. 78# 79ipfilter=NO # uses /etc/ipf.conf 80ipnat=NO # uses /etc/ipnat.conf 81ipsec=NO # uses /etc/ipsec.conf 82ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages 83auto_ifconfig=YES # config all avail. interfaces 84net_interfaces="" # used only if above is NO 85flushroutes=YES # flush routes in netstart 86dhclient=NO # behave as a DHCP client 87dhclient_flags="" # blank: config all interfaces 88ntpdate=NO ntpdate_flags="-b -s" # May need '-u' thru firewall 89 ntpdate_hosts="" # blank: hosts in /etc/ntp.conf 90ppp_peers="" # /etc/ppp/peers to call 91ip6mode=host # host, autohost or router 92rtsol=NO rtsol_flags="" # for ip6mode=autohost only 93 94# Daemons required by servers. These are not needed for strictly client use. 95# 96 97# inetd is used to start the IP-based services enabled in /etc/inetd.conf 98# 99inetd=YES inetd_flags="-l" # -l logs libwrap 100 101# rpcbind is used to look up RPC-based services. 102# 103rpcbind=NO rpcbind_flags="-l" # -l logs libwrap 104 105# Commonly used daemons. 106# 107syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only 108cron=YES 109named=NO named_flags="" 110timed=NO timed_flags="" 111ntpd=NO ntpd_flags="" 112sendmail=NO sendmail_flags="-bd -q30m" 113postfix=NO 114lpd=NO lpd_flags="-s" # -s "secure" unix domain only 115sshd=NO sshd_flags="" 116 117# Routing daemons. 118# 119routed=NO routed_flags="-q" 120gated=NO gated_flags="" 121mrouted=NO mrouted_flags="" 122route6d=NO route6d_flags="" 123rtsold=NO rtsold_flags="" # for ip6mode=autohost only 124 125# Daemons used to boot other hosts over a network. 126# 127rarpd=NO rarpd_flags="-a" 128bootparamd=NO bootparamd_flags="" 129dhcpd=NO dhcpd_flags="-q" 130dhcrelay=NO dhcrelay_flags="" 131rbootd=NO rbootd_flags="" 132mopd=NO mopd_flags="-a" 133rtadvd=NO rtadvd_flags="" 134 135# X11 daemons. 136# 137xfs=NO xfs_flags="" # X11 font server 138xdm=NO xdm_flags="" # X11 display manager; needs 139 # wscons=YES for local displays. 140 141# YP (NIS) daemons. 142# 143ypbind=NO ypbind_flags="" 144ypserv=NO ypserv_flags="-d" 145yppasswdd=NO yppasswdd_flags="" 146 147# NFS daemons and parameters. 148# 149nfs_client=NO # enable client daemons 150nfs_server=NO # enable server daemons 151 mountd_flags="" 152 nfsd_flags="-6tun 4" 153lockd=NO lockd_flags="" 154statd=NO statd_flags="" 155amd=NO amd_flags="-l syslog -x error,noinfo,nostats" 156 amd_dir=/amd # mount dir 157 amd_master=/etc/amd/master # master map 158 159# Heimdal Kerberos 5 KDC (with Kerberos IV compatibility) 160kdc=NO kdc_flags="" 161 162# Other daemons. 163# 164rwhod=NO 165 166# Hardware daemons. 167# 168apmd=NO apmd_flags="" # APM power management daemon. 169screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker 170 171# Configuration of "wscons" console driver virtual screens. 172# 173wscons=NO wscons_flags="" # run /etc/rc.wscons 174 175# Read in local configuration. 176# 177if [ -f /etc/rc.local.conf ]; then 178 . /etc/rc.local.conf 179fi 180