rc.conf revision 1.45
1# $NetBSD: rc.conf,v 1.45 1999/03/24 18:50:07 mellon 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 (also formerly known as Yellow Pages); not in any way 27# related to Internet domain names. 28domainname="" # if blank, use /etc/defaultdomain 29 30# Filesystems (besides /usr and /var) to mount early in boot-up 31critical_filesystems="" 32 33# Set this to YES if you have purposefully setup no swap partitions and 34# don't want to be warned about it 35no_swap=NO 36 37# When to mount critical filesystems. By default, these are mounted after 38# the network is started. 39critfs_require_network=YES 40 41# One-time actions and programs on boot-up. 42lkm=NO # run /etc/rc.lkm 43savecore=YES savecore_flags="" 44update_motd=YES # updates /etc/motd 45dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot 46 47# Security setting. If $securelevel is non-empty, the system securelevel 48# is set to this value early in the boot sequence. Otherwise the default 49# action is taken (see init(8)). 50securelevel="" # securelevel to set to 51 52# Networking startup 53ipfilter=NO # uses /etc/ipf.conf 54ipnat=NO # uses /etc/ipnat.conf 55ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages 56auto_ifconfig=YES # config all avail. interfaces 57net_interfaces="" # used only if above is NO 58flushroutes=YES # flush routes in netstart 59dhclient=NO dhclient_flags="" # blank: config all interfaces 60ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf 61ppp_peers="" # /etc/ppp/peers to call 62 63# Daemons required by other daemons 64inetd=YES inetd_flags="-l" # -l logs libwrap 65portmap=YES portmap_flags="-l" # -l logs libwrap 66 67# Commonly used daemons 68update=YES update_flags="30" 69syslogd=YES syslogd_flags="" 70cron=YES 71named=NO named_flags="" 72timed=NO timed_flags="" 73xntpd=NO xntpd_flags="-p /var/run/xntpd.pid" 74sendmail=NO sendmail_flags="-bd -q30m" 75lpd=NO lpd_flags="" 76 77# Routing daemons 78routed=NO routed_flags="-q" 79gated=NO gated_flags="" 80mrouted=NO mrouted_flags="" 81 82# Daemons used to boot other hosts over a network 83rarpd=NO rarpd_flags="-a" 84bootparamd=NO bootparamd_flags="" 85dhcpd=NO dhcpd_flags="-q" 86rbootd=NO rbootd_flags="" 87mopd=NO mopd_flags="-a" 88 89# X11 daemons: 90xfs=NO xfs_flags="" # X11 font server 91xdm=NO xdm_flags="" # x11 display manager 92 93# YP (NIS) daemons 94ypbind=NO ypbind_flags="" 95ypserv=NO ypserv_flags="-d" 96yppasswdd=NO yppasswdd_flags="" 97 98# NFS daemons and parameters 99nfs_client=NO # enable client daemons 100 nfsiod_flags="-n 4" 101nfs_server=NO # enable server daemons 102 mountd_flags="" 103 nfsd_flags="-tun 4" 104lockd=NO lockd_flags="" 105statd=NO statd_flags="" 106amd=NO amd_flags="-l syslog -x error,noinfo,nostats" 107 amd_dir=/amd # mount dir 108 amd_master=/etc/amd/master # master map 109 110# Other daemons 111rwhod=NO 112kerberos=NO 113 114# Hardware daemons 115apmd=NO apmd_flags="" # APM power management daemon. 116usbd=NO usbd_flags="" # USB bus attach/detach daemon. 117screenblank=NO screenblank_flags="" # sparc and sun3 screenblanker 118 119# configuration of "wscons" console driver virtual screens 120wscons=NO wscons_flags="" # run /etc/rc.wscons 121