Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 405357 | Differences between
and this patch

Collapse All | Expand All

(-)irqbalance.orig (+9 lines)
Lines 12-18 Link Here
12
	start-stop-daemon --exec /usr/sbin/irqbalance "$@"
12
	start-stop-daemon --exec /usr/sbin/irqbalance "$@"
13
}
13
}
14
14
15
check_sysfs() {
16
	if grep -q MSI /proc/interrupts 2>/dev/null && [[ -z "$(find /sys/devices -type d -name msi_irqs 2>/dev/null)" ]]; then
17
		eerror "MSI interrupts found in /proc/interrupts but none found in sysfs."
18
		eerror "You need to update your kernel."
19
		return 1
20
	fi
21
}
22
15
start() {
23
start() {
24
	check_sysfs || return 1
16
	ebegin "Starting irqbalance"
25
	ebegin "Starting irqbalance"
17
	ssd --start -- ${IRQBALANCE_OPTS}
26
	ssd --start -- ${IRQBALANCE_OPTS}
18
	eend $?
27
	eend $?

Return to bug 405357