From 255ef95aa4215915dcdd756728ec4604ad8a8af9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 27 Jan 2022 07:59:22 +0100 Subject: [PATCH] Update 99-run.sh --- photoprism/rootfs/etc/cont-init.d/99-run.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/photoprism/rootfs/etc/cont-init.d/99-run.sh b/photoprism/rootfs/etc/cont-init.d/99-run.sh index 3b7df2b85..a0e96353a 100644 --- a/photoprism/rootfs/etc/cont-init.d/99-run.sh +++ b/photoprism/rootfs/etc/cont-init.d/99-run.sh @@ -56,12 +56,6 @@ export PHOTOPRISM_ORIGINALS_PATH=$(bashio::config 'ORIGINALS_PATH') export PHOTOPRISM_IMPORT_PATH=$(bashio::config 'IMPORT_PATH') export PHOTOPRISM_BACKUP_PATH=$(bashio::config 'BACKUP_PATH') -if bashio::config.has_value 'CUSTOM_OPTIONS'; then - CUSTOMOPTIONS=$(bashio::config 'CUSTOM_OPTIONS') -else - CUSTOMOPTIONS="" -fi - # Test configs for variabletest in $PHOTOPRISM_STORAGE_PATH $PHOTOPRISM_ORIGINALS_PATH $PHOTOPRISM_IMPORT_PATH $PHOTOPRISM_BACKUP_PATH; do # Check if path exists @@ -80,4 +74,4 @@ bashio::log.info "Please wait 1 or 2 minutes to allow the server to load" bashio::log.info 'Default username : admin, default password: "please_change_password"' cd / -./entrypoint_photoprism.sh photoprism start '"'$CUSTOMOPTIONS'"' +./entrypoint_photoprism.sh photoprism start