소스 검색

sunxi: init eth0 as lan instead of wan, add a couple boards

Signed-off-by: Alexander Couzens <[email protected]>
Signed-off-by: Zoltan HERPAI <[email protected]>

SVN-Revision: 39973
Zoltan Herpai 11 년 전
부모
커밋
a51ffcc1d1
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      target/linux/sunxi/base-files/etc/uci-defaults/02_network

+ 4 - 2
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