mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-18 14:51:50 +02:00
Exits cleanly if validation of smb fails
This commit is contained in:
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user