Peter,

I believe 'led' should come after 'done'.

If 'done' comes after 'led', something 'led' configured
for so called "status_led" will be wiped and it is set
to "default-on" by "/etc/diag.sh done".

Am I missing something?

--- shinoda

On 2012/08/03, at 0:21, Peter Naulls wrote:

> On 08/01/2012 09:03 PM, LEO Airwarosu Yoichi Shinoda wrote:
>> On 2012/08/01, at 22:39, Peter Naulls wrote:
>> 
>>> The problem here is that the LED handling is done in the wrong
>>> order.  I submitted a fix/patch(?) for this months ago, but
>>> it seems to have been ignored or lost.  I can dig it out
>>> again - the fix is pretty simple.
>> 
>> 
>> I would definitely would like to take a look at it.
>> 
> 
> Ah yes:
> 
> 
> 
> Index: base-files/files/etc/init.d/led
> ===================================================================
> --- base-files/files/etc/init.d/led     (revision 31054)
> +++ base-files/files/etc/init.d/led     (working copy)
> @@ -1,7 +1,7 @@
> #!/bin/sh /etc/rc.common
> # (C) 2008 openwrt.org
> 
> -START=96
> +START=94
> 
> load_led() {
>        local name
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to