feat: Add option to disable Samba
This commit is contained in:
parent
1a6f95f7cf
commit
a583e329a5
1 changed files with 3 additions and 0 deletions
|
|
@ -1,7 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
: "${SAMBA:="Y"}"
|
||||
|
||||
[[ "$DHCP" == [Yy1]* ]] && return 0
|
||||
[[ "$SAMBA" != [Yy1]* ]] && return 0
|
||||
|
||||
SHARE="$STORAGE/shared"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue