Update run.sh

This commit is contained in:
Alexandre
2021-10-24 17:48:29 +02:00
committed by GitHub
parent 24a5577bcb
commit 6a874d740a

View File

@@ -4,11 +4,11 @@
# SCRIPTS #
###########
for SCRIPTS in "00-banner.sh" "92-local_mounts.sh" "92-smb_mounts.sh"
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
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"
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
done
#################