Commit 711165ae authored by udeved's avatar udeved
Browse files

set pulse client to autospawn server on openrc

parent 0383bbee
......@@ -65,6 +65,10 @@ livetimer=$(get_timer_ms)
modprobe dm-mod
echo "Load dm-mod: $(elapsed_time_ms ${livetimer})ms" >> /var/log/manjaro-live.log
livetimer=$(get_timer_ms)
configure_pulse
echo "Configured pulse: $(elapsed_time_ms ${livetimer})ms" >> /var/log/manjaro-live.log
# livetimer=$(get_timer_ms)
# configure_alsa /
# alsactl -f /etc/asound.state store &>/dev/null
......
......@@ -317,6 +317,12 @@ configure_user_root(){
fi
}
configure_pulse(){
if [[ -f /usr/bin/openrc ]]; then
sed -e "s|autospawn = no|autospawn = yes|" -i /etc/pulse/client.conf
fi
}
# configure_alsa(){
# # amixer binary
# local alsa_amixer="chroot $1 /usr/bin/amixer"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment