This commit is contained in:
Alexandre
2021-10-24 17:58:40 +02:00

View File

@@ -4,13 +4,13 @@
# SCRIPTS #
###########
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"; do
echo $SCRIPTS
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"
do
bashio::log.info $SCRIPTS
chown $(id -u):$(id -g) $SCRIPTS
chmod a+x $SCRIPTS
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' $SCRIPTS
/.$SCRIPTS &
true # Prevents script crash on failure
/.$SCRIPTS & true # Prevents script crash on failure
done
#################