53e91b664f
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)
19 lines
323 B
Bash
19 lines
323 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: early
|
|
# REQUIRE: disks localswap
|
|
# BEFORE: fsck
|
|
|
|
#
|
|
# 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
|