mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-27 09:41:21 +00:00
revert: "fix(hardware-setup): REVERT ME, disable desktop-autologin if gamescope-autologin is enabled"
Not needed after consolidating to bazzite-autologin This reverts commit 38c95fcfe3c4bbd2427bdff90774258fe7af640a.
This commit is contained in:
parent
33de6fc7e2
commit
6763c3f504
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user