projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ar71xx: don't register 8250 UART on the AR933x SoCs
[openwrt.git]
/
target
/
linux
/
rdc
/
base-files
/
etc
/
diag.sh
1
#!/bin/sh
2
# Copyright (C) 2007 OpenWrt.org
3
4
set_led
() {
5
local
led
=
"
$1
"
6
local
state
=
"
$2
"
7
[
-d
"/sys/class/leds/rdc321x:
$led
"
] &&
echo
"
$state
"
>
"/sys/class/leds/rdc321x:
$led
/brightness"
8
}
9
10
set_state
() {
11
case
"
$1
"
in
12
preinit
)
13
set_led dmz
1
14
;;
15
done
)
16
set_led dmz
0
17
;;
18
esac
19
}
This page took
0.043363 seconds
and
5
git commands to generate.