mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-26 07:50:33 +02:00
Update run.sh
This commit is contained in:
@@ -10,7 +10,8 @@ for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"; do
|
|||||||
chmod a+x $SCRIPTS
|
chmod a+x $SCRIPTS
|
||||||
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' $SCRIPTS
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' $SCRIPTS
|
||||||
/.$SCRIPTS &&
|
/.$SCRIPTS &&
|
||||||
true # Prevents script crash on failure
|
true || true # Prevents script crash on failure
|
||||||
|
echo "exit $?"
|
||||||
done
|
done
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
|||||||
Reference in New Issue
Block a user