aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/base-files/etc/uci-defaults/04_led_migration16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
new file mode 100644
index 0000000000..2ca87ccb34
--- /dev/null
+++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+. /lib/functions.sh
+. /lib/functions/migrations.sh
+
+board=$(board_name)
+
+case "$board" in
+engenius,epg5000)
+ migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
+ ;;
+esac
+
+migrations_apply system
+
+exit 0