mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
84adbfe049
commit
e2341f8361
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user