mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-01-20 04:11:49 +08:00
switch to hybrid
This commit is contained in:
parent
a5aafa5780
commit
44dcf312ed
7
root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/run
Executable file
7
root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/run
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# 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
|
||||
@ -0,0 +1 @@
|
||||
oneshot
|
||||
@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/run
|
||||
Loading…
x
Reference in New Issue
Block a user