diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 01:21:43 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 01:21:43 -0500 |
commit | f37f6ba19db229119ba3bd209dc10814dacf07b0 (patch) | |
tree | de1e376137768e3df281aa7d992c9b5686d9c40b /system/kmod/kmod-static-nodes.initd | |
parent | f6aa28831790b57cd2cb7407e3a7f69a2cb08b07 (diff) | |
download | packages-f37f6ba19db229119ba3bd209dc10814dacf07b0.tar.gz packages-f37f6ba19db229119ba3bd209dc10814dacf07b0.tar.bz2 packages-f37f6ba19db229119ba3bd209dc10814dacf07b0.tar.xz packages-f37f6ba19db229119ba3bd209dc10814dacf07b0.zip |
system/kmod: pull in for mkinitfs
Diffstat (limited to 'system/kmod/kmod-static-nodes.initd')
-rw-r--r-- | system/kmod/kmod-static-nodes.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/system/kmod/kmod-static-nodes.initd b/system/kmod/kmod-static-nodes.initd new file mode 100644 index 000000000..ef8912f60 --- /dev/null +++ b/system/kmod/kmod-static-nodes.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/files/kmod-static-nodes-r1,v 1.1 2014/07/11 12:28:07 ssuominen Exp $ + +description="Create list of required static device nodes for the current kernel" + +depend() { + after dev-mount + before tmpfiles.dev dev + keyword -lxc +} + +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 $? +} |