mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-16 00:33:31 +08:00
adf6511013
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 $?
|
|
|