From 790f01ce966851fc438db5b18583f5cc6a778a75 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Mon, 25 Sep 2017 19:29:59 -0500 Subject: openrc-base-20170904-1.1: updating version --- pcr/openrc-base/kmod-static-nodes.initd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pcr/openrc-base/kmod-static-nodes.initd (limited to 'pcr/openrc-base/kmod-static-nodes.initd') diff --git a/pcr/openrc-base/kmod-static-nodes.initd b/pcr/openrc-base/kmod-static-nodes.initd new file mode 100644 index 000000000..7a3f529dc --- /dev/null +++ b/pcr/openrc-base/kmod-static-nodes.initd @@ -0,0 +1,19 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +description="Create list of required static device nodes for the current kernel" + +depend() { + after dev-mount + before tmpfiles.dev dev + keyword -lxc -systemd-nspawn +} + +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