From 48babec3bd43598b5589d2034a7fced866b167b3 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 12 Jan 2023 10:51:43 -0500 Subject: [PATCH] Update wireguard-v5.sh tweak --- ct/wireguard-v5.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ct/wireguard-v5.sh b/ct/wireguard-v5.sh index 824e6f7c..4d825bd5 100644 --- a/ct/wireguard-v5.sh +++ b/ct/wireguard-v5.sh @@ -325,6 +325,10 @@ msg_ok "Update Successfull" exit fi if [ "$UPD" == "2" ]; then + if [[ -f /etc/systemd/system/wg-dashboard.service ]]; then + msg_error "Existing WGDashboard Installation Found!"; + exit + fi IP=$(hostname -I | awk '{print $1}') msg_info "Installing pip3" apt-get install -y python3-pip &>/dev/null