freebsd-dev/etc
Sheldon Hearn f66e7afa28 Add to defaults/rc.conf a new function source_rc_confs which rc
scripts may use to source safely overrides in ${rc_conf_files}
files.

This protects users who insist on the bad practice of copying
/etc/defaults/rc.conf to /etc/rc.conf from a recursive loop
that exhausts available file descriptors.

Several people have expressed interest in breaking this function
out into its own shell script.  Anyone who wants to embark on
such an undertaking would do well to study the attributed PR.

PR:		17595
Reported by:	adrian
Submitted by:	Doug Barton <Doug@gorean.org>
2000-04-27 08:43:49 +00:00
..
defaults Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
etc.alpha * Use console' rather than ttyv0' so there will always be a getty on 2000-01-29 00:50:21 +00:00
etc.amd64 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs 2000-01-29 12:18:03 +00:00
etc.i386 Revert to rev 1.6 until post 4.0-R. As probably 98% of i386 installs 2000-01-29 12:18:03 +00:00
isdn update to isdn4bsd beta release 0.90 1999-12-14 21:14:28 +00:00
kerberosIV $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
mail Correct $FreeBSD tags to include the (missing) ``:'', restoring the tags 2000-03-18 06:38:23 +00:00
mtree Add ${X11BASE}/lib/aout. 2000-03-25 00:00:27 +00:00
namedb Sigh. RFC2038 and bind 8.2.2 have a slight variation of interpretation 2000-01-10 15:31:40 +00:00
periodic Revert to rev 1.3 since the sed'ing is wrong. Revisit this after 4.0-RELEASE. 2000-01-27 22:52:43 +00:00
ppp $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
rc.d Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
root o Migrate path, umask from dot.login to dot.cshrc 2000-03-25 20:23:39 +00:00
sendmail Revert previous commit, -o is functional here and is required. 1999-12-29 18:20:23 +00:00
aliases $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
amd.map Add/adjust some $FreeBSD$ tags. 1999-09-13 17:09:08 +00:00
apmd.conf $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
auth.conf $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
crontab This was a mixed bag of spaces and ^I's. 1999-12-15 17:58:29 +00:00
csh.cshrc $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
csh.login $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
csh.logout $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
dhclient.conf $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
disktab $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
dm.conf $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
fbtab Add/adjust some $FreeBSD$ tags. 1999-09-13 17:09:08 +00:00
ftpusers $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
gettytab $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
group $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
host.conf $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hosts Add IPv6 loopback entry into src/etc/hosts. 2000-02-15 14:59:16 +00:00
hosts.allow Clarify the disposition of hosts.deny and provide a logically 2000-03-28 17:28:56 +00:00
hosts.equiv $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
hosts.lpd $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
inetd.conf Fix a misspelling in the comments for tha IPv6 auth service and change them 2000-03-25 21:17:24 +00:00
locale.alias Fix a rather amusing bug. 1999-10-30 07:28:49 +00:00
login.access $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
login.conf o Improve the comment concerning rebuilding the database using cap_mkdb -- 2000-03-26 05:41:10 +00:00
MAKEDEV Replace the /dev/stdin, /dev/stdout, and /dev/stderr nodes with 2000-04-26 06:12:42 +00:00
MAKEDEV.local $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Makefile Remove pccard.conf.sample from Makefile, sorry I forgot. 2000-04-15 16:48:41 +00:00
master.passwd Add/adjust some $FreeBSD$ tags. 1999-09-13 17:09:08 +00:00
minfree
modems $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
motd Add missing trailing slash to URL. 1999-12-15 13:11:32 +00:00
netstart Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
network.subr Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
networks $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
newsyslog.conf Add two commented out syslog.conf entries, one to demonstrate the use of 2000-02-08 21:57:28 +00:00
pam.conf Add ftpd entries into /etc/pam.conf. 2000-02-12 20:22:20 +00:00
pccard_ether Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
phones $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
pim6dd.conf Prevent multicast packets from being sent over stf0 interface, 2000-03-11 20:10:39 +00:00
pim6sd.conf Prevent multicast packets from being sent over stf0 interface, 2000-03-11 20:10:39 +00:00
printcap $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
profile $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
protocols $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
rc Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.atm No arguments needed for fore_dnld any longer. 2000-02-15 13:21:43 +00:00
rc.devfs Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.diskless1 Cleanup diskless support in current, mostly aligning it to the one 2000-01-06 18:17:38 +00:00
rc.diskless2 Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.firewall Add to defaults/rc.conf a new function source_rc_confs which rc 2000-04-27 08:43:49 +00:00
rc.initdiskless Cleanup diskless support in current, mostly aligning it to the one 2000-01-06 18:17:38 +00:00
rc.isdn Apply a consistent style to most of the etc scripts. Particularly, use 1999-09-13 15:44:20 +00:00
rc.network Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
rc.network6 Removed unnecessary comma in stf addr printf in hex format, 2000-04-06 00:24:52 +00:00
rc.pccard Now that pccardc beep actually works, add knob for it in rc.conf/rc.pccard 1999-12-02 19:48:16 +00:00
rc.resume Apply a consistent style to most of the etc scripts. Particularly, use 1999-09-13 15:44:20 +00:00
rc.serial $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
rc.shutdown Finish up umntall support. init now passed an argument to the 1999-11-22 04:23:11 +00:00
rc.suspend Apply a consistent style to most of the etc scripts. Particularly, use 1999-09-13 15:44:20 +00:00
rc.sysctl Add and document support for handling comments and blank lines 2000-01-16 18:12:42 +00:00
remote $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
security Add a step for showing changes in the way filesystems are mounted 2000-04-06 10:46:50 +00:00
services $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
shells Add /bin/tcsh 2000-04-20 09:04:28 +00:00
syslog.conf Add two commented out syslog.conf entries, one to demonstrate the use of 2000-02-08 21:57:28 +00:00
termcap.small Add/adjust some $FreeBSD$ tags. 1999-09-13 17:09:08 +00:00
usbd.conf Entry for Zip drive no longer needed. We do automatic rescans on connect 2000-04-03 11:16:41 +00:00