Skip to content
Snippets Groups Projects
Commit cd0cd144 authored by Andy Boyett's avatar Andy Boyett
Browse files

change LEDs on wrt54g3g only /proc/diag is not available on x86, so check for...

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

SVN-Revision: 14044
parent 3ca7f3bd
No related branches found
No related tags found
No related merge requests found
set_3g_led() {
# set on WRT54G3G only
[ -d /proc/diag ] || return 0
grep WRT54G3G /proc/diag/model >/dev/null || return 0
echo "$1" > /proc/diag/led/3g_green
echo "$2" > /proc/diag/led/3g_blue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment