blob: 83b6268a0c5799f2557473c3383d575a876d1738 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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/bin/irqbalance --debug $ONESHOT_CMD >/dev/null
|