mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 09:27:35 +02:00
Change: All Vanilla desktop setups: Do not enable 'bluetooth.service' when running inside a VM.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Amelia Installer
|
# Amelia Installer
|
||||||
# Source: https://gitlab.com/prism7/archery
|
# Source: https://gitlab.com/prism7/archery
|
||||||
# Version: 8.9.1
|
# Version: 8.9.2
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
@@ -6177,14 +6177,16 @@ SLICK
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${bluetooth}" ]]; then
|
if [[ "${vendor}" != "Virtual Machine" ]]; then
|
||||||
local stage_prompt="Bluetooth Service Activation"
|
if [[ -n "${bluetooth}" ]]; then
|
||||||
if arch-chroot /mnt <<-BLUETOOTH > /dev/null 2>&1 2> amelia_log.txt ; then
|
local stage_prompt="Bluetooth Service Activation"
|
||||||
systemctl enable ${bluetooth} || exit
|
if arch-chroot /mnt <<-BLUETOOTH > /dev/null 2>&1 2> amelia_log.txt ; then
|
||||||
|
systemctl enable ${bluetooth} || exit
|
||||||
BLUETOOTH
|
BLUETOOTH
|
||||||
stage_ok
|
stage_ok
|
||||||
else
|
else
|
||||||
stage_fail
|
stage_fail
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user