openrc/init.d/tmpfiles.setup.in

20 lines
340 B
Plaintext
Raw Normal View History

#!@SBINDIR@/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"
@LIBEXECDIR@/sh/tmpfiles.sh --exclude-prefix=/dev --create --remove \
${tmpfiles_opts}
eend $?
return 0
}