summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-07-09 13:58:34 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-07-09 14:34:44 +0200
commit3843742efffba73810bc4140604977aa0fdd9824 (patch)
treee7648dbd9ad17db6b6991831e3c6ce9fab3a2840 /sys-apps/irqbalance/files/irqbalance.init.3
parentmedia-video/ffmpeg: bump to 3.4.3 (diff)
downloadgentoo-3843742efffba73810bc4140604977aa0fdd9824.tar.gz
gentoo-3843742efffba73810bc4140604977aa0fdd9824.tar.bz2
gentoo-3843742efffba73810bc4140604977aa0fdd9824.zip
sys-apps/irqbalance: Removed old.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'sys-apps/irqbalance/files/irqbalance.init.3')
-rw-r--r--sys-apps/irqbalance/files/irqbalance.init.327
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-apps/irqbalance/files/irqbalance.init.3 b/sys-apps/irqbalance/files/irqbalance.init.3
deleted file mode 100644
index 9ed16416510d..000000000000
--- a/sys-apps/irqbalance/files/irqbalance.init.3
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-depend() {
- need localmount
- after bootmisc
-}
-
-command="/usr/sbin/irqbalance"
-command_args="${IRQBALANCE_OPTS}"
-
-check_sysfs() {
- if grep -q MSI /proc/interrupts 2>/dev/null && \
- test -z "$(find /sys/devices -type d -name msi_irqs 2>/dev/null)"; then
- eerror "MSI interrupts found in /proc/interrupts but none found in sysfs."
- eerror "You need to update your kernel."
- return 1
- fi
-}
-
-start() {
- check_sysfs || return 1
- ebegin "Starting irqbalance"
- start-stop-daemon --exec ${command} --start -- ${IRQBALANCE_OPTS}
- eend $?
-}