Disable unsupported device services

This commit is contained in:
Manuel Thalmann 2024-09-30 21:47:52 +02:00
parent aaf5d40973
commit a430cdde1b

View file

@ -31,8 +31,13 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end end
and for component in (getOSConfig hardware.components --json | jq '.[]' --raw-output0 | string split0) and for component in (getOSConfig hardware.components --json | jq '.[]' --raw-output0 | string split0)
if [ "$component" = "Logitech G903" ] switch "$component"
source "$dir/../../Common/Drivers/Logitech G903/main.fish" $argv case "Logitech G903"
source "$dir/../../Common/Drivers/Logitech G903/main.fish" $argv
case "ROG Zenith Extreme Alpha"
if $isInstall
sudo systemctl mask "dev-tpmrm0.device"
end
end end
end end