Autostarted connectivity check
This commit is contained in:
2 files changed
+14
-2
No files matched your search
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
check_connectivity() {
|
||||
curl -s --connect-timeout 5 https://omarchy.org/ > /dev/null
|
||||
}
|
||||
|
||||
INTERNET=`check_connectivity`
|
||||
while ! $INTERNET; do
|
||||
impala
|
||||
INTERNET=`check_connectivity`
|
||||
done
|
||||
Reference in new issue
Block a user