Code Review
/
packages
/
trusty
/
cirros-testvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git]
/
cirros-testvm
/
src-cirros
/
buildroot-2015.05
/
package
/
pulseaudio
/
S50pulseaudio
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