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:
parent
f7374bce00
commit
6dc18649a0
1 changed files with 0 additions and 20 deletions
|
@ -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
|
|
Loading…
Reference in a new issue