diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-12-08 11:30:05 +0100 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-12-08 11:30:05 +0100 |
| commit | 6ce227d6274869a95150746d2f2d8c8c5ed9a266 (patch) | |
| tree | e662aef39f81f31970fc8768e0d6c1dc82066b3b /libexec | |
| parent | f0ea859229843affe07ac94db915489756f87096 (diff) | |
cleanvar: Fix startup order
Instead of having FILESYSTEMS require cleanvar, which doesn't really
make semantic sense, say that cleanvar needs to run before FILESYSTEMS.
MFC after: 3 days
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54118
Diffstat (limited to 'libexec')
| -rwxr-xr-x | libexec/rc/rc.d/FILESYSTEMS | 2 | ||||
| -rwxr-xr-x | libexec/rc/rc.d/cleanvar | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rc/rc.d/FILESYSTEMS b/libexec/rc/rc.d/FILESYSTEMS index 1bf52077be8e..d93d65153e41 100755 --- a/libexec/rc/rc.d/FILESYSTEMS +++ b/libexec/rc/rc.d/FILESYSTEMS @@ -3,7 +3,7 @@ # # PROVIDE: FILESYSTEMS -# REQUIRE: root mountcritlocal cleanvar tmp +# REQUIRE: root mountcritlocal tmp var # This is a dummy dependency, for services which require filesystems # to be mounted before starting. It also serves as the default early / diff --git a/libexec/rc/rc.d/cleanvar b/libexec/rc/rc.d/cleanvar index dce5baa6875b..daae456fbe71 100755 --- a/libexec/rc/rc.d/cleanvar +++ b/libexec/rc/rc.d/cleanvar @@ -4,6 +4,7 @@ # PROVIDE: cleanvar # REQUIRE: var +# BEFORE: FILESYSTEMS . /etc/rc.subr |
