diff --git a/configure-stormux.sh b/configure-stormux.sh index 59d423d..45bada0 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -74,6 +74,9 @@ while [[ "$choice" != "Exit" ]]; do sudo "${sudoFlags[@]}" sed -i 's/^#AutoEnable=false$/AutoEnable=true/' /etc/bluetooth/main.conf sudo "${sudoFlags[@]}" systemctl enable bluetooth --now ;; + "Install Raspberry Pi 5 kernel") + install_package linux-rpi-16k + ;; "Install Lxqt Desktop") source .includes/gui.sh lxqt ;; @@ -103,9 +106,10 @@ while [[ "$choice" != "Exit" ]]; do options=( "Change username" "Configure internet" + "Enable Bluetooth" ) - if [[ "$(systemctl is-active bluetooth)" == "inactive" ]] && [[ "${architecture}" == "aarch64" ]]; then - options+=("Enable Bluetooth") + if [[ "$(cat /sys/firmware/devicetree/base/model | cut -f-3 -d ' ')" == "Raspberry Pi 5" ]]; then + options+=("Install Raspberry Pi 5 kernel") fi options+=("Install Lxqt Desktop" "Install Mate Desktop"