Version 1.0.1 - Testing Internet with github.com

Testing Internet connectivity with github.com instead of google.com.
This commit is contained in:
Locutus73
2019-06-10 10:47:45 +02:00
committed by GitHub
parent ce83eb2239
commit 5e87e3257d

View File

@@ -16,13 +16,14 @@
# You can download the latest version of this script from:
# https://github.com/MiSTer-devel/Scripts_MiSTer
# Version 1.0.1 - 2019-06-10 - Testing Internet connectivity with github.com instead of google.com.
# Version 1.0 - 2019-02-05 - First commit
if [ ! -f /media/fat/linux/rclone ]
then
curl -sf https://google.com &>/dev/null
curl -sf https://github.com &>/dev/null
case $? in
0)
echo "Downloading and extracting"
@@ -85,4 +86,4 @@ echo ""
done
echo "Done!"
exit 0
exit 0