diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/irqbalance/run | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/irqbalance/run b/abs/core/runit-scripts/runitscripts/services/irqbalance/run new file mode 100755 index 0000000..6342868 --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/irqbalance/run @@ -0,0 +1,16 @@ +#!/bin/bash + +# source application-specific settings +ONESHOT=0 +[ -f /etc/conf.d/irqbalance ] && . /etc/conf.d/irqbalance + +if [ "$ONESHOT" -ne 0 ]; then + ONESHOT_CMD="--oneshot" +fi + +. /etc/rc.conf +. /etc/rc.d/functions + +stat_runit "Starting irqbalance" + +exec /usr/sbin/irqbalance --debug $ONESHOT_CMD >/dev/null |