mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-30 03:53:18 -04:00
22 lines
996 B
Plaintext
22 lines
996 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
echo '
|
|
***********************************************************
|
|
***********************************************************
|
|
**** ****
|
|
**** ****
|
|
**** This mod "linuxserver/mods:wait-for-internet" ****
|
|
**** ****
|
|
**** ****
|
|
**** has been deprecated and will not receive updates ****
|
|
**** ****
|
|
**** ****
|
|
**** ****
|
|
***********************************************************
|
|
***********************************************************'
|
|
|
|
# Loop until an active internet connection is established
|
|
until $(curl --max-time 60 -s -o /dev/null https://www.linuxserver.io/); do
|
|
# Sleep to allow cooldown
|
|
sleep 10
|
|
done |