aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults/network
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-29 10:37:47 +0000
commitfb3d5718241112bfc066b9be56f2e6b7d8602411 (patch)
tree6d537074138447fcbe22f3dea22d2c9d3d122ae8 /target/linux/ramips/base-files/etc/uci-defaults/network
parent9ea1da3c301bc96bdc09a3f1e31de70076ae6c1a (diff)
downloadmaster-187ad058-fb3d5718241112bfc066b9be56f2e6b7d8602411.tar.gz
master-187ad058-fb3d5718241112bfc066b9be56f2e6b7d8602411.tar.bz2
master-187ad058-fb3d5718241112bfc066b9be56f2e6b7d8602411.zip
ramips: make built-in switch transparent for ALL0256N and ALL5002
This allows them to transparently communicate with an external VLAN switch. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index d20b60af06..76c690198e 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -42,7 +42,10 @@ ramips_setup_interfaces()
case $board in
all0256n | \
- all5002 | \
+ all5002)
+ ucidef_set_interface_lan "eth0"
+ ;;
+
dir-615-h1 | \
wl-330n)
ucidef_set_interface_lan "eth0.1"