udhcpc causes system rebooting

Piotr
Hello, 

I try to assign the IP address to the eth0 interfaces by following command
executed in /etc/init.d/rcS:

udhcpc -i eth0 -s /bin/udhcpc.script

Every time the IP address is obtained correctly, but sometimes (on average
once every three attempts) it causes system rebooting after few seconds
from console invocation.

I'm pretty sure that this problem is related with udhcpc because if I
comment this line in my rcS script, everything is ok.

I use BusyBox v1.13.3 with Linux 2.6.29.4 kernel.

Is it a known issue? Can you give any hint how to get the IP address from
DHCP server and avoid system rebooting?

Thank you in advance for your engagement,

PS. At the end of this post, there is udhcpc.script attached.

-- 
Piotr Piwko
http://www.embedded-engineering.pl/

-----------------[begin of udhcpc.script]-----------------
#!/bin/sh

# udhcpc script edited by Tim Riker <Tim@Rikers.org>

[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1

RESOLV_CONF="/etc/resolv.conf"
[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast"
[ -n "$subnet" ] && NETMASK="netmask $subnet"

case "$1" in
  deconfig)
    /sbin/ifconfig $interface 0.0.0.0
    ;;

  renew|bound)
    /sbin/ifconfig $interface $ip $BROADCAST $NETMASK

    if [ -n "$router" ] ; then
      while route del default gw 0.0.0.0 dev $interface 2>/dev/null ; do
        :
      done

      metric=0
      for i in $router ; do
        route add default gw $i dev $interface metric $((metric++))
      done
    fi

    echo -n > $RESOLV_CONF
    [ -n "$domain" ] && echo search $domain >> $RESOLV_CONF
    for i in $dns ; do
      echo adding dns $i
      echo nameserver $i >> $RESOLV_CONF
    done
    ;;
esac

exit 0 
-----------------[end of udhcpc.script]-----------------