mirror of
https://github.com/dockur/windows.git
synced 2025-04-10 19:02:04 +00:00
Update samba.sh
This commit is contained in:
parent
461be96ecd
commit
bf997290e7
@ -14,6 +14,11 @@ if [[ "$DHCP" == [Yy1]* ]]; then
|
|||||||
interface="$VM_NET_DEV"
|
interface="$VM_NET_DEV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${NETWORK,,}" == "user"* ]];
|
||||||
|
hostname="$IP"
|
||||||
|
interface="$VM_NET_DEV"
|
||||||
|
fi
|
||||||
|
|
||||||
addShare() {
|
addShare() {
|
||||||
local dir="$1"
|
local dir="$1"
|
||||||
local name="$2"
|
local name="$2"
|
||||||
|
Loading…
Reference in New Issue
Block a user