This commit is contained in:
2026-03-15 04:54:51 +01:00
parent 0fb8fe5a66
commit 7ac487f640
81 changed files with 3867 additions and 0 deletions

9
lib/network.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
network_warn_if_offline() {
if command -v ping >/dev/null 2>&1 && ping -c 1 -W 1 1.1.1.1 >/dev/null 2>&1; then
ui_success "Connectivite reseau disponible"
else
ui_warn "Reseau non verifie ou indisponible"
fi
}