summaryrefslogtreecommitdiff
path: root/init.d/tmpfilesd.sysinit.in
blob: 9a0dbe4751900ae7c44f73a013c07d4f5e0ac1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!@PREFIX@/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Released under the 2-clause BSD license.

description="Create tmpfiles.d entries (sysinit)"

depend()
{
	# Convert to 'need dev' when the new udev is ready, for OpenRC 0.11
	#need dev-mount
	need dev
}

start()
{
	ebegin "${description/Create/Creating}"
	@LIBEXECDIR@/sh/tmpfiles.sh --create ${tmpfiles_opts}
	eend $?
	return 0
}