pika-amdgpu-switcher/pika-amdgpu-core/debian/prerm
2023-04-10 12:34:37 +03:00

12 lines
205 B
Bash

#!/bin/sh
set -e
systemctl disable --now amdgpu-pro-lib.service || echo "amdgpu-pro-lib service could not be disabled"
rm -r /usr/lib/firmware/amdgpu || echo
update-initramfs -c -k all
# Add firmware