From 599d59fca9688cc11e8418ae49e0766ec96fe490 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Tue, 29 May 2012 13:47:18 +0000 Subject: testing/irqbalance: move to main --- main/irqbalance/irqbalance.initd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 main/irqbalance/irqbalance.initd (limited to 'main/irqbalance/irqbalance.initd') diff --git a/main/irqbalance/irqbalance.initd b/main/irqbalance/irqbalance.initd new file mode 100644 index 0000000000..11b18a379a --- /dev/null +++ b/main/irqbalance/irqbalance.initd @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/files/irqbalance.init,v 1.5 2012/01/07 22:04:49 vapier Exp $ + +depends() { + need localmount + after hwdrivers modules +} + +ssd() { + start-stop-daemon --exec /usr/sbin/irqbalance "$@" +} + +start() { + ebegin "Starting irqbalance" + ssd --start -- ${IRQBALANCE_OPTS} + eend $? +} + +stop() { + ebegin "Stopping irqbalance" + ssd --stop + eend $? +} -- cgit v1.2.3