Wsdd did not start at boot, just adding a sleep, and it work

Hi,
I report something I experienced on my Netgear WAC124.
I've installed samba4-server and then wsdd2
I've noticed that wsdd process was not running at boot, but if I started manually it worked.
Finally I've edited the /etc/init.d/wsdd2 script to add sleep 40 instead of sleep 4 (20 did not work well even if the process started)...
and now it starts.

I don't understand exactly the problem.
it starts at level 99 after samba at 98...

here is the beginning of the script I edited

#!/bin/sh /etc/rc.common

START=99
USE_PROCD=1

SMB_CONF=""
BIND_IF_PARM=""
NB_PARM="$(cat /proc/sys/kernel/hostname)"
WG_PARM="WORKGROUP"
BI_PARM=""

start_service() {

	. /lib/functions/network.sh

	# needs long delay, otherwise service may not register correctly on stratup/reboot (not sure what the issues is?)
	sleep 40

Maybe I did something wrong, or else maybe it can help others...