rc.conf revision 1.83
1# $NetBSD: rc.conf,v 1.83 2000/06/03 17:23:59 veego 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" 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="-z" 41clear_tmp=YES # clear /tmp after reboot 42update_motd=YES # updates /etc/motd 43dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot 44accounting=NO # needs /var/account/acct 45 46# NOTE: default coredump name now set in /etc/sysctl.conf 47 48# Security setting. If $securelevel is non-empty, the system securelevel 49# is set to this value early in the boot sequence. Otherwise the default 50# action is taken (see init(8)). 51securelevel="" # securelevel to set to 52 53# To set the IP address of an interface either use 54# ifconfig_xxN="IP-NO" 55# where xxN is the interface. The this variable is not set the 56# contents of the file /etc/ifconfig.xxN is used. 57 58# Networking startup 59ipfilter=NO # uses /etc/ipf.conf 60ipnat=NO # uses /etc/ipnat.conf 61ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages 62auto_ifconfig=YES # config all avail. interfaces 63net_interfaces="" # used only if above is NO 64flushroutes=YES # flush routes in netstart 65dhclient=NO # behave as a DHCP client 66dhclient_flags="" # blank: config all interfaces 67ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf 68ppp_peers="" # /etc/ppp/peers to call 69ip6mode=host # host, autohost or router 70ip6defaultif="" # for ip6mode=host/autohost only 71rtsol=NO rtsol_flags="" # for ip6mode=autohost only 72 73# Daemons required by servers. These are not needed for strictly client use. 74# inetd is used to start many IP-based services. 75inetd=YES inetd_flags="-l" # -l logs libwrap 76# rpcbind is used to look up RPC-based services. 77rpcbind=NO rpcbind_flags="-l" # -l logs libwrap 78 79# Commonly used daemons 80syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only 81cron=YES 82named=NO named_flags="" 83timed=NO timed_flags="" 84ntpd=NO ntpd_flags="" 85sendmail=NO sendmail_flags="-bd -q30m" 86postfix=NO 87lpd=NO lpd_flags="-s" # -s "secure" unix domain only 88 89# Routing daemons 90routed=NO routed_flags="-q" 91gated=NO gated_flags="" 92mrouted=NO mrouted_flags="" 93route6d=NO route6d_flags="" 94rtsold=NO rtsold_flags="" # for ip6mode=autohost only 95 96# Daemons used to boot other hosts over a network 97rarpd=NO rarpd_flags="-a" 98bootparamd=NO bootparamd_flags="" 99dhcpd=NO dhcpd_flags="-q" 100dhcrelay=NO dhcrelay_flags="" 101rbootd=NO rbootd_flags="" 102mopd=NO mopd_flags="-a" 103rtadvd=NO rtadvd_flags="" 104 105# X11 daemons: 106xfs=NO xfs_flags="" # X11 font server 107xdm=NO xdm_flags="" # X11 display manager 108 109# YP (NIS) daemons 110ypbind=NO ypbind_flags="" 111ypserv=NO ypserv_flags="-d" 112yppasswdd=NO yppasswdd_flags="" 113 114# NFS daemons and parameters 115nfs_client=NO # enable client daemons 116nfs_server=NO # enable server daemons 117 mountd_flags="" 118 nfsd_flags="-tun 4" 119lockd=NO lockd_flags="" 120statd=NO statd_flags="" 121amd=NO amd_flags="-l syslog -x error,noinfo,nostats" 122 amd_dir=/amd # mount dir 123 amd_master=/etc/amd/master # master map 124 125# Other daemons 126rwhod=NO 127kerberos=NO 128 129# Hardware daemons 130apmd=NO apmd_flags="" # APM power management daemon. 131screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker 132 133# configuration of "wscons" console driver virtual screens 134wscons=NO wscons_flags="" # run /etc/rc.wscons 135 136# Add local configurations 137if [ -f /etc/rc.local.conf ]; then 138 . /etc/rc.local.conf 139fi 140