aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-11-02 10:17:26 +0000
committerJohn Crispin <blogic@openwrt.org>2015-11-02 10:17:26 +0000
commita21791b48182541f6c345296248154a86950e310 (patch)
tree340b10096d52d13ba726d5526e0b7c7fce8596a2
parent688b641c66325f4e319b6fa58134a5827ffaac11 (diff)
downloadmaster-187ad058-a21791b48182541f6c345296248154a86950e310.tar.gz
master-187ad058-a21791b48182541f6c345296248154a86950e310.tar.bz2
master-187ad058-a21791b48182541f6c345296248154a86950e310.zip
ramips: add support for the Asus RP-N53 in the "02_network" boot script
This patch adds a case for the Asus RP-N53 in the "02_network" boot script. Without this, the lan interface does not get configured on startup, effectively bricking the device. Signed-off-by: Alberto Mattea <alberto@mattea.info> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47345 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 07327968fc..c77909f62a 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -104,7 +104,8 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "4 5t"
;;
asl26555|\
- re6500)
+ re6500|\
+ rp-n53)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"