feat: Add option to disable Samba

This commit is contained in:
Kroese 2024-03-11 12:38:23 +01:00 committed by GitHub
parent b7aa0d42a5
commit b3ac158fb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,10 @@
#!/usr/bin/env bash
set -Eeuo pipefail
: "${SAMBA:="Y"}"
[[ "$DHCP" == [Yy1]* ]] && return 0
[[ "$SAMBA" != [Yy1]* ]] && return 0
SHARE="$STORAGE/shared"