kmod-ledtrig-gpio
kmod-ledtrig-heartbeat
kmod-ledtrig-morse
kmod-ledtrig-oneshot
kmod-ledtrig-timer
kmod-ledtrig-transient

are some interesting packages you can try.

Morse and heartbeat are basically just turning the LED’s on and off and predefined intervals, which you can do using sleep in a bash script with the commands above for on and off so…

You can either write your own bash script to do what you want, or make a c++ program and compile it for more advanced things.

This basically what the GL UI is doing for the reset blinking and other blinking apart from the automatic from OpenWRT (which is probably also just calling the LED’s to be on or off).