From f528150fb611c3b5501d6f411eb76063be826110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C5=BEe=20Jen=C5=A1terle?= Date: Mon, 19 Aug 2019 23:40:07 +0200 Subject: [PATCH] Moved sleep in wpe-init for custom url support Change-type: patch --- wpe/wpe-init | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wpe/wpe-init b/wpe/wpe-init index 3bb95ca0..64fe2879 100644 --- a/wpe/wpe-init +++ b/wpe/wpe-init @@ -33,13 +33,11 @@ if [[ ! -z ${GALLERY_URL} ]] then echo "Loading gallery" WPE_URL="file:///var/lib/public_html/index.html" - - # wait for it - sleep 5 fi if [[ ! -z ${WPE_URL+x} ]] then + sleep 5 wget --post-data "url=$WPE_URL" http://localhost:8080/launch/ fi