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