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