diff options
author | des <des@FreeBSD.org> | 2007-04-02 22:53:07 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2007-04-02 22:53:07 +0000 |
commit | 993cec31de8c550802ff6e570b2bcf3c032339f6 (patch) | |
tree | d92fab41d74cf18a040f68831ab4e3240e3363c1 /etc/rc.d/FILESYSTEMS | |
parent | 006f27015b681035a3197ad78129b4e085590cd0 (diff) | |
download | FreeBSD-src-993cec31de8c550802ff6e570b2bcf3c032339f6.zip FreeBSD-src-993cec31de8c550802ff6e570b2bcf3c032339f6.tar.gz |
Add a dummy script, FILESYSTEMS, which depends on root and mountcritlocal
and takes over mountcritlocal's role as the early / late divider. This
makes it far easier to add rc scripts which need to run early, such as a
startup script for zfs, which is right around the corner.
This change should be a no-op; I have verified that the only change in
rcorder's output is the insertion of FILESYSTEMS immediately after
mountcritlocal.
MFC after: 3 weeks
Diffstat (limited to 'etc/rc.d/FILESYSTEMS')
-rw-r--r-- | etc/rc.d/FILESYSTEMS | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/rc.d/FILESYSTEMS b/etc/rc.d/FILESYSTEMS new file mode 100644 index 0000000..cff420e --- /dev/null +++ b/etc/rc.d/FILESYSTEMS @@ -0,0 +1,12 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: FILESYSTEMS +# REQUIRE: root mountcritlocal + +# This is a dummy dependency, for services which require file systems +# to be mounted before starting. It also serves as the default early / +# late divider; after this point, rc.d directories are rescanned to +# catch scripts from other file systems than /. |