aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-03-20 22:46:18 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-03-20 22:46:18 +0000
commita51ffcc1d118890228c95bc8c552a49fd5a676d2 (patch)
tree00822e9e3b883248decfd0304c518fffa5f80b49 /target/linux/sunxi
parent73f14ca63b52df6507a91d8d09ad5f26584180a2 (diff)
downloadupstream-a51ffcc1d118890228c95bc8c552a49fd5a676d2.tar.gz
upstream-a51ffcc1d118890228c95bc8c552a49fd5a676d2.tar.bz2
upstream-a51ffcc1d118890228c95bc8c552a49fd5a676d2.zip
sunxi: init eth0 as lan instead of wan, add a couple boards
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39973
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r--target/linux/sunxi/base-files/etc/uci-defaults/02_network6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/sunxi/base-files/etc/uci-defaults/02_network b/target/linux/sunxi/base-files/etc/uci-defaults/02_network
index 48781e5e00..2f9ca712c6 100644
--- a/target/linux/sunxi/base-files/etc/uci-defaults/02_network
+++ b/target/linux/sunxi/base-files/etc/uci-defaults/02_network
@@ -12,8 +12,10 @@ touch /etc/config/network
ucidef_set_interface_loopback
case "`cat /proc/device-tree/model`" in
-"Cubietech Cubieboard")
- ucidef_set_interface_wan 'eth0'
+"Cubietech Cubieboard" |\
+"Cubietech Cubieboard2" |\
+"Olimex A20-Olinuxino Micro")
+ ucidef_set_interface_lan 'eth0'
;;
esac