mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-30 18:39:10 +00:00 
			
		
		
		
	Allow Updating WGDashboard (#2866)
This commit is contained in:
		
							parent
							
								
									ccc91c0337
								
							
						
					
					
						commit
						1672c7fc0e
					
				| @ -68,7 +68,11 @@ exit | |||||||
| fi | fi | ||||||
| if [ "$UPD" == "2" ]; then | if [ "$UPD" == "2" ]; then | ||||||
|   if [[ -f /etc/systemd/system/wg-dashboard.service ]]; 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  |     exit  | ||||||
|   fi |   fi | ||||||
| IP=$(hostname -I | awk '{print $1}') | IP=$(hostname -I | awk '{print $1}') | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user