steamdeck-jupiter-driver/debian/prerm
Ward Nakchbandi (Cosmic Fusion) 70b2acce27
Fix on non jupiter devices
2023-07-29 00:11:45 +03:00

13 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
set -e
systemctl disable --now jupiter-biosupdate.service || echo "jupiter-biosupdate service could not be disabled"
systemctl disable --now jupiter-controller-update.service || echo "jupiter-controller-update service could not be disabled"
systemctl disable --now jupiter-fan-control.service || echo "jupiter-fan-control service could not be disabled"
systemctl --global disable --now sdgyrodsu.service || echo "sdgyrodsu service could not be disabled"
systemctl disable --now sdgyrodsu.service || echo "sdgyrodsu service could not be disabled"
systemctl --global disable --now jupiter-controller-update.service || echo "jupiter-controller-updatel service could not be disabled"
systemctl --global disable --now jupiter-fan-control.service || echo "jupiter-fan-control service could not be disabled"
rm /usr/lib/systemd/system/jupiter-controller-update.service || echo "jupiter-controller-update service could not be disabled"
rm /usr/lib/systemd/system/jupiter-fan-control.service || echo "jupiter-fan-control service could not be disabled"