freebsd-nq/etc
Hiroki Sato 4a387a583b Resurrect set_rcvar() as a function to define a rc.conf variable.
It defines a variable and its default value in load_rc_config() just after
rc.conf is loaded.  "rcvar" command shows the current and the default values.

This is an attempt to solve a problem that rc.d scripts from third-party
software do not have entries in /etc/defaults/rc.conf.  The fact that
load_rc_config() reads rc.conf only once and /etc/rc invokes the function
before running rc.d scripts made developers confused for a long time because
load_rc_config() just before run_rc_command() in each rc.d script overrides
variables only when the script is directly invoked, not from /etc/rc.

Variables defined in set_rcvar are always set in load_rc_config() after
loading rc.conf.  An rc.d script can now be written in a self-contained
manner regarding the related variables as follows:

---
name=foo
rcvar=foo_enable

set_rcvar foo_enable	YES	"Enable $name"
set_rcvar foo_flags	"-s"	"Flags to $name"

...

load_rc_config $name
run_rc_command "$@"
---
2014-10-02 01:16:30 +00:00
..
autofs Bring in the new automounter, similar to what's provided in most other 2014-08-17 09:44:42 +00:00
bluetooth
casper Please welcome casperd daemon. It (and its services) will be responsible for 2013-12-02 08:21:28 +00:00
defaults Remove settings for pkg_* scripts which are no longer present. 2014-09-23 18:38:06 +00:00
devd Regenerate usb.conf 2014-09-28 12:41:48 +00:00
dma Install a default configuration file for dma 2014-02-21 21:02:19 +00:00
etc.amd64 Convert the potential console port over to using 3wire, for i386/amd64. 2014-06-17 18:51:03 +00:00
etc.arm Change the terminal type/class for enabled serial lines to 3wire. This 2014-03-09 21:06:22 +00:00
etc.i386 Convert the potential console port over to using 3wire, for i386/amd64. 2014-06-17 18:51:03 +00:00
etc.mips Change the terminal type/class for enabled serial lines to 3wire. This 2014-03-09 21:06:22 +00:00
etc.pc98
etc.powerpc Change the terminal type/class for enabled serial lines to 3wire. This 2014-03-09 21:06:22 +00:00
etc.sparc64 Change the terminal type/class for enabled serial lines to 3wire. This 2014-03-09 21:06:22 +00:00
gss
mail Fix incremental builds involving non-root users with read-only source files. 2014-09-18 14:41:57 +00:00
mtree Register /usr/tests/lib/libproc to fix build. 2014-09-22 09:54:48 +00:00
pam.d Fix xref, pam(8) -> pam(3) 2014-08-26 22:39:24 +00:00
periodic Don't cross mount boundaries when cleaning tmp files. 2014-09-09 17:03:58 +00:00
pkg Give hint on how to disable the default repository. 2014-03-30 15:24:17 +00:00
ppp
rc.d Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yes 2014-09-23 22:07:08 +00:00
root Remove hack to emulate effective uid and just use the EUID's name in the 2012-12-05 13:56:39 +00:00
sendmail Minor changes to force commit these files so new freebsd*.cf files are 2014-05-22 04:43:40 +00:00
tests Add placeholder Kyuafiles for various top-level hierarchies. 2014-04-21 21:39:25 +00:00
amd.map
apmd.conf
auto_master Add "nobrowse" option. Previously automountd(8) always behaved as if 2014-08-23 12:00:45 +00:00
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf move devd rules for zfs events into a separate file and fix stale event types 2014-02-14 15:31:48 +00:00
devfs.conf Remove example for linking /dev/vga to /dev/ttyv0, this hasn't been 2011-10-27 20:39:20 +00:00
dhclient.conf
disktab 10 years too late add support for "2.88MB 3.5in Extra High Density" 2012-11-02 00:17:30 +00:00
fbtab
freebsd-update.conf Remove remnants of BIND from /etc, since there is no BIND in base now. 2013-11-05 09:30:06 +00:00
ftpusers Remove most of the ATF tools and the _atf user. 2013-10-12 06:06:53 +00:00
gettytab Add 3wire and std as terminal types/classes. These are similar to 2014-03-09 20:51:14 +00:00
group Remove most of the ATF tools and the _atf user. 2013-10-12 06:06:53 +00:00
hosts
hosts.allow Disable libwrap (TCP wrappers) support in rpcbind by default, introducing 2014-03-06 17:33:27 +00:00
hosts.equiv
hosts.lpd
inetd.conf Remove CVS from the base system. 2013-06-15 20:29:07 +00:00
libalias.conf
libmap32.conf Remove unneeded mappings from libmap32.conf. Move it up one level and 2013-09-09 06:02:30 +00:00
libmap.conf Include /usr/local/etc/libmap.d/ by default. 2013-08-01 05:50:42 +00:00
login.access
login.conf Add a resource limit for the total number of kqueues available to the 2013-10-21 16:46:12 +00:00
mac.conf Spelling fixes for etc/ 2012-01-07 16:10:32 +00:00
Makefile Bring in the new automounter, similar to what's provided in most other 2014-08-17 09:44:42 +00:00
man.alias
master.passwd Remove most of the ATF tools and the _atf user. 2013-10-12 06:06:53 +00:00
minfree
motd Revised to better point to release notes and errata, security advisories, 2014-09-25 21:57:35 +00:00
netconfig
netstart Start rtsold if necessary. 2013-10-22 06:53:01 +00:00
network.subr - Add $netif_ipexpand_max to specify the upper limit for the number of 2014-09-11 12:30:29 +00:00
networks
newsyslog.conf - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by 2014-05-20 03:00:20 +00:00
nls.alias
nscd.conf
nsmb.conf Remove IPX support. 2014-03-14 02:58:48 +00:00
nsswitch.conf Revert r224760, and enhance the sed patterns from r224659 to comment out 2011-08-10 20:52:02 +00:00
ntp.conf Tighten default restrictions for ntpd(8) server and provide a link 2013-12-27 23:06:15 +00:00
opieaccess
pccard_ether Not only load pccard_ether settings, also load network settings. This 2012-11-08 20:34:12 +00:00
pf.os Add DragonFly BSD fingerprints to pf.os 2013-12-03 04:32:02 +00:00
phones
portsnap.conf Now that the portsnap buildbox is generating the raw bits for INDEX-10, 2013-09-26 10:33:15 +00:00
printcap
profile
protocols Bring /etc/protocols up to date. 2013-05-10 13:57:44 +00:00
rc The rc system aggressively caches the contents of /etc/rc.conf in order to 2013-12-03 21:55:57 +00:00
rc.bsdextended
rc.firewall Whitespace nit 2012-07-13 06:46:09 +00:00
rc.initdiskless Revert r243228. This commit appears to cause more trouble than 2012-11-21 18:12:28 +00:00
rc.resume wpa_supplicant should be able to reassociate when resuming, so remove a 2013-07-04 07:32:40 +00:00
rc.sendmail
rc.shutdown Refine the "nojail" rc keyword, adding "nojailvnet" for files that don't 2013-05-19 04:10:34 +00:00
rc.subr Resurrect set_rcvar() as a function to define a rc.conf variable. 2014-10-02 01:16:30 +00:00
rc.suspend Revert r211288 and move the logic to the acpi_timer itself. 2012-02-08 20:31:42 +00:00
regdomain.xml Add a new 900MHz GSM regulatory SKU for the Xagyl Communications XC900M. 2012-12-07 06:34:46 +00:00
remote
rpc
services Add Veritas NetBackup 2013-12-03 04:03:19 +00:00
shells
snmpd.config Adds the bsnmp module to export the temperature data from lm75 sensors on 2014-06-01 03:14:03 +00:00
sysctl.conf
syslog.conf sbin/devd/devd.cc 2013-12-13 22:58:57 +00:00
termcap.small