aboutsummaryrefslogtreecommitdiff
path: root/init.d/tmpfilesd.sysinit.in
blob: 303a1cf2eb619ddd00f4e83679dce560603c032e (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
	use dev
}

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