mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update entrypoint.sh
This commit is contained in:
@@ -29,11 +29,11 @@ fi
|
||||
# SCRIPTS #
|
||||
###########
|
||||
|
||||
for SCRIPTS in "00-banner.sh" "run.sh"; do
|
||||
for SCRIPTS in "/00-banner.sh" "/run.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 &&
|
||||
/.$SCRIPTS &&
|
||||
true # Prevents script crash on failure
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user