Update update.sh
*curl* on some systems is failing due to no URL specified (1.1.1.1) and ISP blocking *curl* needs an URL for working correctly, so sometimes it is failing as it detects **No Internet connection** but there is. In addition, at some countries some ISP did not update their routers and/or network so the Cloudflare DNS `1.1.1.1` are not working either they are blocked. I suggest using `ping` instead of `curl` with a 3 seconds timeout and pinging to Google DNS (8.8.8.8) instead of Cloudflare ones, as they are universally accepted and used.
This commit is contained in:
		
							parent
							
								
									ff1b57315d
								
							
						
					
					
						commit
						a7bd462d74
					
				
		Loading…
	
		Reference in New Issue
	
	Block a user