From 817367807840cfc490a8d06bcb21f44f3b6abebe Mon Sep 17 00:00:00 2001 From: ded_ikar <2+ded_ikar@noreply.localhost> Date: Sun, 17 May 2026 12:58:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20uninstall.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uninstall.sh | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 uninstall.sh diff --git a/uninstall.sh b/uninstall.sh new file mode 100644 index 0000000..823aa77 --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,46 @@ +#!/bin/sh + +echo "==================================" +echo " Удаление RouteRich BCW Manager " +echo "==================================" +echo "" + +echo "[1/3] Удаление команды bcw..." +rm -f /usr/bin/bcw + +echo "[2/3] Удаление менеджера..." +rm -f /root/blockcheckw-manager.sh + +echo "[3/3] Удаление настроек..." +rm -f /root/.bcw.conf + +echo "" +echo "Удалить пользовательские отчёты поиска?" +echo "" +echo "1 - Да" +echo "2 - Нет" +echo "" +printf "Выбор [1/2]: " +read ANS + +case "$ANS" in +1) +echo "" +echo "Удаление отчётов..." +rm -f /root/*_working.txt +rm -f /root/*_quick.txt +rm -f /root/*_report.json +rm -f /root/*_scan.json +rm -f /root/*_check.json +rm -f /root/*_report_vanilla.txt +echo "Отчёты удалены." +;; +*) +echo "" +echo "Отчёты сохранены." +;; +esac + +echo "" +echo "BCW Manager удалён." +echo "" \ No newline at end of file