[source] ramips: fix hg255d LED status support

LEDE Commits lede-commits at lists.infradead.org
Wed Sep 13 04:18:05 PDT 2017


mkresin pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/4f162ac3ce3c37fa15561cc3de6a044ff3ace2bc

commit 4f162ac3ce3c37fa15561cc3de6a044ff3ace2bc
Author: David Yang <mmyangfl at gmail.com>
AuthorDate: Sat Sep 9 21:16:11 2017 +0800

    ramips: fix hg255d LED status support
    
    Use the green power LED for boot status indication.
    
    Source: https://my.oschina.net/osbin/blog/278782 Para 3
    
    Signed-off-by: David Yang <mmyangfl at gmail.com>
---
 target/linux/ramips/base-files/etc/diag.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 4ed18d7..cf3d2ca 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -24,6 +24,7 @@ get_status_led() {
 	dir-860l-b1|\
 	e1700|\
 	fonera20n|\
+	hg255d|\
 	kn_rc|\
 	kn_rf|\
 	kng_rc|\



More information about the lede-commits mailing list