diff options
| author | Mustafa Can Elmacı | 2024-12-26 09:50:55 +0000 |
|---|---|---|
| committer | Robert Marko | 2024-12-27 10:22:29 +0000 |
| commit | c71a27f4d63d9e5dbb491b9493bbc572797ca154 (patch) | |
| tree | 0c856f07c219130f6bc441d212a3ce537d0e008f | |
| parent | 90ecd826c592baac8dfbc33065da07d760e52300 (diff) | |
| download | openwrt-c71a27f4d63d9e5dbb491b9493bbc572797ca154.tar.gz | |
lantiq: Remove legacy LED migration script
This script was rendered obsolete after xrx200 target switched to DSA and
breaking config migration from old releases to 22.03.
Signed-off-by: Mustafa Can Elmacı <mustafacan@elmaci.net>
Link: https://github.com/openwrt/openwrt/pull/17383
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/lantiq/xrx200/base-files/etc/uci-defaults/01_led_migration | 32 | ||||
| -rw-r--r-- | target/linux/lantiq/xrx200_legacy/base-files/etc/uci-defaults/01_led_migration | 31 |
2 files changed, 0 insertions, 63 deletions
diff --git a/target/linux/lantiq/xrx200/base-files/etc/uci-defaults/01_led_migration b/target/linux/lantiq/xrx200/base-files/etc/uci-defaults/01_led_migration deleted file mode 100644 index e3f6a98149..0000000000 --- a/target/linux/lantiq/xrx200/base-files/etc/uci-defaults/01_led_migration +++ /dev/null @@ -1,32 +0,0 @@ -# -# Copyright (C) 2013 OpenWrt.org -# - -. /lib/functions/migrations.sh - -do_internet_led_rename() -{ - config_load system - - [ -n $(config_get led_internet name) ] || return - [ -z $(config_get led_dsl name) ] || return - - uci rename system.led_internet=led_dsl - uci set system.led_dsl.name=dsl - - logger -t led-migration "internet led renamed to dsl" -} - -case "$(board_name)" in -arcadyan,arv7519rw22|\ -avm,fritz7360sl|\ -bt,homehub-v5a) - do_internet_led_rename - ;; -esac - -remove_devicename_leds - -migrations_apply system - -exit 0 diff --git a/target/linux/lantiq/xrx200_legacy/base-files/etc/uci-defaults/01_led_migration b/target/linux/lantiq/xrx200_legacy/base-files/etc/uci-defaults/01_led_migration deleted file mode 100644 index f6f11bc569..0000000000 --- a/target/linux/lantiq/xrx200_legacy/base-files/etc/uci-defaults/01_led_migration +++ /dev/null @@ -1,31 +0,0 @@ -# -# Copyright (C) 2013 OpenWrt.org -# - -. /lib/functions/migrations.sh - -do_internet_led_rename() -{ - config_load system - - [ -n $(config_get led_internet name) ] || return - [ -z $(config_get led_dsl name) ] || return - - uci rename system.led_internet=led_dsl - uci set system.led_dsl.name=dsl - - logger -t led-migration "internet led renamed to dsl" -} - -case "$(board_name)" in -alphanetworks,asl56026|\ -arcadyan,vg3503j) - do_internet_led_rename - ;; -esac - -remove_devicename_leds - -migrations_apply system - -exit 0 |