mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-27 03:35:15 +00:00
chore: Move ds-inhibit to generic section of bazzite-hardware-setup in case users have changed the default behavior for this service.
This commit is contained in:
parent
1bbe69c337
commit
56060235a5
@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
|
||||
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
|
||||
|
||||
# SCRIPT VERSION
|
||||
HWS_VER=33
|
||||
HWS_VER=34
|
||||
HWS_VER_FILE="/etc/bazzite/hws_version"
|
||||
HWS_VER_RAN=$(cat $HWS_VER_FILE)
|
||||
|
||||
@ -194,7 +194,6 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
|
||||
|
||||
systemctl enable --now jupiter-fan-control.service
|
||||
systemctl enable --now vpower.service
|
||||
systemctl enable --now ds-inhibit.service
|
||||
else
|
||||
echo "Generic device detected. Performing setup..."
|
||||
systemctl disable --now jupiter-fan-control.service
|
||||
@ -204,6 +203,7 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam
|
||||
systemctl disable --now ryzenadj.service
|
||||
systemctl disable --now batterylimit.service
|
||||
fi
|
||||
systemctl enable --now ds-inhibit.service
|
||||
fi
|
||||
|
||||
# FSTAB CONFIGURATION
|
||||
|
Loading…
x
Reference in New Issue
Block a user