rc.conf revision 1.60
11.60Smycroft# $NetBSD: rc.conf,v 1.60 1999/11/05 11:19:49 mycroft Exp $ 21.1Smrg# 31.1Smrg# see rc.conf(5) for more information. 41.1Smrg 51.1Smrg# uncomment this if you want to use local paths in rc 61.33Slukem#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin 71.1Smrg 81.16Scjs# Use program=YES to enable program, NO to disable it. program_flags are 91.16Scjs# passed to the program on the command line. 101.14Sphil 111.16Scjs# If this is not set to YES, the system will drop into single-user mode. 121.16Scjsrc_configured=NO 131.35Sbad 141.35Sbad# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown. 151.35Sbaddo_rcshutdown=YES 161.13Slukem 171.13Slukem# Basic network configuration 181.30Sfair 191.30Sfair# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu) 201.28Slukemhostname="" # if blank, use /etc/myname 211.30Sfair 221.30Sfair# if there's only one way out of your network, set this to the hostname 231.30Sfair# or the IP address of the router that will get your packets off the LAN. 241.30Sfairdefaultroute="" # if blank, use /etc/mygate 251.30Sfair 261.52Sjwise# the NIS domain name (formerly known as Yellow Pages); not in any way 271.30Sfair# related to Internet domain names. 281.28Slukemdomainname="" # if blank, use /etc/defaultdomain 291.22Sdrochner 301.50Snathanw# Filesystems to mount early in boot-up 311.55Sdrochnercritical_filesystems_beforenet="/usr /var" # "netstart" needs /usr 321.55Sdrochnercritical_filesystems="" 331.25Smrg 341.25Smrg# Set this to YES if you have purposefully setup no swap partitions and 351.25Smrg# don't want to be warned about it 361.28Slukemno_swap=NO 371.45Smellon 381.16Scjs# One-time actions and programs on boot-up. 391.34Stvlkm=NO # run /etc/rc.lkm 401.16Scjssavecore=YES savecore_flags="" 411.16Scjsupdate_motd=YES # updates /etc/motd 421.40Smrgdmesg=YES dmesg_flags="" # write /var/run/dmesg.boot 431.58Sbouyer 441.58Sbouyer# default core name template. If $defcorename is non-empty, this value will be 451.58Sbouyer# used for core dumps names for programs that didn't get their per-process 461.58Sbouyer# template set (see sysctl(3) and sysctl(8)). 471.58Sbouyerdefcorename="" 481.41Smrg 491.41Smrg# Security setting. If $securelevel is non-empty, the system securelevel 501.42Smrg# is set to this value early in the boot sequence. Otherwise the default 511.42Smrg# action is taken (see init(8)). 521.42Smrgsecurelevel="" # securelevel to set to 531.16Scjs 541.16Scjs# Networking startup 551.16Scjsipfilter=NO # uses /etc/ipf.conf 561.27Schristosipnat=NO # uses /etc/ipnat.conf 571.21Slukemipmon=NO ipmon_flags="-sn" # syslog ipfilter messages 581.16Scjsauto_ifconfig=YES # config all avail. interfaces 591.16Scjsnet_interfaces="" # used only if above is NO 601.16Scjsflushroutes=YES # flush routes in netstart 611.49Sjwisedhclient=NO # behave as a DHCP client 621.48Smellondhclient_flags="" # blank: config all interfaces 631.17Sveegontpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf 641.24Smrgppp_peers="" # /etc/ppp/peers to call 651.54Sitojunip6forwarding="NO" # IPv6 router 661.54Sitojunrtsol="NO" rtsol_flags="" # IPv6 autoconf (on non-router) 671.16Scjs 681.60Smycroft# Daemons required by servers. These are not needed for strictly client use. 691.60Smycroft# inetd is used to start many IP-based services. 701.18Scjsinetd=YES inetd_flags="-l" # -l logs libwrap 711.60Smycroft# portmap is used to look up RPC-based services. 721.60Smycroftportmap=NO portmap_flags="-l" # -l logs libwrap 731.6Scjs 741.6Scjs# Commonly used daemons 751.16Scjsupdate=YES update_flags="30" 761.51Sperrysyslogd=YES syslogd_flags="-s" # -s "secure" unix domain only 771.39Sjwisecron=YES 781.16Scjsnamed=NO named_flags="" 791.16Scjstimed=NO timed_flags="" 801.59Ssommerfexntpd=NO xntpd_flags="-p /var/run/xntpd.pid -f /var/db/ntp.drift" 811.17Sveegosendmail=NO sendmail_flags="-bd -q30m" 821.51Sperrylpd=NO lpd_flags="-s" # -s "secure" unix domain only 831.16Scjs 841.16Scjs# Routing daemons 851.16Scjsrouted=NO routed_flags="-q" 861.16Scjsgated=NO gated_flags="" 871.16Scjsmrouted=NO mrouted_flags="" 881.54Sitojunroute6d=NO route6d_flags="" 891.57Sitojunrtsold=NO rtsold_flags="" # not really routing daemon... 901.16Scjs 911.16Scjs# Daemons used to boot other hosts over a network 921.16Scjsrarpd=NO rarpd_flags="-a" 931.16Scjsbootparamd=NO bootparamd_flags="" 941.26Schuckdhcpd=NO dhcpd_flags="-q" 951.46Ssommerfedhcrelay=NO dhcrelay_flags="" 961.16Scjsrbootd=NO rbootd_flags="" 971.16Scjsmopd=NO mopd_flags="-a" 981.54Sitojunrtadvd=NO rtadvd_flags="" 991.23Sjonathan 1001.23Sjonathan# X11 daemons: 1011.23Sjonathanxfs=NO xfs_flags="" # X11 font server 1021.23Sjonathanxdm=NO xdm_flags="" # x11 display manager 1031.6Scjs 1041.6Scjs# YP (NIS) daemons 1051.16Scjsypbind=NO ypbind_flags="" 1061.16Scjsypserv=NO ypserv_flags="-d" 1071.16Scjsyppasswdd=NO yppasswdd_flags="" 1081.16Scjs 1091.16Scjs# NFS daemons and parameters 1101.17Sveegonfs_client=NO # enable client daemons 1111.16Scjs nfsiod_flags="-n 4" 1121.16Scjsnfs_server=NO # enable server daemons 1131.16Scjs mountd_flags="" 1141.16Scjs nfsd_flags="-tun 4" 1151.16Scjslockd=NO lockd_flags="" 1161.16Scjsstatd=NO statd_flags="" 1171.16Scjsamd=NO amd_flags="-l syslog -x error,noinfo,nostats" 1181.16Scjs amd_dir=/amd # mount dir 1191.16Scjs amd_master=/etc/amd/master # master map 1201.16Scjs 1211.16Scjs# Other daemons 1221.17Sveegorwhod=NO 1231.16Scjskerberos=NO 1241.37Scjs 1251.37Scjs# Hardware daemons 1261.37Scjsapmd=NO apmd_flags="" # APM power management daemon. 1271.56Sisscreenblank=NO screenblank_flags="" # wscons and FBIO screenblanker 1281.43Sdrochner 1291.43Sdrochner# configuration of "wscons" console driver virtual screens 1301.44Sdrochnerwscons=NO wscons_flags="" # run /etc/rc.wscons 131