fixed samba conf path

This commit is contained in:
Snogard 2023-07-23 17:53:47 +02:00
parent a25d70001d
commit bc1c17049a

View File

@ -14,7 +14,7 @@ echo "Copy $srcCondigFile to $dstConfigFile"
sudo cp $srcCondigFile $dstConfigFile
echo "Creating share folders"
cat system/samba/smb.conf | grep -vi ";" | grep -vi "#" | grep -i "path =" > /tmp/smbpaths.txt
cat /etc/samba/smb.conf | grep -vi ";" | grep -vi "#" | grep -i "path =" > /tmp/smbpaths.txt
while read path; do
echo "Creating folder at ${path:7}"