mirror of https://github.com/hak5/openwrt-owl.git
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: 39973owl
parent
73f14ca63b
commit
a51ffcc1d1
|
@ -12,8 +12,10 @@ touch /etc/config/network
|
||||||
ucidef_set_interface_loopback
|
ucidef_set_interface_loopback
|
||||||
|
|
||||||
case "`cat /proc/device-tree/model`" in
|
case "`cat /proc/device-tree/model`" in
|
||||||
"Cubietech Cubieboard")
|
"Cubietech Cubieboard" |\
|
||||||
ucidef_set_interface_wan 'eth0'
|
"Cubietech Cubieboard2" |\
|
||||||
|
"Olimex A20-Olinuxino Micro")
|
||||||
|
ucidef_set_interface_lan 'eth0'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue