aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDENG Qingfang <dqfext@gmail.com>2021-06-23 23:37:25 +0800
committerDaniel Golle <daniel@makrotopia.org>2021-07-23 02:52:02 +0100
commit6dc18649a013151f226c9a362e5060c703b6c642 (patch)
tree2d930263458c3140010766d3e32c0b216d4393ab /target
parentf7374bce00a97fda78ace3acaef48369e8246814 (diff)
downloadupstream-6dc18649a013151f226c9a362e5060c703b6c642.tar.gz
upstream-6dc18649a013151f226c9a362e5060c703b6c642.tar.bz2
upstream-6dc18649a013151f226c9a362e5060c703b6c642.zip
ramips: mt7621: remove bring up DSA master init script
With commit 2e17c710954b, there is no need to bring up DSA master port manually. Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master20
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master b/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master
deleted file mode 100644
index 0f4660d242..0000000000
--- a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master
+++ /dev/null
@@ -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 \ No newline at end of file