|
@@ -34,14 +34,8 @@ ui_print "Mounting /system"
|
|
|
if mount /system; then
|
|
|
ui_print "/system mounted"
|
|
|
else
|
|
|
- # Try to get the block from /etc/recovery.fstab
|
|
|
- block=`cat /etc/recovery.fstab | cut -d '#' -f 1 | grep /system | grep -o '/dev/[^ ]*' | head -1`
|
|
|
- if [ -n "$block" ] && mount $block /system; then
|
|
|
- ui_print "Could not mount /system! Aborting"
|
|
|
- exit 1
|
|
|
- else
|
|
|
- ui_print "/system mounted"
|
|
|
- fi
|
|
|
+ ui_print "Could not mount /system! Aborting"
|
|
|
+ exit 1
|
|
|
fi
|
|
|
|
|
|
if [ -f /system/bin/toybox ]; then
|