mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
Add support for user pulseaudio service and switch to it
This commit is contained in:
@ -62,6 +62,9 @@ fi
|
|||||||
if [ -f /etc/pulse/system.pa ] ; then
|
if [ -f /etc/pulse/system.pa ] ; then
|
||||||
rm /etc/pulse/system.pa
|
rm /etc/pulse/system.pa
|
||||||
fi
|
fi
|
||||||
|
if [ -f /etc/pulse/default.pa ] ; then
|
||||||
|
rm /etc/pulse/default.pa
|
||||||
|
fi
|
||||||
if [ -f /etc/pulse/daemon.conf ] ; then
|
if [ -f /etc/pulse/daemon.conf ] ; then
|
||||||
rm /etc/pulse/daemon.conf
|
rm /etc/pulse/daemon.conf
|
||||||
fi
|
fi
|
||||||
@ -123,6 +126,8 @@ ln -s $ASOUND_STATE /var/lib/alsa/asound.state
|
|||||||
# Install pulseaudio files
|
# Install pulseaudio files
|
||||||
echo "create pulse system file"
|
echo "create pulse system file"
|
||||||
ln -s $PULSE_SYSTEM /etc/pulse/system.pa
|
ln -s $PULSE_SYSTEM /etc/pulse/system.pa
|
||||||
|
echo "create pulse default file"
|
||||||
|
ln -s $PULSE_SYSTEM /etc/pulse/default.pa
|
||||||
echo "create pulse daemon file"
|
echo "create pulse daemon file"
|
||||||
ln -s $PULSE_DAEMON /etc/pulse/daemon.conf
|
ln -s $PULSE_DAEMON /etc/pulse/daemon.conf
|
||||||
|
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
../../../../../../usr/lib/systemd/user/pulseaudio.service
|
@ -0,0 +1 @@
|
|||||||
|
../../../../../../usr/lib/systemd/user/pulseaudio.socket
|
Reference in New Issue
Block a user