ath79: remove model name from LED labels
[openwrt/openwrt.git] / target / linux / ath79 / mikrotik / base-files / etc / uci-defaults / 04_led_migration
index c12a7ac02cbe2fcf002239253303d4a6a09d25c9..281d6ac0bcc65b0a808f38778dc16befd8ff3eb2 100644 (file)
@@ -2,14 +2,12 @@
 . /lib/functions/migrations.sh
 
 board=$(board_name)
-boardonly="${board##*,}"
 
 case "$board" in
-mikrotik,*)
-       migrate_leds "^rb:=mikrotik:"
-       ;;
 esac
 
+remove_devicename_leds
+
 migrations_apply system
 
 exit 0