Ignore:
Timestamp:
2011-03-15T10:15:35+01:00 (5 years ago)
Author:
jow
Message:

[backfire] merge r22462, r22561, r25621 and r26175

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/comgt/files/3g.sh

    r22562 r26177  
    11set_3g_led() { 
    22        # set on WRT54G3G only 
    3         [ -d /proc/diag ] || return 0 
    4         grep WRT54G3G /proc/diag/model >/dev/null || return 0 
     3        [ -f /proc/diag/model ] || return 0 
     4        grep -q "WRT54G3G" /proc/diag/model >/dev/null || return 0 
    55        echo "$1" > /proc/diag/led/3g_green 
    66        echo "$2" > /proc/diag/led/3g_blue 
     7        grep -q "WRT54G3G$" /proc/diag/model >/dev/null || return 0 
    78        echo "$3" > /proc/diag/led/3g_blink 
    89} 
Note: See TracChangeset for help on using the changeset viewer.