The wireless LEDs names have changed between ar71xx and ath79 targets from epg5000:blue:wlan2-g and epg5000:blue:wlan-5g to epg5000:blue:wlan2g and epg5000:blue:wlan5g. Add this case to migration script to automatically translate those names if defined in system configuration.
Signed-off-by: Tomasz Maciej Nowak <[email protected]> --- .../linux/ath79/base-files/etc/uci-defaults/04_led_migration | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration index a17702ac10..c73c9daddf 100644 --- a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration +++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration @@ -44,8 +44,8 @@ migrate_leds() board=$(board_name) case "$board" in -*) - return 0 +engenius,epg5000) + migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g" ;; esac -- 2.21.0 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
