aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-10-17 11:15:32 +0200
committerFelix Fietkau <nbd@nbd.name>2020-10-17 16:43:17 +0200
commit4a0688ed71532a3dd68907f5603177d970e4ec03 (patch)
treee8d75e9901fb0803dd728fc8264a7bc57b6711cd /target
parent93f98b283553af9f354b396bc8bb91ca791cc566 (diff)
downloadupstream-4a0688ed71532a3dd68907f5603177d970e4ec03.tar.gz
upstream-4a0688ed71532a3dd68907f5603177d970e4ec03.tar.bz2
upstream-4a0688ed71532a3dd68907f5603177d970e4ec03.zip
base-files: remove block2mtd checks from sysupgrade
This hasn't been used in a long time Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/octeon/base-files/lib/upgrade/platform.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh
index d938950906..33a9931263 100755
--- a/target/linux/octeon/base-files/lib/upgrade/platform.sh
+++ b/target/linux/octeon/base-files/lib/upgrade/platform.sh
@@ -7,10 +7,6 @@ platform_get_rootfs() {
if read cmdline < /proc/cmdline; then
case "$cmdline" in
- *block2mtd=*)
- rootfsdev="${cmdline##*block2mtd=}"
- rootfsdev="${rootfsdev%%,*}"
- ;;
*root=*)
rootfsdev="${cmdline##*root=}"
rootfsdev="${rootfsdev%% *}"