openwrt
openwrt copied to clipboard
ramips: use led, function/color syntax for some routers
- Rename the mt7621_dlink_dir-xx60-a1.dtsi file to a more appropriate name.
- Abandoning the label and using the function/color syntax for some dlink dir series routers: dir-1960-a1, dir-2660-a1, dir-2640-a1, dir-3040-a1 and dir-3060-a1
- Setting the LED name and abandoning the label and using the function/color syntax for some TP-Link Archer series routers: Archer C2 v1, Archer C20 v1, Archer C20i and Archer C50 v1
ok cool I guess with v24 if you sysupgrade you have to fix the leds with the version change I think you have to change the aliases as well tho
aliases {
label-mac-device = &gmac0;
led-boot = &led_power_orange;
led-failsafe = &led_power_white;
led-running = &led_power_white;
led-upgrade = &led_net_orange;
};
These names have not changed, so they can remain. As for sysupgrade, you are right.
Migration done.
all good :) gave it a test run on my DIR-1960-A1 all worked even the Migration :)