LED's of GL-AR150 won't blink at reset due incorrect paths

After studying on the /etc/rc.button/reset script at the GL-AR150 router and the mentioned script /usr/bin/flashleds I discovered the last one contains incorrect paths.

/usr/bin/flashleds calls:

Since the LED’s can’t have different colors the LED’s do not have colour classes. Also the LED for WiFi isn’t called “wireless” but “wlan”.

The correct paths should be:

I think the LED “wan” should also be blinking during reset and should all blink together, so I think /etc/rc.button/reset should look like:


while [ "$i" -le 100 ]
        echo 0 > /sys/class/leds/gl_ar150:wan/brightness
        echo 0 > /sys/class/leds/gl_ar150:lan/brightness
        echo 0 > /sys/class/leds/gl_ar150:wlan/brightness
        sleep 0.2
        echo 1 > /sys/class/leds/gl_ar150:wan/brightness
        echo 1 > /sys/class/leds/gl_ar150:lan/brightness
        echo 1 > /sys/class/leds/gl_ar150:wlan/brightness
        sleep 0.2

I shot a video with several LED effects. The type of blinking LED’s I meant is shown at the end of the video.
Watch the video here: Buttons, LED's, scripts, etc. Fun on GL iNET GL-AR150 - YouTube

Thanks. Seems the most recent firmware has corrected the problem. Pls check.