diff --git a/src/samba.sh b/src/samba.sh index bdf232b..d2d8d11 100644 --- a/src/samba.sh +++ b/src/samba.sh @@ -108,16 +108,8 @@ if ! smbd; then smbd -i --debug-stdout || true fi -if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then - # Enable NetBIOS on Windows 7 and lower - if ! nmbd; then - error "NetBIOS daemon failed to start!" - nmbd -i --debug-stdout || true - fi -else - # Enable Web Service Discovery on Vista and up - wsdd -i "$interface" -p -n "$hostname" & - echo "$!" > /var/run/wsdd.pid -fi +# Enable Web Service Discovery +wsdd -i "$interface" -p -n "$hostname" & +echo "$!" > /var/run/wsdd.pid return 0