mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update entrypoint.sh
This commit is contained in:
@@ -25,4 +25,15 @@ if [ ! -f "/usr/bin/bashio" ]; then
|
||||
echo "Bashio installed"
|
||||
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