A wish to start amuled and then amuleweb in a script. It works fine with "sleep 20" between "amuled" and "amuleweb" if I don't use ipfilter.dat. With ipfilter.dat, 20 seconds are not more enough (this is an old PC, linux without X), and amuleweb exits after 10 sec with:
"CECSocket error: The timeout for this operation expired"
Sometimes amuleweb does not exit but also does not respond

Question: how can I determine in my script that amuled is not only started (ps -A|grep amuled is therefore not a solution) but has also succesfully loaded ipfilter.dat and is ready for the connection to amuleweb?