Changeset 14044


Ignore:
Timestamp:
2009-01-15T19:02:08+01:00 (7 years ago)
Author:
agb
Message:

change LEDs on wrt54g3g only
/proc/diag is not available on x86, so check for existance to avoid
errors... Thanks Markus Wigge

File:
1 edited

Legend:

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

    r11898 r14044  
    11set_3g_led() { 
     2        # set on WRT54G3G only 
     3        [ -d /proc/diag ] || return 0 
    24        grep WRT54G3G /proc/diag/model >/dev/null || return 0 
    35        echo "$1" > /proc/diag/led/3g_green 
Note: See TracChangeset for help on using the changeset viewer.