mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
ramips: fix network configuration setup
SVN-Revision: 29448
This commit is contained in:
parent
4dc9092f4b
commit
b1137d48a4
@ -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…
x
Reference in New Issue
Block a user