Allow custom scripts

https://github.com/alexbelgium/hassio-addons/issues/411
This commit is contained in:
Alexandre
2022-08-02 18:50:21 +02:00
committed by GitHub
parent b441ed40b4
commit 748f3b1fea

View File

@@ -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