diff --git a/webtrees/rootfs/scripts/99-custom_script.sh b/webtrees/rootfs/scripts/99-custom_script.sh new file mode 100644 index 000000000..9351f1366 --- /dev/null +++ b/webtrees/rootfs/scripts/99-custom_script.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") +CONFIGSOURCE="$(dirname "${CONFIGSOURCE}")" + +if [ -f "$CONFIGSOURCE"/script.sh ]; then +"$CONFIGSOURCE"./script.sh +fi