Merge pull request #297 from ublue-os/revert-autologin-check

revert: "fix(hardware-setup): REVERT ME, disable desktop-autologin if…
This commit is contained in:
Kyle Gospodnetich 2023-09-13 16:39:30 -07:00 committed by GitHub
commit 0ba71d35e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
source /etc/default/bazzite
# SCRIPT VERSION
HWS_VER=2
HWS_VER=1
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VERSION_FILE)
@ -84,13 +84,6 @@ elif [[ $IMAGE_NAME =~ "deck" ]]; then
systemctl --global disable --now sdgyrodsu.service
fi
# REVERT ME, disable desktop-autologin if gamescope-autologin is enabled
if [[ $IMAGE_NAME =~ "deck" ]]; then
if systemctl is-enabled --quiet gamescope-autologin; then
systemctl disable --now desktop-autologin
fi
fi
if grep -qz "Kernel driver in use: radeon" <<< $GPU_ID; then
echo "Legacy AMD hardware detected, enabling CIK and SI support in AMDGPU"
if [[ ! $KARGS =~ "radeon.si_support" ]]; then