summaryrefslogtreecommitdiff
path: root/sys-kernel/dkms/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-05-21 15:44:21 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-05-21 15:44:21 +0100
commit866847a0617642ce45c3aabdbbc029e70322a4cd (patch)
tree010c07757bf6f75f443b7263b06e4b361bd32017 /sys-kernel/dkms/files
parent95cc91a8e2f55db5432e88a3c49cc11df836aed1 (diff)
sys-kernel/dkms - fix openrc initscript
Diffstat (limited to 'sys-kernel/dkms/files')
-rw-r--r--sys-kernel/dkms/files/dkms.initd14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys-kernel/dkms/files/dkms.initd b/sys-kernel/dkms/files/dkms.initd
index 3647ff49..d55e04fa 100644
--- a/sys-kernel/dkms/files/dkms.initd
+++ b/sys-kernel/dkms/files/dkms.initd
@@ -1,16 +1,20 @@
#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 2017 Redcore Linux Project
# Distributed under the terms of the GNU General Public License v2
depend() {
- need localmount
- before net
+ after localmount
}
start() {
- ebegin "Starting Dynamic Kernel Module Support "
+ ebegin "Starting DKMS (dynamic kernel module support) "
/usr/lib/dkms/dkms_autoinstaller start
- eend 0
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping DKMS (dynamic kernel module support)"
+ eend $?
}
status() {