diff --git a/root/etc/cont-init.d/15-wait-for-internet b/root/etc/cont-init.d/15-wait-for-internet index 6775102..e11d834 100644 --- a/root/etc/cont-init.d/15-wait-for-internet +++ b/root/etc/cont-init.d/15-wait-for-internet @@ -1,5 +1,20 @@ #!/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 diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/run b/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/run new file mode 100755 index 0000000..fc98f82 --- /dev/null +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/run @@ -0,0 +1,22 @@ +#!/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 diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/type b/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/type new file mode 100644 index 0000000..3d92b15 --- /dev/null +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/type @@ -0,0 +1 @@ +oneshot \ No newline at end of file diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/up b/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/up new file mode 100644 index 0000000..3aab970 --- /dev/null +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/up @@ -0,0 +1 @@ +/etc/s6-overlay/s6-rc.d/init-mod-universal-wait-for-internet/run \ No newline at end of file diff --git a/root/etc/s6-overlay/s6-rc.d/init-mods/dependencies.d/init-mod-universal-wait-for-internet b/root/etc/s6-overlay/s6-rc.d/init-mods/dependencies.d/init-mod-universal-wait-for-internet new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-mod-universal-wait-for-internet b/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-mod-universal-wait-for-internet new file mode 100644 index 0000000..e69de29