difos/target/linux/tegra/base-files/etc/uci-defaults/04_led_migration
Tomasz Maciej Nowak 1d3cfe8eb0 tegra: add 6.12 as testing kernel
Introduce LED migration script as the names have changed.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250618170045.473711-8-tmn505@terefe.re/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-13 00:49:37 +02:00

16 lines
273 B
Text

. /lib/functions.sh
. /lib/functions/migrations.sh
board=$(board_name)
case "$board" in
compulab,trimslice)
migrate_leds "trimslice:green:right=green:indicator-2" "trimslice:green:left=green:indicator-3"
;;
esac
remove_devicename_leds
migrations_apply system
exit 0