diff --git a/profiles/pci/handhelds/profiles.toml b/profiles/pci/handhelds/profiles.toml index 005a3b8..0cc5c83 100644 --- a/profiles/pci/handhelds/profiles.toml +++ b/profiles/pci/handhelds/profiles.toml @@ -32,19 +32,19 @@ post_install = """ systemctl enable --now "${service}.service" done echo "Adding required kernel parameters..." - sed -i 's/LINUX_OPTIONS="[^"]*/& ${kernelparams}/' /etc/sdboot-manage.conf + sed -i "s/LINUX_OPTIONS="[^"]*/& ${kernelparams}/" /etc/sdboot-manage.conf """ post_remove = """ echo "Steam deck chwd removing..." username=$(id -nu 1000) - services=('steam-powerbuttond') + services=("steam-powerbuttond") kernelparams="amd_iommu=off amdgpu.gttsize=8128 spi_amd.speed_dev=1 audit=0 iomem=relaxed amdgpu.ppfeaturemask=0xffffffff" echo "Disabling services..." for service in ${services[@]}; do systemctl disable "${service}.service" done echo "Removing kernel parameters..." - sed -i 's/${kernelparams}//' /etc/sdboot-manage.conf + sed -i "s/${kernelparams}//" /etc/sdboot-manage.conf """ [phoenix] @@ -54,7 +54,7 @@ class_ids = "0300" vendor_ids =" 1002" device_ids = "15bf" priority = 6 -packages = "hhd hhd-ui jupiter-hw-support mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau opencl-rusticl-mesa lib32-opencl-rusticl-mesa rocm-opencl-runtime" +packages = 'hhd hhd-ui jupiter-hw-support mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau opencl-rusticl-mesa lib32-opencl-rusticl-mesa rocm-opencl-runtime' post_install = """ echo "Ally and Legion chwd installing..." username=$(id -nu 1000) @@ -74,7 +74,7 @@ post_remove = """ username=$(id -nu 1000) services=("steam-powerbuttond" "hhd@${username}") maskservices=("jupiter-fan-control" "jupiter-bios-update" "jupiter-controller-update") - echo 'Disabling services...' + echo "Disabling services..." for service in ${services[@]}; do systemctl disable "${service}.service" done