openwrtv4/package/base-files/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
..
bin base-files: make it possible to specify switch led mode 2018-09-29 17:23:11 +02:00
etc base-files: diag.sh: Make it more generic towards DTS so it could be reused 2018-12-06 08:42:40 +01:00
lib base-files: fix several bashisms 2018-12-05 22:16:52 +01:00
rom
sbin base-files: fix several bashisms 2018-12-05 22:16:52 +01:00
usr base-files: fix several bashisms 2018-12-05 22:16:52 +01:00