summaryrefslogtreecommitdiff
path: root/sys-kernel/dkms/files/dkms.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-05-21 12:27:40 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-05-21 12:27:40 +0100
commit95cc91a8e2f55db5432e88a3c49cc11df836aed1 (patch)
tree4a242430e7eedabb8d1650e0c80ae4921707cc7a /sys-kernel/dkms/files/dkms.initd
parent5075bf447b7a6bf529fd6c81671c8e9e172d04f2 (diff)
sys-kernel/dkms : new version v2.3, fix upstream provided systemd.service, add openrc support, don't mess with config files
Diffstat (limited to 'sys-kernel/dkms/files/dkms.initd')
-rw-r--r--sys-kernel/dkms/files/dkms.initd18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-kernel/dkms/files/dkms.initd b/sys-kernel/dkms/files/dkms.initd
new file mode 100644
index 00000000..3647ff49
--- /dev/null
+++ b/sys-kernel/dkms/files/dkms.initd
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need localmount
+ before net
+}
+
+start() {
+ ebegin "Starting Dynamic Kernel Module Support "
+ /usr/lib/dkms/dkms_autoinstaller start
+ eend 0
+}
+
+status() {
+ /usr/lib/dkms/dkms_autoinstaller status
+}