Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

wireguard update not working, suggestions? #2943

Closed Answered by tteck
nmbrg asked this question in Q&A
Discussion options

You must be logged in to vote

When you use the command update and select "1" it executes apt-get update && apt-get -y upgrade. Look at the code!

Proxmox/ct/wireguard.sh

Lines 57 to 68 in 0e01ceb

UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \
"1" "Update ${APP} LXC" ON \
"2" "Install WGDashboard" OFF \
3>&1 1>&2 2>&3)
header_info
if [ "$UPD" == "1" ]; then
msg_info "Updating ${APP} LXC"
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP} LXC"
exit
fi

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nmbrg
Comment options

@kuchar91
Comment options

@nmbrg
Comment options

@tteck
Comment options

tteck May 9, 2024
Maintainer

Answer selected by tteck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants