diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-05-29 13:47:18 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-05-29 13:47:18 +0000 |
commit | 599d59fca9688cc11e8418ae49e0766ec96fe490 (patch) | |
tree | 463c24f2b055dc9c2310320f1d41f9cb568c568d /main/irqbalance/irqbalance.initd | |
parent | 05a2c92d3ed8e3c1c3efe03d8be6dc7e03637c1c (diff) | |
download | aports-599d59fca9688cc11e8418ae49e0766ec96fe490.tar.bz2 aports-599d59fca9688cc11e8418ae49e0766ec96fe490.tar.xz |
testing/irqbalance: move to main
Diffstat (limited to 'main/irqbalance/irqbalance.initd')
-rw-r--r-- | main/irqbalance/irqbalance.initd | 25 |
1 files changed, 25 insertions, 0 deletions
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 $? +} |