aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc
diff options
context:
space:
mode:
authorPaul Wassi <p.wassi@gmx.at>2016-10-24 15:19:52 +0200
committerJohn Crispin <john@phrozen.org>2016-10-26 12:37:45 +0200
commitf6b5df44d99fa088a47e93f68d2d782046a3c859 (patch)
treed751946ce265092237dea5e25e27ad27cf96917c /target/linux/kirkwood/base-files/etc
parentfac018b25ef50fd3314908def962661737444425 (diff)
downloadupstream-f6b5df44d99fa088a47e93f68d2d782046a3c859.tar.gz
upstream-f6b5df44d99fa088a47e93f68d2d782046a3c859.tar.bz2
upstream-f6b5df44d99fa088a47e93f68d2d782046a3c859.zip
kirkwood: remove redundant code in etc/board.d/02_network
Remove redundant code: merge boards/cases that share the same network configuration. Also fix the alphabetical ordering of the cases. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target/linux/kirkwood/base-files/etc')
-rwxr-xr-xtarget/linux/kirkwood/base-files/etc/board.d/02_network15
1 files changed, 5 insertions, 10 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network
index 678fe99915..f91e8a3252 100755
--- a/target/linux/kirkwood/base-files/etc/board.d/02_network
+++ b/target/linux/kirkwood/base-files/etc/board.d/02_network
@@ -14,16 +14,15 @@ case "$board" in
"dockstar"|\
"goflexhome"|\
"goflexnet"|\
-"iconnect"|\
"ib62x0"|\
+"iconnect"|\
"nsa310s"|\
-"pogo_e02")
+"pogo_e02"|\
+"sheevaplug"|\
+"sheevaplug-esata")
ucidef_set_interface_lan "eth0" "dhcp"
;;
-"linksys-audi")
- ucidef_add_switch "switch0" \
- "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1"
- ;;
+"linksys-audi"|\
"linksys-viper")
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1"
@@ -31,10 +30,6 @@ case "$board" in
"guruplug-server-plus")
ucidef_set_interface_lan "eth0 eth1" "dhcp"
;;
-"sheevaplug" | \
-"sheevaplug-esata")
- ucidef_set_interface_lan "eth0" "dhcp"
- ;;
*)
ucidef_set_interface_lan "eth0"
;;