summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:43:52 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-07 21:43:52 +0000
commit15334c9058b6e0e02a202ddb89fc143ea358960b (patch)
tree1888dd3e9a1ba630c05b560defa0a5a5b3e7d369 /target/linux/ar71xx/base-files/etc/uci-defaults
parent7a36f263beb1cfbd732e1f40e5e8ff8d5bb1f721 (diff)
ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with a single ethernet interface. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28818 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network10
1 files changed, 10 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 0a355eaf0..dd2eeba5b 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -55,6 +55,16 @@ set_interface_loopback
board=$(ar71xx_board_name)
case "$board" in
+aw-nr580 |\
+bullet-m |\
+eap7660d |\
+rb-411 |\
+tl-wa901nd-v2 |\
+tl-wr703n |\
+wp543)
+ set_interface_lan "eth0"
+ ;;
+
*)
set_interfaces_lan_wan "eth0" "eth1"
;;