summaryrefslogtreecommitdiff
path: root/sys-kernel/dkms/files/dkms.initd
blob: d55e04fa86c9eb60e15a3252d3a45e88cbc8e6aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/openrc-run
# Copyright 2017 Redcore Linux Project
# Distributed under the terms of the GNU General Public License v2

depend() {
	after localmount
}

start() {
	ebegin "Starting DKMS (dynamic kernel module support) "
		/usr/lib/dkms/dkms_autoinstaller start
	eend $?
}

stop() {
	ebegin "Stopping DKMS (dynamic kernel module support)"
	eend $?
}

status() {
	/usr/lib/dkms/dkms_autoinstaller status
}