From 75ce51c7567dd6220dcada40b3d498b0dd0f295c Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Sat, 26 Dec 2015 10:17:22 +0100 Subject: [PATCH] Add wait for net check This should fix #16 --- init/30_update_plex.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/30_update_plex.sh b/init/30_update_plex.sh index 2804517..20a6f15 100644 --- a/init/30_update_plex.sh +++ b/init/30_update_plex.sh @@ -1,6 +1,8 @@ #!/bin/bash export DEBIAN_FRONTEND=noninteractive +while ! ping -c1 tools.linuxserver.io &>/dev/null; do :; done + #The following error is not an error. INSTALLED=$(dpkg-query -W -f='${Version}' plexmediaserver)