openwrtv3/package/base-files
Petr Štetiar 60dd181a76 base-files: diag.sh: Make it more generic towards DTS so it could be reused
I wanted to add status LEDs support to my imx6 based board and have
found out, that I could use diag.sh script found in ramips platform,
which seems to be also shared in a few other platforms:

 4801276bc2078c5bcf03003c831e3b0a target/linux/ramips/base-files/etc/diag.sh
 4801276bc2078c5bcf03003c831e3b0a target/linux/ipq40xx/base-files/etc/diag.sh
 4801276bc2078c5bcf03003c831e3b0a target/linux/ath79/base-files/etc/diag.sh

So I've extended the base diag.sh in a way, that if it detects any of
the DTS LED aliases, then it would use the generic DTS set_led_state
code.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2018-12-06 08:42:40 +01:00
..
files base-files: diag.sh: Make it more generic towards DTS so it could be reused 2018-12-06 08:42:40 +01:00
image-config.in include/feeds.mk: rework generation of opkg distfeeds.conf 2018-07-12 21:18:41 +02:00
Makefile base-files: add network_get_metric() to /lib/functions/network.sh 2018-09-25 10:16:03 +02:00