20 lines
340 B
Plaintext
20 lines
340 B
Plaintext
|
#!/sbin/openrc-run
|
||
|
# Copyright 1999-2012 Gentoo Foundation
|
||
|
# Released under the 2-clause BSD license.
|
||
|
|
||
|
description="Set up tmpfiles.d entries"
|
||
|
|
||
|
depend()
|
||
|
{
|
||
|
need localmount
|
||
|
}
|
||
|
|
||
|
start()
|
||
|
{
|
||
|
ebegin "Setting up tmpfiles.d entries"
|
||
|
/lib64/rc/sh/tmpfiles.sh --exclude-prefix=/dev --create --remove --boot \
|
||
|
${tmpfiles_opts}
|
||
|
eend $?
|
||
|
return 0
|
||
|
}
|