clean run.sh

This commit is contained in:
Alexandre
2021-10-24 18:00:25 +02:00
parent f4197c1351
commit 93641cb687

View File

@@ -4,13 +4,13 @@
# SCRIPTS #
###########
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"
do
bashio::log.info $SCRIPTS
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"; do
echo $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
#################