diff options
Diffstat (limited to 'pcr/openrc-core/kmod-static-nodes')
-rw-r--r-- | pcr/openrc-core/kmod-static-nodes | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pcr/openrc-core/kmod-static-nodes b/pcr/openrc-core/kmod-static-nodes new file mode 100644 index 000000000..71bcf9c45 --- /dev/null +++ b/pcr/openrc-core/kmod-static-nodes @@ -0,0 +1,18 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/files/Attic/kmod-static-nodes,v 1.2 2014/09/21 10:59:57 ssuominen dead $ + +description="Create list of required static device nodes for the current kernel" + +depend() { + after dev-mount + before tmpfiles.dev dev +} + +start() { + ebegin "Creating list of required static device nodes for the current kernel" + checkpath -q -d /run/tmpfiles.d + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf + eend $? +} |