Autostarted connectivity check

This commit is contained in:
Torxed committed 2025-08-02 18:09:37 +02:00
1 parent 8ffeb978d1
commit cbca7de51a
2 files changed
+14 -2

No files matched your search

+11
View File
@@ -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