Update wireguard.sh

create update path
pull/3735/head
tteckster 2 months ago committed by GitHub
parent 620b652864
commit 8ace224138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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
}

Loading…
Cancel
Save

Powered by BW's shoe-string budget.