mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-30 00:17:40 +01:00
Allow custom scripts
https://github.com/alexbelgium/hassio-addons/issues/411
This commit is contained in:
7
nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh
Normal file
7
nextcloud/rootfs/etc/cont-init.d/99-custom_scripts.sh
Normal 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
|
||||
Reference in New Issue
Block a user