d9c61f8103487f34c28128e81c079331f1d5b7b4
[oweals/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-v5)
13         migrate_leds "archer-c7-v5:=tp-link:"
14         ;;
15 esac
16
17 migrations_apply system
18
19 exit 0