diff options
Diffstat (limited to 'target/linux/ramips/rt305x')
-rw-r--r-- | target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration new file mode 100644 index 0000000000..b1a94bf81b --- /dev/null +++ b/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration @@ -0,0 +1,19 @@ +#!/bin/sh + +. /lib/functions.sh +. /lib/functions/migrations.sh + +board=$(board_name) + +case "$board" in +fon,fonera-20n) + migrate_leds "^fonera20n:=fonera-20n:" + ;; +intenso,memory2move) + migrate_leds "^m2m:=memory2move:" + ;; +esac + +migrations_apply system + +exit 0 |