diff --git a/sunset-alarm b/sunset-alarm index 1d89abe..365aa9e 100755 --- a/sunset-alarm +++ b/sunset-alarm @@ -51,10 +51,10 @@ fi # Internet connectivity check ############################################################################### check_internet() { - if curl -s --max-time 5 -o /dev/null https://www.google.com/generate_204; then + if curl -s --max-time 5 -o /dev/null https://hyperling,com; then return 0 fi - if curl -s --max-time 5 -o /dev/null https://captive.apple.com/hotspot-detect.html; then + if curl -s --max-time 5 -o /dev/null https://mullvad.net; then return 0 fi return 1