mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
Update samba.sh
This commit is contained in:
parent
461be96ecd
commit
bf997290e7
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ if [[ "$DHCP" == [Yy1]* ]]; then
|
|||
interface="$VM_NET_DEV"
|
||||
fi
|
||||
|
||||
if [[ "${NETWORK,,}" == "user"* ]];
|
||||
hostname="$IP"
|
||||
interface="$VM_NET_DEV"
|
||||
fi
|
||||
|
||||
addShare() {
|
||||
local dir="$1"
|
||||
local name="$2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue