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

Made-with: Cursor
This commit is contained in:
Андрей Бобырев
2026-04-25 18:30:12 +03:00
parent adcf95ff4a
commit 584028ae60
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-dns-routes…"
systemctl stop keenetic-dns-routes 2>/dev/null || true
systemctl disable keenetic-dns-routes 2>/dev/null || true
rm -f /etc/systemd/system/keenetic-dns-routes.service
systemctl daemon-reload 2>/dev/null || true
rm -rf /opt/keenetic-dns-routes
echo "Готово."