ath79: remove model name from LED labels
[openwrt/staging/wigyori.git] / target / linux / ath79 / tiny / base-files / etc / uci-defaults / 04_led_migration
index 377135f530c41480e000a80c1cad243705cd8908..9850ed229379b32a2407921dc01a76309345cac6 100644 (file)
@@ -2,17 +2,15 @@
 . /lib/functions/migrations.sh
 
 board=$(board_name)
-boardonly="${board##*,}"
 
 case "$board" in
 tplink,tl-wr802n-v1)
-       migrate_leds ":blue:=:green:"
-       ;;
-tplink,tl-wr802n-v2)
-       migrate_leds "^$boardonly:=tp-link:"
+       migrate_leds "blue:=green:"
        ;;
 esac
 
+remove_devicename_leds
+
 migrations_apply system
 
 exit 0