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