From 8ace2241384c61d854ebbef48ca50d398af841b7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 16 Sep 2024 03:14:42 -0400 Subject: [PATCH] Update wireguard.sh create update path --- ct/wireguard.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ct/wireguard.sh b/ct/wireguard.sh index a183c6bb..dbb15b7f 100644 --- a/ct/wireguard.sh +++ b/ct/wireguard.sh @@ -54,7 +54,11 @@ function default_settings() { function update_script() { if [[ ! -d /etc/wireguard ]]; then msg_error "No ${APP} Installation Found!"; exit; fi -msg_error "Update WireGuard via apt" +apt-get update +apt-get -y upgrade +sleep 2 +cd /etc/wgdashboard/src +./wgd.sh update exit }