From c4460fce01b5c2ea2ceda5544331e2ab6c488476 Mon Sep 17 00:00:00 2001 From: Sean Summers Date: Mon, 22 Dec 2014 11:50:07 -0600 Subject: [PATCH] Change VOLUME_NAME to remove all / VOLUME_NAME now gets all / characters removed (instead of just the first), which will allow access to volumes that are more than one directory deep. --- samba/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba/setup.sh b/samba/setup.sh index 90e6aa2..3ec535f 100755 --- a/samba/setup.sh +++ b/samba/setup.sh @@ -28,7 +28,7 @@ if [ "$container" = "--start" ]; then echo "add $vol" export VOLUME=$vol - export VOLUME_NAME=$(echo $VOLUME | sed "s/\///") + export VOLUME_NAME=$(echo $VOLUME | sed "s/\///g") cat /share.tmpl | envsubst >> /etc/samba/smb.conf done