summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-09-26 06:17:25 +0000
committerphk <phk@FreeBSD.org>2001-09-26 06:17:25 +0000
commit8196536441794b09959c5c5d8d292db66f6e64f1 (patch)
treef170bfa1db350693210a03e06dc11c1711d3600d /etc/rc
parent2baeb917042983010cf6c1ec9923868dbf320709 (diff)
downloadFreeBSD-src-8196536441794b09959c5c5d8d292db66f6e64f1.zip
FreeBSD-src-8196536441794b09959c5c5d8d292db66f6e64f1.tar.gz
Give people a chance to do things before fsck is run.
MFC after: 2 weeks
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 504954d..0fd78a2 100644
--- a/etc/rc
+++ b/etc/rc
@@ -181,6 +181,12 @@ esac
swapon -a
+# Last chance to do things before potentially waiting for
+# operator to do fsck related tasks
+if [ -r /etc/rc.early ]; then
+ . /etc/rc.early
+fi
+
case ${bootmode} in
autoboot)
echo 'Automatic boot in progress...'
OpenPOWER on IntegriCloud