ath79: add support for TP-Link RE355 v1 and RE450 v1
[openwrt/.git] / target / linux / ath79 / base-files / etc / uci-defaults / 04_led_migration
1 #!/bin/sh
2
3 . /lib/functions.sh
4 . /lib/functions/migrations.sh
5
6 board=$(board_name)
7
8 case "$board" in
9 engenius,epg5000)
10         migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
11         ;;
12 tplink,archer-c7-v2)
13         migrate_leds ":blue:=:green:"
14         ;;
15 tplink,archer-c7-v4)
16         migrate_leds "archer-c7-v4:=tp-link:"
17         ;;
18 tplink,archer-c7-v5)
19         migrate_leds "archer-c7-v5:=tp-link:"
20         ;;
21 tplink,re355-v1)
22         migrate_leds "re355:=tp-link:"
23         ;;
24 tplink,re450-v1)
25         migrate_leds "re450:=tp-link:"
26         ;;
27 wd,mynet-n750)
28         migrate_leds "wd:=mynet-n750:"
29         ;;
30 esac
31
32 migrations_apply system
33
34 exit 0