diff --git a/cloudcommander/rootfs/run.sh b/cloudcommander/rootfs/run.sh index 49c5b7239..e4d4041ca 100644 --- a/cloudcommander/rootfs/run.sh +++ b/cloudcommander/rootfs/run.sh @@ -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 #################