diff --git a/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh new file mode 100644 index 000000000..2cd29608f --- /dev/null +++ b/nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh @@ -0,0 +1,7 @@ +#!/usr/bin/with-contenv bashio +# shellcheck shell=bash + +if [ -f /config/addons_config/nextcloud/*.sh ]; then +bashio::log.info "Scripts found in /config/addons_config/nextcloud, executing" +bash /config/addons_config/nextcloud/*.sh +fi