summaryrefslogtreecommitdiffstats
path: root/debian/pulseaudio.pulseaudio-enable-autospawn.init
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:03:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:03:19 +0000
commit9e3a6355172d4502a56db0ad3410b916980e6a76 (patch)
tree756fd792d3087d62e1dfe774385bac916585593e /debian/pulseaudio.pulseaudio-enable-autospawn.init
parentAdding upstream version 14.2. (diff)
downloadpulseaudio-9e3a6355172d4502a56db0ad3410b916980e6a76.tar.xz
pulseaudio-9e3a6355172d4502a56db0ad3410b916980e6a76.zip
Adding debian version 14.2-2.debian/14.2-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/pulseaudio.pulseaudio-enable-autospawn.init')
-rw-r--r--debian/pulseaudio.pulseaudio-enable-autospawn.init24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/pulseaudio.pulseaudio-enable-autospawn.init b/debian/pulseaudio.pulseaudio-enable-autospawn.init
new file mode 100644
index 0000000..8295b63
--- /dev/null
+++ b/debian/pulseaudio.pulseaudio-enable-autospawn.init
@@ -0,0 +1,24 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides: pulseaudio-enable-autospawn
+# Required-Start: $local_fs
+# Required-Stop: umountfs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Enable pulseaudio autospawn
+# Description: Enables autospawn for the pulseaudio daemon
+### END INIT INFO
+
+
+set -e
+
+. /lib/lsb/init-functions
+
+
+case "$1" in
+ start|reload|restart|force-reload)
+ echo "autospawn=yes" > /run/pulseaudio-enable-autospawn
+ ;;
+ stop|status)
+ ;;
+esac