#!/bin/bash # # Launchpad Bug #445852 - devkit-disks-probe-ata-smart causes HSM Violations on SSD, and potential hardware death # Workaround Hotfix Script # by GenericAnimeBoy # # Note: MUST BE RUN AS ROOT # Divert the problem package using dpkg dpkg-divert --divert --add --rename --divert /lib/udev/devkit-disks-probe-ata-smart.bak /lib/udev/devkit-disks-probe-ata-smart # Create a dummy script touch /lib/udev/devkit-disks-probe-ata-smart # Add the following lines echo "#!/bin/bash # exit 0" > /lib/udev/devkit-disks-probe-ata-smart # Make the dummy script executable: chmod 755 /lib/udev/devkit-disks-probe-ata-smart