From owner-cvs-all Thu Apr 27 1:44:16 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9729337B562; Thu, 27 Apr 2000 01:44:13 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Received: (from sheldonh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA56135; Thu, 27 Apr 2000 01:43:50 -0700 (PDT) (envelope-from sheldonh@FreeBSD.org) Message-Id: <200004270843.BAA56135@freefall.freebsd.org> From: Sheldon Hearn Date: Thu, 27 Apr 2000 01:43:50 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc netstart pccard_ether rc rc.devfs rc.diskless2 rc.firewall src/etc/defaults rc.conf Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sheldonh 2000/04/27 01:43:50 PDT Modified files: etc netstart pccard_ether rc rc.devfs rc.diskless2 rc.firewall etc/defaults rc.conf Log: 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 Revision Changes Path 1.55 +2 -1 src/etc/netstart 1.16 +2 -1 src/etc/pccard_ether 1.215 +5 -1 src/etc/rc 1.8 +2 -1 src/etc/rc.devfs 1.6 +2 -1 src/etc/rc.diskless2 1.33 +2 -1 src/etc/rc.firewall 1.59 +24 -13 src/etc/defaults/rc.conf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message