python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / irqbalance / S13irqbalance
blobb06a3372e987409c64d6c1d4c40014436a4a25e6
1 #!/bin/sh
3 # Starts irqbalance
6 EXEC="/usr/sbin/irqbalance"
7 ARGS=""
8 PID="/var/run/irqbalance.pid"
10 case "$1" in
11 start)
12 printf "Starting irqbalance: "
13 start-stop-daemon -S -q -x $EXEC -- $ARGS
14 if [ $? != 0 ]; then
15 echo "FAILED"
16 exit 1
17 else
18 echo "OK"
20 pidof irqbalance > $PID
22 stop)
23 printf "Stopping irqbalance: "
24 start-stop-daemon -K -q -p $PID
25 echo "OK"
27 restart|reload)
28 $0 stop
29 $0 start
32 echo "Usage: $0 {start|stop|restart}"
33 exit 1
34 esac