mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update entrypoint.sh
This commit is contained in:
@@ -25,4 +25,15 @@ if [ ! -f "/usr/bin/bashio" ]; then
|
|||||||
echo "Bashio installed"
|
echo "Bashio installed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./run.sh
|
###########
|
||||||
|
# SCRIPTS #
|
||||||
|
###########
|
||||||
|
|
||||||
|
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 &&
|
||||||
|
true # Prevents script crash on failure
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user