mirror of
https://github.com/andrey271192/WARP-Web-UI-Relay-Beta.git
synced 2026-09-20 11:55:35 +00:00
Sanitized panel from production: env-based auth, interactive install prompts for SOCKS/Web UI ports, MIT license, EN/RU README. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
432 B
Bash
Executable File
11 lines
432 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
warp-cli --accept-tos disconnect 2>/dev/null || true
|
|
systemctl stop warp-svc 2>/dev/null || true
|
|
systemctl disable warp-svc 2>/dev/null || true
|
|
if dpkg -l cloudflare-warp >/dev/null 2>&1; then
|
|
apt-get remove -y -qq cloudflare-warp || apt-get purge -y -qq cloudflare-warp
|
|
fi
|
|
echo "WARP package removed (config may remain under /var/lib/cloudflare-warp)."
|