#!/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/bin/irqbalance --debug $ONESHOT_CMD >/dev/null