aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
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 /package/base-files/files/lib
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 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index c375b70742..2eb26ba44b 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -126,10 +126,6 @@ export_bootdevice() {
if read cmdline < /proc/cmdline; then
case "$cmdline" in
- *block2mtd=*)
- bootdisk="${cmdline##*block2mtd=}"
- bootdisk="${bootdisk%%,*}"
- ;;
*root=*)
rootpart="${cmdline##*root=}"
rootpart="${rootpart%% *}"