mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 10:33:40 +02:00
Update 99-custom_scripts.sh
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
if [ -f /config/addons_config/nextcloud/*.sh ]; then
|
for file in /config/addons_config/nextcloud/*.sh
|
||||||
bashio::log.info "Scripts found in /config/addons_config/nextcloud, executing"
|
do
|
||||||
bash /config/addons_config/nextcloud/*.sh
|
if [ -e "$file" ]; then
|
||||||
fi
|
bashio::log.info "Executing $file"
|
||||||
|
bash "$file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user