aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-01-12 12:07:40 +0000
committerJohn Crispin <john@openwrt.org>2014-01-12 12:07:40 +0000
commit3a64ddd0a18efe3c8fbf65579dca58672bf04fb1 (patch)
treea66a25850d99aab74b4096857a96b2cabfb6bbc5 /target/linux/ramips/base-files/etc/uci-defaults
parentaa2be01076ad95910548baf5c45dd6fe217ce485 (diff)
downloadupstream-3a64ddd0a18efe3c8fbf65579dca58672bf04fb1.tar.gz
upstream-3a64ddd0a18efe3c8fbf65579dca58672bf04fb1.tar.bz2
upstream-3a64ddd0a18efe3c8fbf65579dca58672bf04fb1.zip
ralink: add HLK-RM04 support
https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39237
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
2 files changed, 4 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 fe22875596..0c54cdefb1 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -93,6 +93,9 @@ case $board in
set_usb_led "fonera20n:orange:usb"
set_wifi_led "fonera20n:orange:wifi"
;;
+ hlk-rm04)
+ set_wifi_led "rt2800pci-phy0::radio"
+ ;;
all0239-3g|\
hw550-3g)
set_usb_led "hw550-3g:green:usb"
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 a9914fdb87..7c14ad3a24 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -75,6 +75,7 @@ ramips_setup_interfaces()
dir-300-b7 | \
dir-320-b1 | \
dir-615-h1 | \
+ hlk-rm04 | \
mzk-w300nh2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"