From d181b2cefa5881d270e0e4cf9f42d1feaf2f7222 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Thu, 1 Oct 2020 21:24:35 +0200 Subject: ipq806x: remove model name from LED labels Like in the previous patches for ath79 and ramips, this will remove the "devicename" from LED labels in ipq806x. The devicename is removed in DTS files and 01_leds, and a migration script is added. Signed-off-by: Adrian Schmutzler --- target/linux/ipq806x/base-files/etc/uci-defaults/04_led_migration | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 target/linux/ipq806x/base-files/etc/uci-defaults/04_led_migration (limited to 'target/linux/ipq806x/base-files/etc/uci-defaults') diff --git a/target/linux/ipq806x/base-files/etc/uci-defaults/04_led_migration b/target/linux/ipq806x/base-files/etc/uci-defaults/04_led_migration new file mode 100644 index 0000000000..e56062bab2 --- /dev/null +++ b/target/linux/ipq806x/base-files/etc/uci-defaults/04_led_migration @@ -0,0 +1,7 @@ +. /lib/functions/migrations.sh + +remove_devicename_leds + +migrations_apply system + +exit 0 -- cgit v1.2.3