You will need to create specific scripts for what you want it to do.
https://forum.openwrt.org/search?q=wan%20led%20script