ramips: board.d merge redundant switch/interface configs
Fix alphabetical order distortions as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
64d72880bc
commit
0f6d0afa13
1 changed files with 6 additions and 11 deletions
|
@ -94,9 +94,12 @@ ramips_setup_interfaces()
|
||||||
wsr-600|\
|
wsr-600|\
|
||||||
wt1520|\
|
wt1520|\
|
||||||
y1|\
|
y1|\
|
||||||
|
youku-yk1|\
|
||||||
|
zbt-ape522ii|\
|
||||||
|
zbt-we826|\
|
||||||
zbt-wg2626|\
|
zbt-wg2626|\
|
||||||
zbt-wg3526|\
|
zbt-wg3526|\
|
||||||
youku-yk1)
|
zbt-wr8305rt)
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
|
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
|
||||||
;;
|
;;
|
||||||
|
@ -126,10 +129,10 @@ ramips_setup_interfaces()
|
||||||
gl-mt300n|\
|
gl-mt300n|\
|
||||||
gl-mt750|\
|
gl-mt750|\
|
||||||
hg255d|\
|
hg255d|\
|
||||||
mzk-wdpr|\
|
|
||||||
jhr-n805r|\
|
jhr-n805r|\
|
||||||
jhr-n825r|\
|
jhr-n825r|\
|
||||||
jhr-n926r|\
|
jhr-n926r|\
|
||||||
|
mzk-wdpr|\
|
||||||
rt-n14u|\
|
rt-n14u|\
|
||||||
ubnt-erx|\
|
ubnt-erx|\
|
||||||
ur-326n4g|\
|
ur-326n4g|\
|
||||||
|
@ -175,6 +178,7 @@ ramips_setup_interfaces()
|
||||||
mzk-ex750np|\
|
mzk-ex750np|\
|
||||||
na930|\
|
na930|\
|
||||||
wli-tx4-ag300n|\
|
wli-tx4-ag300n|\
|
||||||
|
wmr-300|\
|
||||||
wrh-300cr)
|
wrh-300cr)
|
||||||
ucidef_set_interface_lan "eth0"
|
ucidef_set_interface_lan "eth0"
|
||||||
;;
|
;;
|
||||||
|
@ -197,9 +201,6 @@ ramips_setup_interfaces()
|
||||||
wl-330n)
|
wl-330n)
|
||||||
ucidef_set_interface_lan "eth0.1"
|
ucidef_set_interface_lan "eth0.1"
|
||||||
;;
|
;;
|
||||||
wmr-300)
|
|
||||||
ucidef_set_interface_lan "eth0"
|
|
||||||
;;
|
|
||||||
mzk-dp150n|\
|
mzk-dp150n|\
|
||||||
vocore)
|
vocore)
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
|
@ -232,12 +233,6 @@ ramips_setup_interfaces()
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"1:lan" "2:lan" "0:wan" "6@eth0"
|
"1:lan" "2:lan" "0:wan" "6@eth0"
|
||||||
;;
|
;;
|
||||||
zbt-ape522ii|\
|
|
||||||
zbt-we826|\
|
|
||||||
zbt-wr8305rt)
|
|
||||||
ucidef_add_switch "switch0" \
|
|
||||||
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
|
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
|
||||||
if [ -n "${RT3X5X}" ]; then
|
if [ -n "${RT3X5X}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue