mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-31 02:49:19 +00:00 
			
		
		
		
	Update wireguard.sh
create update path
This commit is contained in:
		
							parent
							
								
									620b652864
								
							
						
					
					
						commit
						8ace224138
					
				| @ -54,7 +54,11 @@ function default_settings() { | |||||||
| 
 | 
 | ||||||
| function update_script() { | function update_script() { | ||||||
| if [[ ! -d /etc/wireguard ]]; then msg_error "No ${APP} Installation Found!"; exit; fi | if [[ ! -d /etc/wireguard ]]; then msg_error "No ${APP} Installation Found!"; exit; fi | ||||||
| msg_error "Update WireGuard via apt" | apt-get update | ||||||
|  | apt-get -y upgrade | ||||||
|  | sleep 2 | ||||||
|  | cd /etc/wgdashboard/src | ||||||
|  | ./wgd.sh update | ||||||
| exit | exit | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user