Update samba.sh

This commit is contained in:
Kroese 2024-05-05 18:46:30 +02:00 committed by GitHub
parent f38e94858f
commit 1f3cb4aff6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,6 @@ if [[ "$DHCP" == [Yy1]* ]]; then
fi
share="/shared"
[ ! -d "$share" ] && share="$STORAGE/shared"
mkdir -p "$share"
[ -z "$(ls -A "$share")" ] && chmod 777 "$share"