On Mon, 2017-02-13 at 12:50 +0100, Felix Fietkau wrote: > > Please leave out the /lib/<platform>.sh anti-pattern. Just use > /tmp/sysinfo/board_name directly or (even better) introduce a generic > function for getting the board name.
Once I stop /etc/diag.sh from having hard-coded board name stuff, we go back to only one instance of reading /tmp/sysinfo/board_name — so I dropped that part from https://github.com/lede-project/source/pull/824 Testing seems to show that the diag LED only really works from the second boot though, since it isn't *configured* during the first boot.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev