summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-03 10:00:08 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-03 10:00:08 +0000
commit47b76427f5da982d712c2550124b1721eb85ed97 (patch)
treee1e90825552dd10e4c7fc03972279210fedd40da /target/linux/ramips/base-files/etc/uci-defaults
parent08e872c86ad3e131cced9a4752e4a17d481b69e8 (diff)
[ramips] add Huawei D105
http://patchwork.openwrt.org/patch/3510/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36173 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network2
2 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 65497266e..bb8a5dcbd 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -48,6 +48,10 @@ case $board in
br6524n)
set_wifi_led "edimax:blue:wlan"
;;
+ d105)
+ ucidef_set_led_default "power" "POWER" "d105:red:power" "1"
+ set_usb_led "d105:green:usb"
+ ;;
dir-300-b1|\
dir-600-b1|\
dir-600-b2|\
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index 7d30f72f0..d2400870c 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -125,6 +125,7 @@ ramips_setup_interfaces()
ucidef_set_interfaces_lan_wan "eth0.2" "eth0.1"
;;
+ d105 | \
omni-emb-hpm|\
wli-tx4-ag300n)
ucidef_set_interface_lan "eth0"
@@ -249,6 +250,7 @@ ramips_setup_macs()
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+ d105 | \
wli-tx4-ag300n)
lan_mac=$(mtd_get_mac_binary factory 4)
;;