mediatek: mt7988a: sync dts compatible string
[openwrt/openwrt.git] / target / linux / ramips / mt7620 / base-files / etc / uci-defaults / 04_led_migration
1 . /lib/functions.sh
2 . /lib/functions/migrations.sh
3
4 board=$(board_name)
5
6 case "$board" in
7 lenovo,newifi-y1)
8 migrate_leds "^y1:=newifi-y1:"
9 ;;
10 lenovo,newifi-y1s)
11 migrate_leds "^y1s:=newifi-y1s:"
12 ;;
13 netgear,wn3000rp-v3)
14 migrate_leds "^wn3000rpv3:=wn3000rp-v3:"
15 ;;
16 tplink,archer-c2-v1)
17 migrate_leds "^c2-v1:=archer-c2-v1:"
18 ;;
19 tplink,archer-c20-v1)
20 migrate_leds "^c20-v1:=archer-c20-v1:"
21 ;;
22 tplink,archer-c20i)
23 migrate_leds "^c20i:=archer-c20i:"
24 ;;
25 tplink,archer-c50-v1)
26 migrate_leds "^c50:=archer-c50-v1:"
27 ;;
28 tplink,archer-mr200)
29 migrate_leds "^mr200:=archer-mr200:"
30 ;;
31 youku,yk1)
32 migrate_leds "^youku-yk1:=yk1:"
33 ;;
34 zyxel,keenetic-omni)
35 migrate_leds "^kn_rc:=keenetic-omni:"
36 ;;
37 zyxel,keenetic-omni-ii)
38 migrate_leds "^kn_rc:=keenetic-omni-ii:"
39 ;;
40 zyxel,keenetic-viva)
41 migrate_leds "^kng_rc:=keenetic-viva:"
42 ;;
43 esac
44
45 migrations_apply system
46
47 exit 0