diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2014-03-20 22:46:18 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2014-03-20 22:46:18 +0000 |
commit | e2341f8361eeef035b2627a5b5e20fc91ac08e6d (patch) | |
tree | 38b0f6d44f533237e2d4080d29a5e030795b0bd7 | |
parent | 84adbfe049ba253de133f4e964de8e16da139e3d (diff) | |
download | upstream-e2341f8361eeef035b2627a5b5e20fc91ac08e6d.tar.gz upstream-e2341f8361eeef035b2627a5b5e20fc91ac08e6d.tar.bz2 upstream-e2341f8361eeef035b2627a5b5e20fc91ac08e6d.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39973 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/sunxi/base-files/etc/uci-defaults/02_network | 6 |
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 |