Files
docker-mods-uptime-kuma-tim…/root/etc/cont-init.d/15-wait-for-internet
T
2022-09-03 14:24:57 -04:00

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