aboutsummaryrefslogtreecommitdiff
path: root/init.d/tmpfilesd.sysinit.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/tmpfilesd.sysinit.in')
-rw-r--r--init.d/tmpfilesd.sysinit.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/init.d/tmpfilesd.sysinit.in b/init.d/tmpfilesd.sysinit.in
new file mode 100644
index 00000000..9a0dbe47
--- /dev/null
+++ b/init.d/tmpfilesd.sysinit.in
@@ -0,0 +1,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
+}