Date: Tue, 9 Oct 2007 00:47:51 -0700 (PDT) From: Doug Barton <dougb@FreeBSD.org> To: freebsd-current@freebsd.org Cc: freebsd-rc@freebsd.org Subject: HEADS UP: Support for /etc/rc.early is now deprecated Message-ID: <alpine.BSF.0.9999.0710090045250.1001@qbhto.arg>
next in thread | raw e-mail | index | archive | help
Please see below. If you need help converting an rc.early script that you are currently using to the new rc.d style please see rc(8) first, and if you get stuck the folks on freebsd-rc@ will be glad to help. Regards, Doug ---------- Forwarded message ---------- From: Doug Barton <dougb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Tue, 9 Oct 2007 00:30:14 Subject: cvs commit: src/etc/rc.d early.sh dougb 2007-10-09 07:30:14 UTC FreeBSD src repository Modified files: etc/rc.d early.sh Log: Deprecate use of the early.sh script as advertised when the support for local rc.d scripts in the overall boot order was added. Proper rc.d scripts are run by rc.subr in a subshell, whereas scripts that end in .sh are sourced into rc's shell. The latter has potential to create serious boot problems, and there is no reason that the same functionality cannot be added by the user in the form of a proper rc.d script (as opposed to being added by the user in the form of /etc/rc.early). This script will be removed prior to the 8.0 branch. Approved by: re (kensmith) Revision Changes Path 1.3 +3 -0 src/etc/rc.d/early.sh http://www.FreeBSD.org/cgi/cvsweb.cgi/src/etc/rc.d/early.sh.diff?&r1=1.2&r2=1.3&f=h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.0.9999.0710090045250.1001>