A simple shell script for OpenWRT-based routers to turn all LEDs on or off on a schedule, e.g. to avoid light pollution at night.
This script was written for and tested on a Fritz!Box 7530/Fritz!Box 4040 running OpenWRT. It should work on other OpenWRT devices as well, but LED names and behaviour may differ. In particular, the line
echo default-on > /sys/class/leds/red:info/trigger