• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/irqbalance/S13irqbalance
Maxime HadjinlianMaxime Hadjinlian committed 0f75b2635ee03 Oct 2015
Raw file
Source viewDiff to previous
 
1
#!/bin/sh
2
#
3
# Starts irqbalance
4
#
5
​
6
EXEC="/usr/sbin/irqbalance"
7
ARGS=""
8
PID="/var/run/irqbalance.pid"
9
​
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"
19
    fi
20
    pidof irqbalance > $PID
21
    ;;
22
    stop)
23
    printf "Stopping irqbalance: "
24
    start-stop-daemon -K -q -p $PID
25
    echo "OK"
26
    ;;
27
    restart|reload)
28
    $0 stop
29
    $0 start
30
    ;;
31
    *)
32
    echo "Usage: $0 {start|stop|restart}"
33
    exit 1
34
esac
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.