btrfs-progs: bump version to 4.8.3
[buildroot-gz.git] / package / pulseaudio / S50pulseaudio
blobc1d88626f40b84bdf7232c5ec6a2d6d57a3237c3
1 #!/bin/sh
3 # Starts pulseaudio.
7 start() {
8 printf "Starting pulseaudio: "
9 umask 077
10 /usr/bin/pulseaudio --system --daemonize
11 echo "OK"
13 stop() {
14 printf "Stopping pulseaudio: "
15 pulseaudio --kill
16 echo "OK"
18 restart() {
19 stop
20 start
23 case "$1" in
24 start)
25 start
27 stop)
28 stop
30 restart|reload)
31 restart
34 echo "Usage: $0 {start|stop|restart}"
35 exit 1
36 esac
38 exit $?