rc.conf revision 1.89
11.89Slukem# $NetBSD: rc.conf,v 1.89 2000/07/21 00:25:31 lukem Exp $ 21.1Smrg# 31.1Smrg# see rc.conf(5) for more information. 41.89Slukem# 51.89Slukem# Use program=YES to enable program, NO to disable it. program_flags are 61.89Slukem# passed to the program on the command line. 71.89Slukem# 81.1Smrg 91.89Slukem# Uncomment this if you want to use local paths in rc. 101.89Slukem# 111.33Slukem#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin 121.1Smrg 131.16Scjs# If this is not set to YES, the system will drop into single-user mode. 141.89Slukem# 151.16Scjsrc_configured=NO 161.35Sbad 171.35Sbad# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown. 181.89Slukem# 191.35Sbaddo_rcshutdown=YES 201.13Slukem 211.13Slukem# Basic network configuration 221.89Slukem# 231.30Sfair 241.89Slukem# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu). 251.89Slukem# If blank, use /etc/myname. 261.89Slukem# 271.89Slukemhostname="" 281.30Sfair 291.89Slukem# If there's only one way out of your network, set this to the hostname 301.30Sfair# or the IP address of the router that will get your packets off the LAN. 311.89Slukem# If blank, use /etc/mygate. 321.89Slukem# 331.89Slukemdefaultroute="" 341.30Sfair 351.89Slukem# The NIS domain name (formerly known as Yellow Pages); not in any way 361.30Sfair# related to Internet domain names. 371.89Slukem# If blank, use /etc/defaultdomain. 381.89Slukem# 391.89Slukemdomainname="" 401.22Sdrochner 411.89Slukem# Filesystems to mount early in boot-up. 421.89Slukem# 431.68Swindsorcritical_filesystems_beforenet="/usr /var" 441.55Sdrochnercritical_filesystems="" 451.25Smrg 461.25Smrg# Set this to YES if you have purposefully setup no swap partitions and 471.89Slukem# don't want to be warned about it. 481.89Slukem# 491.28Slukemno_swap=NO 501.45Smellon 511.16Scjs# One-time actions and programs on boot-up. 521.89Slukem# 531.34Stvlkm=NO # run /etc/rc.lkm 541.63Sabssavecore=YES savecore_flags="-z" 551.74Sjdolecekclear_tmp=YES # clear /tmp after reboot 561.16Scjsupdate_motd=YES # updates /etc/motd 571.40Smrgdmesg=YES dmesg_flags="" # write /var/run/dmesg.boot 581.62Slukemaccounting=NO # needs /var/account/acct 591.78Stsarna 601.78Stsarna# NOTE: default coredump name now set in /etc/sysctl.conf 611.78Stsarna 621.78Stsarna# Security setting. If $securelevel is non-empty, the system securelevel 631.78Stsarna# is set to this value early in the boot sequence. Otherwise the default 641.78Stsarna# action is taken (see init(8)). 651.89Slukem# 661.78Stsarnasecurelevel="" # securelevel to set to 671.65Saugustss 681.65Saugustss# To set the IP address of an interface either use 691.89Slukem# ifconfig_xxN="IP-NO" 701.89Slukem# where xxN is the interface. If this variable is not set then 711.65Saugustss# contents of the file /etc/ifconfig.xxN is used. 721.16Scjs 731.89Slukem# Networking startup. 741.89Slukem# 751.16Scjsipfilter=NO # uses /etc/ipf.conf 761.27Schristosipnat=NO # uses /etc/ipnat.conf 771.85Sitojunipsec=NO # uses /etc/ipsec.conf 781.21Slukemipmon=NO ipmon_flags="-sn" # syslog ipfilter messages 791.16Scjsauto_ifconfig=YES # config all avail. interfaces 801.16Scjsnet_interfaces="" # used only if above is NO 811.16Scjsflushroutes=YES # flush routes in netstart 821.49Sjwisedhclient=NO # behave as a DHCP client 831.48Smellondhclient_flags="" # blank: config all interfaces 841.17Sveegontpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf 851.24Smrgppp_peers="" # /etc/ppp/peers to call 861.72Sitojunip6mode=host # host, autohost or router 871.72Sitojunrtsol=NO rtsol_flags="" # for ip6mode=autohost only 881.16Scjs 891.60Smycroft# Daemons required by servers. These are not needed for strictly client use. 901.89Slukem# 911.89Slukem 921.88Stsarna# inetd is used to start the IP-based services enabled in /etc/inetd.conf 931.89Slukem# 941.18Scjsinetd=YES inetd_flags="-l" # -l logs libwrap 951.89Slukem 961.83Sveego# rpcbind is used to look up RPC-based services. 971.89Slukem# 981.82Sfvdlrpcbind=NO rpcbind_flags="-l" # -l logs libwrap 991.6Scjs 1001.89Slukem# Commonly used daemons. 1011.89Slukem# 1021.51Sperrysyslogd=YES syslogd_flags="-s" # -s "secure" unix domain only 1031.39Sjwisecron=YES 1041.16Scjsnamed=NO named_flags="" 1051.16Scjstimed=NO timed_flags="" 1061.81Ssimonbntpd=NO ntpd_flags="" 1071.17Sveegosendmail=NO sendmail_flags="-bd -q30m" 1081.80Sthorpejpostfix=NO 1091.51Sperrylpd=NO lpd_flags="-s" # -s "secure" unix domain only 1101.16Scjs 1111.89Slukem# Routing daemons. 1121.89Slukem# 1131.16Scjsrouted=NO routed_flags="-q" 1141.16Scjsgated=NO gated_flags="" 1151.16Scjsmrouted=NO mrouted_flags="" 1161.54Sitojunroute6d=NO route6d_flags="" 1171.72Sitojunrtsold=NO rtsold_flags="" # for ip6mode=autohost only 1181.16Scjs 1191.89Slukem# Daemons used to boot other hosts over a network. 1201.89Slukem# 1211.16Scjsrarpd=NO rarpd_flags="-a" 1221.16Scjsbootparamd=NO bootparamd_flags="" 1231.26Schuckdhcpd=NO dhcpd_flags="-q" 1241.46Ssommerfedhcrelay=NO dhcrelay_flags="" 1251.16Scjsrbootd=NO rbootd_flags="" 1261.16Scjsmopd=NO mopd_flags="-a" 1271.54Sitojunrtadvd=NO rtadvd_flags="" 1281.23Sjonathan 1291.89Slukem# X11 daemons. 1301.89Slukem# 1311.23Sjonathanxfs=NO xfs_flags="" # X11 font server 1321.89Slukemxdm=NO xdm_flags="" # X11 display manager; needs 1331.89Slukem # wscons=YES for local displays. 1341.6Scjs 1351.89Slukem# YP (NIS) daemons. 1361.89Slukem# 1371.16Scjsypbind=NO ypbind_flags="" 1381.16Scjsypserv=NO ypserv_flags="-d" 1391.16Scjsyppasswdd=NO yppasswdd_flags="" 1401.16Scjs 1411.89Slukem# NFS daemons and parameters. 1421.89Slukem# 1431.17Sveegonfs_client=NO # enable client daemons 1441.16Scjsnfs_server=NO # enable server daemons 1451.16Scjs mountd_flags="" 1461.84Sfvdl nfsd_flags="-6tun 4" 1471.16Scjslockd=NO lockd_flags="" 1481.16Scjsstatd=NO statd_flags="" 1491.16Scjsamd=NO amd_flags="-l syslog -x error,noinfo,nostats" 1501.16Scjs amd_dir=/amd # mount dir 1511.16Scjs amd_master=/etc/amd/master # master map 1521.16Scjs 1531.89Slukem# Other daemons. 1541.89Slukem# 1551.17Sveegorwhod=NO 1561.16Scjskerberos=NO 1571.37Scjs 1581.89Slukem# Hardware daemons. 1591.89Slukem# 1601.37Scjsapmd=NO apmd_flags="" # APM power management daemon. 1611.56Sisscreenblank=NO screenblank_flags="" # wscons and FBIO screenblanker 1621.43Sdrochner 1631.89Slukem# Configuration of "wscons" console driver virtual screens. 1641.89Slukem# 1651.44Sdrochnerwscons=NO wscons_flags="" # run /etc/rc.wscons 1661.69Saugustss 1671.89Slukem# Read in local configuration. 1681.89Slukem# 1691.70Saugustssif [ -f /etc/rc.local.conf ]; then 1701.70Saugustss . /etc/rc.local.conf 1711.69Saugustssfi 172