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