HH5a running OpenWrt 22.03.5 r20134-5f15225c1e / LuCI openwrt-22.03 branch git-23.093.57104-ce20b4a
I set device LEDs to be default off in LuCI.
However, I've noticed that if the VDSL modem reconnects then the LED will come on again.
Is this by design? Is there any way to keep the LED switched off?
/etc/hotplug.d/dsl/led_dsl.sh looks for the LED configured as
led_dsl in the system config and uses it directly to signal DSL status changes.
/etc/config/system, rename or outright remove
led_dsl in the LED config section (just the name in single quotes, though, the section itself needs to remain!):
config led 'led_dsl'
The hotplug script will then not find and consequently not control it anymore. This has to be done on the command line, LuCI has no mechanism to edit the config section name.
I have other solution .Just change this line
root@7362sl:~# grep UP /etc/hotplug.d/dsl/led_dsl.sh
"UP") led_off $led;;
This way DSL still blink on resync but go dark when everything is OK.