#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Released under the 2-clause BSD license.

description="Set up tmpfiles.d entries for /dev"

depend()
{
	provide tmpfiles-dev tmpfiles.dev
	use dev-mount
	before dev
	keyword -prefix -vserver
}

start()
{
	ebegin "Setting up tmpfiles.d entries for /dev"
	tmpfiles --prefix=/dev --create --boot ${tmpfiles_opts}
	eend $?
}
