diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-10-17 11:15:32 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-10-17 16:43:17 +0200 |
commit | 4a0688ed71532a3dd68907f5603177d970e4ec03 (patch) | |
tree | e8d75e9901fb0803dd728fc8264a7bc57b6711cd /package | |
parent | 93f98b283553af9f354b396bc8bb91ca791cc566 (diff) | |
download | upstream-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')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 4 |
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%% *}" |