summaryrefslogtreecommitdiff
path: root/nonsystemd/openrc/opentmpfiles-dev.initd
blob: 587d0e9ea202bbe64f30ca36f09877a4294bbd32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/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 $?
}