summaryrefslogtreecommitdiffstats
path: root/abs/extra/irqbalance/finish
blob: ccd92788cceda0d943ff2a2b34952dadda3dc0bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

PID=`pidof -o %PPID /usr/sbin/irqbalance`

    stat_runit "Stopping IRQ balancing"
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon irqbalance
      stat_done
    fi