mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-20 11:39:02 +00:00
base-files: remove block2mtd checks from sysupgrade
This hasn't been used in a long time Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
93f98b2835
commit
4a0688ed71
@ -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%% *}"
|
||||
|
@ -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%% *}"
|
||||
|
Loading…
Reference in New Issue
Block a user