rc.conf revision 1.54
1# $NetBSD: rc.conf,v 1.54 1999/07/03 03:29:29 itojun 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="/usr /var" 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# One-time actions and programs on boot-up. 38lkm=NO # run /etc/rc.lkm 39savecore=YES savecore_flags="" 40update_motd=YES # updates /etc/motd 41dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot 42 43# Security setting. If $securelevel is non-empty, the system securelevel 44# is set to this value early in the boot sequence. Otherwise the default 45# action is taken (see init(8)). 46securelevel="" # securelevel to set to 47 48# Networking startup 49ipfilter=NO # uses /etc/ipf.conf 50ipnat=NO # uses /etc/ipnat.conf 51ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages 52auto_ifconfig=YES # config all avail. interfaces 53net_interfaces="" # used only if above is NO 54flushroutes=YES # flush routes in netstart 55dhclient=NO # behave as a DHCP client 56dhclient_flags="" # blank: config all interfaces 57ntpdate=NO ntpdate_hosts="" # blank: hosts in /etc/ntp.conf 58ppp_peers="" # /etc/ppp/peers to call 59ip6forwarding="NO" # IPv6 router 60rtsol="NO" rtsol_flags="" # IPv6 autoconf (on non-router) 61 62# Daemons required by other daemons 63inetd=YES inetd_flags="-l" # -l logs libwrap 64portmap=YES portmap_flags="-l" # -l logs libwrap 65 66# Commonly used daemons 67update=YES update_flags="30" 68syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only 69cron=YES 70named=NO named_flags="" 71timed=NO timed_flags="" 72xntpd=NO xntpd_flags="-p /var/run/xntpd.pid" 73sendmail=NO sendmail_flags="-bd -q30m" 74lpd=NO lpd_flags="-s" # -s "secure" unix domain only 75 76# Routing daemons 77routed=NO routed_flags="-q" 78gated=NO gated_flags="" 79mrouted=NO mrouted_flags="" 80route6d=NO route6d_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" 86dhcrelay=NO dhcrelay_flags="" 87rbootd=NO rbootd_flags="" 88mopd=NO mopd_flags="-a" 89rtadvd=NO rtadvd_flags="" 90 91# X11 daemons: 92xfs=NO xfs_flags="" # X11 font server 93xdm=NO xdm_flags="" # x11 display manager 94 95# YP (NIS) daemons 96ypbind=NO ypbind_flags="" 97ypserv=NO ypserv_flags="-d" 98yppasswdd=NO yppasswdd_flags="" 99 100# NFS daemons and parameters 101nfs_client=NO # enable client daemons 102 nfsiod_flags="-n 4" 103nfs_server=NO # enable server daemons 104 mountd_flags="" 105 nfsd_flags="-tun 4" 106lockd=NO lockd_flags="" 107statd=NO statd_flags="" 108amd=NO amd_flags="-l syslog -x error,noinfo,nostats" 109 amd_dir=/amd # mount dir 110 amd_master=/etc/amd/master # master map 111 112# Other daemons 113rwhod=NO 114kerberos=NO 115 116# Hardware daemons 117apmd=NO apmd_flags="" # APM power management daemon. 118screenblank=NO screenblank_flags="" # sparc and sun3 screenblanker 119 120# configuration of "wscons" console driver virtual screens 121wscons=NO wscons_flags="" # run /etc/rc.wscons 122