repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
package/nbd: add option for the trdump utility
[buildroot-gz.git]
/
package
/
pulseaudio
/
S50pulseaudio
blob
c1d88626f40b84bdf7232c5ec6a2d6d57a3237c3
1
#!/bin/sh
2
#
3
# Starts pulseaudio.
4
#
5
6
7
start
() {
8
printf
"Starting pulseaudio: "
9
umask
077
10
/
usr
/
bin
/
pulseaudio
--system --daemonize
11
echo
"OK"
12
}
13
stop
() {
14
printf
"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