You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samwiseetc/init.d/pulseaudio-enable-autospawn

25 lines
469 B
Bash

#!/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