Skip to content

Commit

Permalink
Switch ' to "
Browse files Browse the repository at this point in the history
  • Loading branch information
Pogogo007 committed May 20, 2024
1 parent 27c68e2 commit 8bcf419
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions profiles/pci/handhelds/profiles.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 8bcf419

Please sign in to comment.