diff options
Diffstat (limited to 'sys-apps/systemd-utils/files/systemd-tmpfiles-setup')
-rw-r--r-- | sys-apps/systemd-utils/files/systemd-tmpfiles-setup | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-apps/systemd-utils/files/systemd-tmpfiles-setup b/sys-apps/systemd-utils/files/systemd-tmpfiles-setup new file mode 100644 index 000000000000..a36c1020e0db --- /dev/null +++ b/sys-apps/systemd-utils/files/systemd-tmpfiles-setup @@ -0,0 +1,18 @@ +#!/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 $? +} |