feat: uninstall.sh and README one-command server removal

Made-with: Cursor
This commit is contained in:
Андрей Бобырев
2026-04-25 18:30:13 +03:00
parent d5116bcf69
commit a78311767b
2 changed files with 19 additions and 0 deletions

9
uninstall.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -e
echo "Удаление Keenetic SSH…"
systemctl stop keenetic-ssh 2>/dev/null || true
systemctl disable keenetic-ssh 2>/dev/null || true
rm -f /etc/systemd/system/keenetic-ssh.service
systemctl daemon-reload 2>/dev/null || true
rm -rf /opt/keenetic-ssh
echo "Готово."