summaryrefslogtreecommitdiffstats
path: root/debian/pulseaudio.pulseaudio-enable-autospawn.init
diff options
context:
space:
mode:
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