mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
fix: Disable NetBIOS in DHCP mode
This commit is contained in:
parent
166ae138e0
commit
84ea9ee36e
1 changed files with 2 additions and 3 deletions
|
|
@ -68,12 +68,11 @@ isXP="N"
|
||||||
|
|
||||||
if [ -f "$STORAGE/windows.old" ]; then
|
if [ -f "$STORAGE/windows.old" ]; then
|
||||||
MT=$(<"$STORAGE/windows.old")
|
MT=$(<"$STORAGE/windows.old")
|
||||||
if [[ "${MT,,}" == "pc-q35-2"* ]]; then
|
[[ "${MT,,}" == "pc-q35-2"* ]] && isXP="Y"
|
||||||
isXP="Y"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$isXP" == [Yy1]* ]]; then
|
if [[ "$isXP" == [Yy1]* ]]; then
|
||||||
|
[[ "$DHCP" == [Yy1]* ]] && return 0
|
||||||
# Enable NetBIOS on Windows XP
|
# Enable NetBIOS on Windows XP
|
||||||
! nmbd && nmbd --debug-stdout
|
! nmbd && nmbd --debug-stdout
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue