mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-29 08:28:08 -07:00
Also move rtirq script into /usr/bin. Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
29 lines
431 B
Plaintext
29 lines
431 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License, v2 or later
|
|
|
|
command="/usr/bin/rtirq"
|
|
|
|
extra_commands="status"
|
|
|
|
depend() {
|
|
need localmount
|
|
after alsasound logger
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting rtirq"
|
|
${command} start
|
|
eend ${?}
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping rtirq"
|
|
${command} stop
|
|
eend ${?}
|
|
}
|
|
|
|
status() {
|
|
${command} status
|
|
}
|