Hi everybody, i installed amule 2.3.1 on optware on my dns-325 dlink, i have a problem: when i start amuled in ssh i can open web interface (then amuleweb start normally), instead when amuled starts by amuled bash script amule runs but i can't log into web interface.
I'm going mad for this and i can't find a solution, please help me.

Sorry for my bad english.
This is S57amuled.sh:
#!/bin/sh
PATH=/sbin:/bin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/ffp/opt/bin
start() {
set backup=$HOME
echo "Starting amuled..."
echo "Configuration's setting are located in /opt/share/amule"
export HOME=/opt/share/amule
/opt/bin/amuled
/opt/bin/amuleweb
export HOME=$backup
echo "done"
}
stop() {
echo -n "Shutting down amuled... "
killall amuled
killall amuleweb
echo "done"
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 1
start
;;
*)
echo "Usage: $0 (start|stop|restart)"
exit 1
;;
esac