forked from forkanization/Proxmox-arm64
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ color
|
||||
catch_errors
|
||||
|
||||
function default_settings() {
|
||||
CT_TYPE="0"
|
||||
CT_TYPE="1"
|
||||
PW=""
|
||||
CT_ID=$NEXTID
|
||||
HN=$NSAPP
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ color
|
||||
catch_errors
|
||||
|
||||
function default_settings() {
|
||||
CT_TYPE="0"
|
||||
CT_TYPE="1"
|
||||
PW=""
|
||||
CT_ID=$NEXTID
|
||||
HN=$NSAPP
|
||||
|
||||
+5
-1
@@ -68,7 +68,11 @@ exit
|
||||
fi
|
||||
if [ "$UPD" == "2" ]; then
|
||||
if [[ -f /etc/systemd/system/wg-dashboard.service ]]; then
|
||||
msg_error "Existing WGDashboard Installation Found!";
|
||||
msg_info "Updating WGDashboard"
|
||||
cd /etc/wgdashboard/src
|
||||
yes "Y" | sudo ./wgd.sh update &>/dev/null
|
||||
sudo chmod u+x wgd.sh
|
||||
msg_ok "Updated Successfully"
|
||||
exit
|
||||
fi
|
||||
IP=$(hostname -I | awk '{print $1}')
|
||||
|
||||
Reference in New Issue
Block a user