summaryrefslogtreecommitdiffstats
path: root/debian/pulseaudio.pulseaudio-enable-autospawn.init
blob: 8295b63fd6170caa78acd8f062ba530234fb81c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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