mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-06 11:54:53 +01:00
Update run.sh
This commit is contained in:
@@ -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
|
||||
|
||||
#################
|
||||
|
||||
Reference in New Issue
Block a user