2012-09-27 04:12:37 +05:30
|
|
|
#!@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
|
2012-10-20 08:15:14 +05:30
|
|
|
use dev
|
2012-09-27 04:12:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
start()
|
|
|
|
{
|
2012-10-19 23:32:30 +05:30
|
|
|
ebegin "Creating ${description#Create }"
|
2012-09-27 04:12:37 +05:30
|
|
|
@LIBEXECDIR@/sh/tmpfiles.sh --create ${tmpfiles_opts}
|
|
|
|
eend $?
|
|
|
|
return 0
|
|
|
|
}
|