Files
pmaports-rtwo/main/esystemd/systemd-tmpfiles-clean.initd
T
Aster Boese 6ada2d68a3 main/esystemd: new aport
esystemd is a meta build package that is meant for
building standalone versions of tmpfiles and sysusers.
It also contains their runtime configuration.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9103>
2026-09-06 16:30:57 +00:00

16 lines
258 B
Plaintext

#!/sbin/openrc-run
descriptions="Remove temporary files and directories"
depend() {
before mount-ro
}
start() {
if [ -x /usr/lib/tmpfiles.d ]; then
ebegin "Removing temporary files and directories"
/usr/bin/systemd-tmpfiles --remove
eend $?
fi
}