You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/sys-apps/kmod/files/kmod-static-nodes-r1

19 lines
500 B

#!/sbin/openrc-run
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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 $?
}