summaryrefslogtreecommitdiff
blob: a55163d3fd6533e3acd5a393a1ff79beb07c37b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Released under the 2-clause BSD license.

description="Set up tmpfiles.d entries"

depend()
{
	provide stmpfiles-setup stmpfiles.setup tmpfiles-setup tmpfiles.setup
	need localmount
}

start()
{
	ebegin "Setting up tmpfiles.d entries"
	/bin/systemd-tmpfiles --exclude-prefix=/dev --create --remove --boot \
		${stmpfiles_opts}
	eend $?
}