mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
19 lines
329 B
Plaintext
19 lines
329 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 2022 Gentoo Authors
|
|
# Released under the 2-clause BSD license.
|
|
|
|
description="Create Volatile Files and Directories"
|
|
|
|
depend()
|
|
{
|
|
provide tmpfiles-setup tmpfiles.setup
|
|
need localmount
|
|
}
|
|
|
|
start()
|
|
{
|
|
ebegin "${description}"
|
|
systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
|
|
eend $?
|
|
}
|