Exits cleanly if validation of smb fails

This commit is contained in:
Alexandre
2021-10-24 17:34:15 +02:00
parent 8578ff1896
commit 14e1333617
20 changed files with 55 additions and 100 deletions

View File

@@ -45,7 +45,8 @@ fi
chown $(id -u):$(id -g) /92-local_mounts.sh
chmod a+x /92-local_mounts.sh
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' /92-local_mounts.sh
/./92-local_mounts.sh
/./92-local_mounts.sh &
true # Prevents script crash on failure
######################
# EXECUTE SMB SCRIPT #
@@ -53,7 +54,8 @@ sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' /92-local_mounts.s
chown $(id -u):$(id -g) /92-smb_mounts.sh
chmod a+x /92-smb_mounts.sh
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' /92-smb_mounts.sh
/./92-smb_mounts.sh
/./92-smb_mounts.sh &
true # Prevents script crash on failure
###################
# SSL CONFIG v1.0 #