We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cddb915 + dab2c41 commit 0526c1dCopy full SHA for 0526c1d
PiBuoyV2/services/sense/internet_check.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
3
-if wget -q --spider http://github.com; then
+if timeout 5 wget -q --spider http://github.com; then
4
echo "Online"
5
else
6
echo "Offline"
0 commit comments