mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-23 02:04:46 +00:00
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)
This commit is contained in:
parent
416c130ca1
commit
b5ed5226dd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172488
|
@ -11,5 +11,8 @@
|
|||
# Support for legacy /etc/rc.early script
|
||||
#
|
||||
if [ -r /etc/rc.early ]; then
|
||||
warn 'Use of the early.sh script is deprecated'
|
||||
warn 'Please use a new-style rc.d script instead'
|
||||
warn 'See rc(8) for more information'
|
||||
. /etc/rc.early
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue