1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-16 19:08:43 +01:00
OpenVoiceOS/buildroot-external/package/prepare_system-service/prepare_system
Peter Steenbergen e714267786 MycroftOS: Remove alsactl as alsa is not running at that point yet.
Secondly, export LC_ALL just to be sure.
2019-12-17 09:24:26 +01:00

22 lines
563 B
Bash
Executable File

#!/bin/bash
#
set -x
exec 1>/var/log/$(basename $0).log 2>&1
mkdir -p /boot
mount -t vfat /dev/mmcblk0p1 /boot
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
rm /var/lib/alsa/asound.state
rm /etc/pulse/default.pa
rm /etc/pulse/system.pa
rm /etc/pulse/daemon.conf
ln -s /var/lib/alsa/default-asound.state /var/lib/alsa/asound.state
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
export LC_ALL="C"