From dfee52ef556dd00ffb49b9189ada6d46330e2e85 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 23 Aug 2022 14:31:04 +0200 Subject: [PATCH] Update 92-smb_mounts.sh --- .templates/92-smb_mounts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.templates/92-smb_mounts.sh b/.templates/92-smb_mounts.sh index acb63c981..9ef388152 100644 --- a/.templates/92-smb_mounts.sh +++ b/.templates/92-smb_mounts.sh @@ -47,6 +47,7 @@ if bashio::config.has_value 'networkdisks'; then # Clean name of network share # shellcheck disable=SC2116,SC2001 disk=$(echo $disk | sed "s,/$,,") # Remove / at end of name + disk="${disk//"\040"/ }" #replace \040 with diskname="${disk//\\//}" #replace \ with / diskname="${diskname##*/}" # Get only last part of the name