mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-12 18:15:01 +02:00
ramips: fix network configuration setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29448 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
baf6222ae5
commit
8b0e381068
@ -53,7 +53,7 @@ ramips_setup_interfaces()
|
|||||||
b2c | \
|
b2c | \
|
||||||
f5d8235-v2 | \
|
f5d8235-v2 | \
|
||||||
nw718)
|
nw718)
|
||||||
ucidef_set_interfaces_lan_wan "eth0.1 eth0.2"
|
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
rt-n15)
|
rt-n15)
|
||||||
@ -66,9 +66,9 @@ ramips_setup_interfaces()
|
|||||||
*)
|
*)
|
||||||
RT3X5X=`cat /proc/cpuinfo | grep RT3.5`
|
RT3X5X=`cat /proc/cpuinfo | grep RT3.5`
|
||||||
if [ -n "${RT3X5X}" ]; then
|
if [ -n "${RT3X5X}" ]; then
|
||||||
ucidef_set_interfaces_lan_wan "eth0.1 eth0.2"
|
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||||
else
|
else
|
||||||
ucidef_set_interfaces_lan_wan "eth0 eth1"
|
ucidef_set_interfaces_lan_wan "eth0" "eth1"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user