HEADS UP: Support for /etc/rc.early is now deprecated

Doug Barton dougb at FreeBSD.org
Tue Oct 9 00:47:54 PDT 2007


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 at FreeBSD.org>
To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org, cvs-all at 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



More information about the freebsd-current mailing list