![Jérôme Pouiller](/assets/img/avatar_default.png)
Unless it was a group of sub-packages, packages was never regrouped by category. multimedia/ was an exception to this rule. This patch move packages/multimedia/ sub-directories to packages/. It keeps two subdirectories for gstream 0.10 and gstreamer 1.X. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
40 lines
397 B
Bash
Executable file
40 lines
397 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Starts pulseaudio.
|
|
#
|
|
|
|
|
|
start() {
|
|
echo -n "Starting pulseaudio: "
|
|
umask 077
|
|
/usr/bin/pulseaudio --system --daemonize
|
|
echo "OK"
|
|
}
|
|
stop() {
|
|
echo -n "Stopping pulseaudio: "
|
|
pulseaudio --kill
|
|
echo "OK"
|
|
}
|
|
restart() {
|
|
stop
|
|
start
|
|
}
|
|
|
|
case "$1" in
|
|
start)
|
|
start
|
|
;;
|
|
stop)
|
|
stop
|
|
;;
|
|
restart|reload)
|
|
restart
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {start|stop|restart}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|
|
|