summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults/network
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:43:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:43:54 +0000
commit08c0787d7926f901689c4932a988519a961aea97 (patch)
tree263925c84d1f1ee4d39eb422dbe68846fd724155 /target/linux/ar71xx/base-files/etc/uci-defaults/network
parent15334c9058b6e0e02a202ddb89fc143ea358960b (diff)
ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with swapped eth0, eth1 interfaces. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28819 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/network')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index dd2eeba5b..63efc88de 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -65,6 +65,14 @@ wp543)
set_interface_lan "eth0"
;;
+ap83 |\
+jwap003 |\
+pb42 |\
+pb44 |\
+routerstation)
+ set_interfaces_lan_wan "eth1" "eth0"
+ ;;
+
*)
set_interfaces_lan_wan "eth0" "eth1"
;;