ramips: mt7621: remove bring up DSA master init script

With commit 2e17c71095, there is no need to bring up DSA master port
manually.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
This commit is contained in:
DENG Qingfang 2021-06-23 23:37:25 +08:00 committed by Daniel Golle
parent f7374bce00
commit 6dc18649a0

View File

@ -1,20 +0,0 @@
. /lib/functions.sh
mt7621_bringup_dsa_master() {
local board=$(board_name)
local masterif
case "$board" in
ubnt,edgerouter-x|\
ubnt,edgerouter-x-sfp)
masterif="dsa"
;;
*)
masterif="eth0"
;;
esac
ip link set $masterif up
}
boot_hook_add preinit_main mt7621_bringup_dsa_master