Create uninstall.sh
This commit is contained in:
8
uninstall.sh
Normal file
8
uninstall.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
systemctl stop cpu_temp_monitor
|
||||||
|
systemctl daemon-reload
|
||||||
|
rm /etc/systemd/system/cpu_temp_monitor.service
|
||||||
|
rm /usr/local/bin/cpu_temp_monitor.sh
|
||||||
|
rm /var/log/cpu_temp_monitor.log
|
||||||
|
sed -i '/tempmon/' ~/.bashrc
|
||||||
Reference in New Issue
Block a user