projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[cns3xxx]: upgrade to 2.6.39
[openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
etc
/
uci-defaults
/
wrt160nl
diff --git
a/target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl
b/target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl
old mode 100644
(file)
new mode 100755
(executable)
index
dce28dd
..
7a31024
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/wrt160nl
@@
-11,6
+11,17
@@
wrt160nl_fixtrx() {
mtd -o 32 fixtrx firmware
}
mtd -o 32 fixtrx firmware
}
+wrt160nl_setup_leds() {
+ uci batch <<EOF
+set system.wlan_led=led
+set system.wlan_led.name='WLAN'
+set system.wlan_led.sysfs='wrt160nl:blue:wlan'
+set system.wlan_led.trigger='phy0tpt'
+commit system
+EOF
+}
+
if [ "${board}" == "wrt160nl" ]; then
wrt160nl_fixtrx
if [ "${board}" == "wrt160nl" ]; then
wrt160nl_fixtrx
+ wrt160nl_setup_leds
fi
fi
This page took
0.020588 seconds
and
4
git commands to generate.