summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {