mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
feat: Add option to disable Samba (#253)
This commit is contained in:
parent
68457e56d6
commit
77358f0632
4 changed files with 18 additions and 3 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