Change: All Vanilla desktop setups: Do not enable 'bluetooth.service' when running inside a VM.

This commit is contained in:
Jane Doe
2025-03-03 15:13:04 +00:00
parent e72d9226bc
commit 9926f74007
+10 -8
View File
@@ -2,7 +2,7 @@
# Amelia Installer
# Source: https://gitlab.com/prism7/archery
# Version: 8.9.1
# Version: 8.9.2
set -euo pipefail
###################################################################################################
@@ -6177,14 +6177,16 @@ SLICK
fi
fi
if [[ -n "${bluetooth}" ]]; then
local stage_prompt="Bluetooth Service Activation"
if arch-chroot /mnt <<-BLUETOOTH > /dev/null 2>&1 2> amelia_log.txt ; then
systemctl enable ${bluetooth} || exit
if [[ "${vendor}" != "Virtual Machine" ]]; then
if [[ -n "${bluetooth}" ]]; then
local stage_prompt="Bluetooth Service Activation"
if arch-chroot /mnt <<-BLUETOOTH > /dev/null 2>&1 2> amelia_log.txt ; then
systemctl enable ${bluetooth} || exit
BLUETOOTH
stage_ok
else
stage_fail
stage_ok
else
stage_fail
fi
fi
fi