mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
feat: Add option to disable Samba
This commit is contained in:
parent
b7aa0d42a5
commit
b3ac158fb5
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…
Add table
Add a link
Reference in a new issue