freebsd-nq/libexec/rc/rc.d/FILESYSTEMS
Gleb Smirnoff 4f48fd7c56 Add 'tmp' to the list of FILESYSTEMS dependencies. Some scripts that
depend on FILESYSTEMS run mktemp(1).  For systems that have read-only
root this is broken until memory disk based /tmp is instantiated.  At
least 'os-release' and 'motd' are subject to this problem.

Reviewed by:		ngie
Differential Revision:	https://reviews.freebsd.org/D28097
2021-01-15 12:44:06 -08:00

13 lines
351 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: FILESYSTEMS
# REQUIRE: root mountcritlocal cleanvar tmp
# This is a dummy dependency, for services which require filesystems
# 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 filesystems than /.