fix: Disable Samba if networking is disabled (#254)

This commit is contained in:
Kroese 2024-03-11 14:14:45 +01:00 committed by GitHub
parent 77358f0632
commit 787f815527
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@ set -Eeuo pipefail
[[ "$DHCP" == [Yy1]* ]] && return 0 [[ "$DHCP" == [Yy1]* ]] && return 0
[[ "$SAMBA" != [Yy1]* ]] && return 0 [[ "$SAMBA" != [Yy1]* ]] && return 0
[[ "$NETWORK" != [Yy1]* ]] && return 0
SHARE="$STORAGE/shared" SHARE="$STORAGE/shared"