Support for Cudy WR3000

My Internet led is off by default. Anyone created a script already or enabled the led via Luci somehow?

EDIT:
I've found a solution for that: [How To] Switch on a led when internet connection is available

I modified the script to work on WR3000:

#!/bin/bash
#
while :
do

ping -c5 -q 8.8.8.8
status=$?;
case $status in
    0)
        echo "host is alive";
    ;;
    1)
        echo "network unreachable or host not responding to pings";
    ;;
    2)
        echo "No route to host or other error";
    ;;
esac
if [ $status -eq 0 ]; then
    /bin/echo "Internet is up"
    /bin/echo "1" > /sys/class/leds/blue:internet/brightness
else
    /bin/echo "Internet is down"
    /bin/echo "0" > /sys/class/leds/blue:internet/brightness
fi
sleep 30
done