bc40d22c094179925d30aabca8b09b3da55ddd28
[openwrt/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 wd,mynet-n750)
22 migrate_leds "wd:=mynet-n750:"
23 ;;
24 esac
25
26 migrations_apply system
27
28 exit 0