Home | History | Annotate | Line # | Download | only in defaults
rc.conf revision 1.8
      1 #	$NetBSD: rc.conf,v 1.8 2001/01/18 02:03:09 thorpej Exp $
      2 #
      3 # /etc/defaults/rc.conf --
      4 #	default configuration of /etc/rc.conf
      5 #
      6 # see rc.conf(5) for more information.
      7 #
      8 # DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING A SYSTEM UPGRADE.
      9 # EDIT /etc/rc.conf INSTEAD.
     10 #
     11 
     12 #
     13 # Use program=YES to enable program, NO to disable it. program_flags are
     14 # passed to the program on the command line.
     15 #
     16 
     17 # Uncomment this if you want to use local paths in rc.
     18 #
     19 #export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
     20 
     21 # If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
     22 #
     23 do_rcshutdown=YES
     24 
     25 # Basic network configuration
     26 #
     27 
     28 # Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
     29 # If blank, use /etc/myname.
     30 #
     31 hostname=""
     32 
     33 # If there's only one way out of your network, set this to the hostname
     34 # or the IP address of the router that will get your packets off the LAN.
     35 # If blank, use /etc/mygate.
     36 #
     37 defaultroute=""
     38 
     39 # The NIS domain name (formerly known as Yellow Pages); not in any way
     40 # related to Internet domain names.
     41 # If blank, use /etc/defaultdomain.
     42 #
     43 domainname=""
     44 
     45 # Filesystems to mount early in boot-up.
     46 # Note that `/var' is needed in $critical_filesystems_beforenet (or
     47 # implied as part of `/') as certain services that need /var (such as
     48 # dhclient) may be needed to get the network operational enough to mount
     49 # the $critical_filesystems.
     50 #
     51 critical_filesystems_beforenet="/var"
     52 critical_filesystems="/usr"
     53 
     54 # Set this to YES if you have purposefully setup no swap partitions and
     55 # don't want to be warned about it.
     56 #
     57 no_swap=NO
     58 
     59 # One-time actions and programs on boot-up.
     60 #
     61 lkm=NO						# run /etc/rc.lkm
     62 savecore=YES		savecore_flags="-z"
     63 clear_tmp=YES					# clear /tmp after reboot
     64 update_motd=YES					# updates /etc/motd
     65 dmesg=YES		dmesg_flags=""		# write /var/run/dmesg.boot
     66 accounting=NO					# needs /var/account/acct
     67 newsyslog=NO		newsyslog_flags=""	# trim log files
     68 
     69 # NOTE: default coredump name now set in /etc/sysctl.conf
     70 
     71 # Security setting.  If $securelevel is non-empty, the system securelevel
     72 # is set to this value early in the boot sequence.  Otherwise the default
     73 # action is taken (see init(8)).
     74 #
     75 securelevel=""					# securelevel to set to
     76 
     77 # To set the IP address of an interface either use
     78 #  ifconfig_xxN="IP-NO"
     79 # where xxN is the interface.  If this variable is not set then
     80 # contents of the file /etc/ifconfig.xxN is used.
     81 
     82 # Networking startup.
     83 #
     84 ipfilter=NO					# uses /etc/ipf.conf
     85 ipnat=NO					# uses /etc/ipnat.conf
     86 ipsec=NO					# uses /etc/ipsec.conf
     87 racoon=NO					# IKE daemon
     88 ipmon=NO		ipmon_flags="-sn"	# syslog ipfilter messages
     89 auto_ifconfig=YES				# config all avail. interfaces
     90 net_interfaces=""				# used only if above is NO
     91 flushroutes=YES					# flush routes in netstart
     92 dhclient=NO					# behave as a DHCP client
     93 dhclient_flags=""				# blank: config all interfaces
     94 ntpdate=NO  		ntpdate_flags="-b -s"	# May need '-u' thru firewall
     95 ppp_peers=""					# /etc/ppp/peers to call
     96 ip6mode=host					# host, autohost or router
     97 ip6sitelocal=NO					# IPv6 sitelocal addrs
     98 rtsol=NO		rtsol_flags=""		# for ip6mode=autohost only
     99 
    100 # Daemons required by servers.  These are not needed for strictly client use.
    101 #
    102 
    103 # inetd is used to start the IP-based services enabled in /etc/inetd.conf
    104 #
    105 inetd=YES		inetd_flags="-l"	# -l logs libwrap
    106 
    107 # rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
    108 #
    109 rpcbind=NO		rpcbind_flags="-l"	# -l logs libwrap
    110 
    111 # Commonly used daemons.
    112 #
    113 syslogd=YES		syslogd_flags="-s"	# -s "secure" unix domain only
    114 cron=YES
    115 named=NO		named_flags=""
    116 timed=NO		timed_flags=""
    117 ntpd=NO			ntpd_flags=""
    118 sendmail=NO		sendmail_flags="-bd -q30m"
    119 postfix=NO
    120 lpd=NO			lpd_flags="-s"		# -s "secure" unix domain only
    121 sshd=NO			sshd_flags=""
    122 
    123 # Routing daemons.
    124 #
    125 routed=NO		routed_flags="-q"
    126 gated=NO		gated_flags=""
    127 mrouted=NO		mrouted_flags=""
    128 route6d=NO		route6d_flags=""
    129 rtsold=NO		rtsold_flags=""		# for ip6mode=autohost only
    130 
    131 # Daemons used to boot other hosts over a network.
    132 #
    133 rarpd=NO		rarpd_flags="-a"
    134 bootparamd=NO		bootparamd_flags=""
    135 dhcpd=NO		dhcpd_flags="-q"
    136 dhcrelay=NO		dhcrelay_flags=""
    137 rbootd=NO		rbootd_flags=""
    138 mopd=NO			mopd_flags="-a"
    139 rtadvd=NO		rtadvd_flags=""
    140 
    141 # X11 daemons.
    142 #
    143 xfs=NO			xfs_flags=""		# X11 font server
    144 xdm=NO			xdm_flags=""		# X11 display manager; needs
    145 						# wscons=YES for local displays.
    146 
    147 # YP (NIS) daemons.
    148 #
    149 ypbind=NO		ypbind_flags=""
    150 ypserv=NO		ypserv_flags="-d"
    151 yppasswdd=NO		yppasswdd_flags=""
    152 
    153 # NFS daemons and parameters.
    154 #
    155 nfs_client=NO					# enable client daemons
    156 nfs_server=NO					# enable server daemons
    157 			mountd_flags=""
    158 			nfsd_flags="-6tun 4"
    159 lockd=NO		lockd_flags=""
    160 statd=NO		statd_flags=""
    161 amd=NO			amd_flags="-l syslog -x error,noinfo,nostats"
    162 			amd_dir=/amd			# mount dir
    163 
    164 # Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
    165 kdc=NO			kdc_flags=""
    166 
    167 # ISDN daemon
    168 # The network interfaces used for isdn are not usefull without the isdnd
    169 # running. Therefor they are usually configured "down" first (i.e. in 
    170 # /etc/ifconfig.isp0) and need to be marked "up" when the daemon is
    171 # running. This will happen automatically for all configured isdn interfaces
    172 # if this isdn_interfaces is left empty. If this behaviour is not desired
    173 # for certain interfaces, set isdn_interfaces to the list of interfaces,
    174 # where it should happen. To disable it completely, set isdn_autoupdown to
    175 # NO.
    176 isdnd=NO		isdnd_flags=""
    177 			isdn_autoupdown=YES
    178 			isdn_interfaces=""
    179 
    180 # Other daemons.
    181 #
    182 rwhod=NO
    183 
    184 # Hardware daemons.
    185 #
    186 apmd=NO			apmd_flags=""		# APM power management daemon.
    187 poffd=NO					# x68k power switch monitor
    188 			poffd_flags="'shutdown -p now'"
    189 screenblank=NO		screenblank_flags=""	# wscons and FBIO screenblanker
    190 
    191 # Configuration of "wscons" console driver virtual screens.
    192 #
    193 wscons=NO		wscons_flags=""		# setup wscons from wscons.conf
    194