mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update openwrt.sh (#2137)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							539696e84a
						
					
				
				
					commit
					393e1c6481
				
			@@ -432,7 +432,7 @@ msg_ok "Virtual Machine ID is ${CL}${BL}$VMID${CL}."
 | 
			
		||||
msg_info "Getting URL for OpenWrt Disk Image"
 | 
			
		||||
 | 
			
		||||
response=$(curl -s https://openwrt.org)
 | 
			
		||||
stableversion=$(echo "$response" | sed -n 's/.*Current stable release - OpenWrt \([0-9.]\+\).*/\1/p')
 | 
			
		||||
stableversion=$(echo "$response" | sed -n 's/.*Current stable release - OpenWrt \([0-9.]\+\).*/\1/p' | head -n 1)
 | 
			
		||||
URL="https://downloads.openwrt.org/releases/$stableversion/targets/x86/64/openwrt-$stableversion-x86-64-generic-ext4-combined.img.gz"
 | 
			
		||||
 | 
			
		||||
sleep 2
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user