b595ae6fd12eba5087bb917cddd88db6037e1b89
[openwrt/openwrt.git] / target / linux / ramips / mt7621 / 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 tplink,archer-a6-v3|\
8 tplink,archer-c6-v3)
9 migrate_leds ':wifi2g$=:wlan-2' ':wifi5g$=:wlan-5'
10 ;;
11 esac
12
13 remove_devicename_leds
14
15 migrations_apply system
16
17 exit 0