[OpenWrt-Devel] [PATCH] octeon: remove redundant network setup

Adrian Schmutzler freifunk at adrianschmutzler.de
Fri Jan 17 20:17:28 EST 2020


No need to have specific setup when default case does the same.

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/octeon/base-files/etc/board.d/01_network | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/target/linux/octeon/base-files/etc/board.d/01_network b/target/linux/octeon/base-files/etc/board.d/01_network
index 79e508955e..f5c8175c54 100755
--- a/target/linux/octeon/base-files/etc/board.d/01_network
+++ b/target/linux/octeon/base-files/etc/board.d/01_network
@@ -8,10 +8,6 @@
 board_config_update
 
 case "$(board_name)" in
-erlite)
-	ucidef_set_interfaces_lan_wan "eth0" "eth1"
-	;;
-
 *)
 	ucidef_set_interfaces_lan_wan "eth0" "eth1"
 	;;
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list