Files
ps5-linux-tools/systemd/ps5fan.service
Anderson 0a6c6aefa7 SystemD services & "reboot" using kexec (#1)
* Add: systemd services

* add --reboot on m2_exec.sh to kexec into the running kernel

* rem reboot from m2_exec.sh
2026-05-04 17:59:02 +02:00

14 lines
268 B
Desktop File

[Unit]
Description=Enable PS5 fan control
After=dev-icc.device
ConditionPathExists=/dev/icc
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/ps5_control --fan on
ExecStop=/usr/local/sbin/ps5_control --fan off
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target