projects
/
openwrt
/
staging
/
noltari.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
base-files: remove block2mtd checks from sysupgrade
[openwrt/staging/noltari.git]
/
package
/
base-files
/
files
/
lib
/
upgrade
/
common.sh
diff --git
a/package/base-files/files/lib/upgrade/common.sh
b/package/base-files/files/lib/upgrade/common.sh
index c375b707427e204b7bdcca74f73a8c01a3d9db74..2eb26ba44b05338418c921c959db14b32b41025d 100644
(file)
--- 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%% *}"