[LEDE-DEV] [PATCH] ar71xx: Orders the names of the devices alphabetically.
John Crispin
john at phrozen.org
Tue Feb 13 04:32:56 PST 2018
On 17/01/18 14:16, Arne Zachlod wrote:
> Signed-off-by: Arne Zachlod <arne at nerdkeller.org>
> ---
> target/linux/ar71xx/base-files/etc/board.d/01_leds | 236 ++++++++++-----------
> .../ar71xx/base-files/etc/board.d/03_gpio_switches | 12 +-
> target/linux/ar71xx/base-files/etc/diag.sh | 40 ++--
> 3 files changed, 144 insertions(+), 144 deletions(-)
>
[...]
> diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
> index 6cbb3576d8..5c60ebd6a8 100644
> --- a/target/linux/ar71xx/base-files/etc/diag.sh
> +++ b/target/linux/ar71xx/base-files/etc/diag.sh
> @@ -72,6 +72,23 @@ get_status_led() {
> tl-wr902ac-v1)
> status_led="$board:green:power"
> ;;
> + archer-c5|\
> + archer-c7|\
> + tl-mr10u|\
> + tl-mr12u|\
> + tl-mr13u|\
> + tl-wdr4300|\
> + tl-wdr4900-v2|\
> + tl-wr703n|\
> + tl-wr710n|\
> + tl-wr720n-v3|\
> + tl-wr802n-v1|\
> + tl-wr810n|\
> + tl-wr810n-v2|\
> + tl-wr940n-v4|\
> + tl-wr941nd-v6)
> + status_led="tp-link:blue:system"
> + ;;
> ap90q|\
> cpe830|\
> cpe870|\
> @@ -103,9 +120,6 @@ get_status_led() {
> rocket-m-xw)
> status_led="ubnt:green:link4"
> ;;
> - rocket-m-ti)
> - status_led="ubnt:green:link6"
> - ;;
> bxu2000n-2-a1)
> status_led="bhu:green:status"
> ;;
> @@ -337,6 +351,9 @@ get_status_led() {
> sc300m)
> status_led="$board:blue:power"
> ;;
> + rocket-m-ti)
> + status_led="ubnt:green:link6"
> + ;;
this looks wrong, sorting r behind s ?
John
> routerstation|\
> routerstation-pro)
> status_led="ubnt:green:rf"
> @@ -414,23 +431,6 @@ get_status_led() {
> tl-wr941nd-v5)
> status_led="tp-link:green:system"
> ;;
> - archer-c5|\
> - archer-c7|\
> - tl-mr10u|\
> - tl-mr12u|\
> - tl-mr13u|\
> - tl-wdr4300|\
> - tl-wdr4900-v2|\
> - tl-wr703n|\
> - tl-wr710n|\
> - tl-wr720n-v3|\
> - tl-wr802n-v1|\
> - tl-wr810n|\
> - tl-wr810n-v2|\
> - tl-wr940n-v4|\
> - tl-wr941nd-v6)
> - status_led="tp-link:blue:system"
> - ;;
> tl-wr841n-v9)
> status_led="tp-link:green:qss"
> ;;
More information about the Lede-dev
mailing list