mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
fix: Local variables
This commit is contained in:
parent
f6ffc8db2a
commit
166ae138e0
1 changed files with 3 additions and 3 deletions
|
|
@ -6,11 +6,11 @@ set -Eeuo pipefail
|
|||
[[ "$SAMBA" != [Yy1]* ]] && return 0
|
||||
[[ "$NETWORK" != [Yy1]* ]] && return 0
|
||||
|
||||
local hostname="host.lan"
|
||||
local interface="dockerbridge"
|
||||
hostname="host.lan"
|
||||
interface="dockerbridge"
|
||||
[[ "$DHCP" == [Yy1]* ]] && interface="$VM_NET_DEV"
|
||||
|
||||
local share="$STORAGE/shared"
|
||||
share="$STORAGE/shared"
|
||||
|
||||
mkdir -p "$share"
|
||||
[ -z "$(ls -A "$share")" ] && chmod -R 777 "$share"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue