File: pulseaudio.pulseaudio-enable-autospawn.init

package info (click to toggle)
pulseaudio 16.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 15,888 kB
  • sloc: ansic: 155,893; sh: 1,042; python: 789; cpp: 431; perl: 166; xml: 84; makefile: 70
file content (24 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (4)
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