• 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/multimedia/pulseaudio/S50pulseaudio
Jeremy RosenJeremy Rosen committed d26b5a26b9c03 May 2013
Raw file
Source viewDiff to previous
 
1
#!/bin/sh
2
#
3
# Starts pulseaudio.
4
#
5
​
6
​
7
start() {
8
    echo -n "Starting pulseaudio: "
9
    umask 077
10
    /usr/bin/pulseaudio --system --daemonize
11
    echo "OK"
12
}
13
stop() {
14
    echo -n "Stopping pulseaudio: "
15
    pulseaudio --kill
16
    echo "OK"
17
}
18
restart() {
19
    stop
20
    start
21
}
22
​
23
case "$1" in
24
  start)
25
    start
26
    ;;
27
  stop)
28
    stop
29
    ;;
30
  restart|reload)
31
    restart
32
    ;;
33
  *)
34
    echo "Usage: $0 {start|stop|restart}"
35
    exit 1
36
esac
37
​
38
exit $?
39
​
  • 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.