Serial installer

This commit is contained in:
suchmememanyskill
2024-11-10 00:54:38 +01:00
parent e5390e731f
commit 12781051ca
6 changed files with 190 additions and 11 deletions

13
serial/uninstall.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ "$EUID" -eq 0 ]; then
echo "Please do not run as root"
exit
fi
systemctl --user stop cyd-klipper-serial
systemctl --user disable cyd-klipper-serial
rm ~/.config/systemd/user/cyd-klipper-serial.service
systemctl --user daemon-reload