Created
July 8, 2020 18:56
-
-
Save dakira/189c8820108190291a81bb3af601156c to your computer and use it in GitHub Desktop.
Let script wait for internet connectivity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
while ! ping -c 1 -W 1 8.8.8.8; do | |
sleep 1 | |
done | |
curl -X POST https://maker.ifttt.com/trigger/pump/with/key/hfjrufjehgfhjgefgegf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment