From f8e4235893b9122cffa0400654a2a9b1d1146a11 Mon Sep 17 00:00:00 2001 From: freaj Date: Mon, 23 Mar 2015 11:34:25 +0100 Subject: openrc-core: add new package to [pcr] --- pcr/openrc-core/kmod-static-nodes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pcr/openrc-core/kmod-static-nodes (limited to 'pcr/openrc-core/kmod-static-nodes') 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 $? +} -- cgit v1.2.3