OpenVoiceOS/buildroot-external/package/prepare_system-service/prepare_system

13 lines
321 B
Plaintext
Raw Normal View History

#!/bin/bash
#
set -x
exec 1>/var/log/$(basename $0).log 2>&1
rm /etc/pulse/default.pa
rm /etc/pulse/system.pa
rm /etc/pulse/daemon.conf
ln -s /etc/pulse/pulseaudio-default.pa /etc/pulse/default.pa
ln -s /etc/pulse/pulseaudio-system.pa /etc/pulse/system.pa
ln -s /etc/pulse/pulseaudio-daemon.conf /etc/pulse/daemon.conf