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
/
wzr-hp-g300nh
diff --git
a/target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh
b/target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh
index
5602aab
..
1448e1f
100755
(executable)
--- a/
target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh
+++ b/
target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh
@@
-21,10
+21,17
@@
set system.@led[-1].sysfs='wzr-hp-g300nh:green:router'
set system.@led[-1].trigger='netdev'
set system.@led[-1].dev='eth1'
set system.@led[-1].mode='link tx rx'
set system.@led[-1].trigger='netdev'
set system.@led[-1].dev='eth1'
set system.@led[-1].mode='link tx rx'
+add system led
+set system.@led[-1]='led'
+set system.@led[-1].name='USB'
+set system.@led[-1].sysfs='wzr-hp-g300nh:blue:usb'
+set system.@led[-1].trigger='usbdev'
+set system.@led[-1].dev='1-1'
+set system.@led[-1].interval='50'
commit system
EOF
}
commit system
EOF
}
-if [ "${board}" == "wzr-hp-g300nh" ]; then
+if [ "${board}" == "wzr-hp-g300nh"
|| "${board}" == "wzr-hp-g301nh"
]; then
wzrhpg300nh_set_leds
fi
wzrhpg300nh_set_leds
fi
This page took
0.021285 seconds
and
4
git commands to generate.