saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
19
init.d/kmod-static-nodes
Executable file
19
init.d/kmod-static-nodes
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/sbin/runscript
|
||||
# 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 $?
|
||||
}
|
||||
Reference in New Issue
Block a user