Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2024-04-28 18:06:47 +10:00
16 changed files with 608 additions and 23 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ color
catch_errors
function default_settings() {
CT_TYPE="0"
CT_TYPE="1"
PW=""
CT_ID=$NEXTID
HN=$NSAPP
+1 -1
View File
@@ -29,7 +29,7 @@ color
catch_errors
function default_settings() {
CT_TYPE="0"
CT_TYPE="1"
PW=""
CT_ID=$NEXTID
HN=$NSAPP
+5 -1
View File
@@ -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}')