aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds7
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 12 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 44951d8e23..fe22875596 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -141,6 +141,13 @@ case $board in
wnce2001)
set_wifi_led "netgear:green:wlan"
;;
+ rt-n14u)
+ ucidef_set_led_default "power" "power" "asus:blue:power" "1"
+ ucidef_set_led_netdev "lan" "lan" "asus:blue:lan" "eth0.1"
+ ucidef_set_led_netdev "wan" "wan" "asus:blue:wan" "eth0.2"
+ set_wifi_led "asus:blue:air"
+ set_usb_led "asus:blue:usb"
+ ;;
rp-n53)
ucidef_set_led_netdev "eth" "Network" "asus:white:back" "eth0"
set_wifi_led "asus:blue:wifi"
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 63458eda0a..a9914fdb87 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -87,6 +87,7 @@ ramips_setup_interfaces()
f5d8235-v1 | \
f5d8235-v2 | \
hg255d | \
+ rt-n14u | \
ur-326n4g)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 972f41534f..d62002ea7c 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -127,6 +127,9 @@ ramips_board_detect() {
*"La Fonera 2.0N")
name="fonera20n"
;;
+ *"Asus RT-N14U")
+ name="rt-n14u"
+ ;;
*"Asus RT-N13U")
name="rt-n13u"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 6836e16d96..babeaf2180 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -63,6 +63,7 @@ platform_check_image() {
rp-n53 | \
rt-g32-b1 | \
rt-n10-plus | \
+ rt-n14u | \
rt-n15 | \
rt-n56u | \
sl-r7205 | \