mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									a5c5628bed
								
							
						
					
					
						commit
						830fddb2a9
					
				| 
						 | 
					@ -70,8 +70,8 @@ if [ "$UPD" == "2" ]; then
 | 
				
			||||||
  if [[ -f /etc/systemd/system/wg-dashboard.service ]]; then
 | 
					  if [[ -f /etc/systemd/system/wg-dashboard.service ]]; then
 | 
				
			||||||
    msg_info "Updating WGDashboard"
 | 
					    msg_info "Updating WGDashboard"
 | 
				
			||||||
    cd /etc/wgdashboard/src
 | 
					    cd /etc/wgdashboard/src
 | 
				
			||||||
    yes "Y" | sudo ./wgd.sh update &>/dev/null
 | 
					    chmod u+x wgd.sh
 | 
				
			||||||
    sudo chmod u+x wgd.sh
 | 
					    ./wgd.sh update
 | 
				
			||||||
    msg_ok "Updated Successfully"
 | 
					    msg_ok "Updated Successfully"
 | 
				
			||||||
    exit 
 | 
					    exit 
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
| 
						 | 
					@ -91,9 +91,9 @@ WGDREL=$(curl -s https://api.github.com/repos/donaldzou/WGDashboard/releases/lat
 | 
				
			||||||
 | 
					
 | 
				
			||||||
git clone -b ${WGDREL} https://github.com/donaldzou/WGDashboard.git /etc/wgdashboard &>/dev/null
 | 
					git clone -b ${WGDREL} https://github.com/donaldzou/WGDashboard.git /etc/wgdashboard &>/dev/null
 | 
				
			||||||
cd /etc/wgdashboard/src
 | 
					cd /etc/wgdashboard/src
 | 
				
			||||||
sudo chmod u+x wgd.sh
 | 
					chmod u+x wgd.sh
 | 
				
			||||||
sudo ./wgd.sh install &>/dev/null
 | 
					./wgd.sh install &>/dev/null
 | 
				
			||||||
sudo chmod -R 755 /etc/wireguard
 | 
					chmod -R 755 /etc/wireguard
 | 
				
			||||||
msg_ok "Installed WGDashboard"
 | 
					msg_ok "Installed WGDashboard"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Creating Service"
 | 
					msg_info "Creating Service"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue