Remove recovery.txt in recovery mode
This commit is contained in:
parent
6d27c36b65
commit
6b588758ac
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/dev/block/mmcblk0p1 /bootloader vfat rw,umask=0077 wait
|
||||
/dev/block/mmcblk0p1 /bootloader vfat rw,umask=0077,sync wait
|
||||
/dev/block/mmcblk0p2 /system ext4 ro,barrier=1 wait
|
||||
/dev/block/mmcblk0p3 /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
/dev/block/mmcblk0p4 /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check
|
||||
|
|
|
@ -9,7 +9,11 @@ on init
|
|||
insmod /hdmi.ko
|
||||
|
||||
mkdir /extsd
|
||||
|
||||
# mount bootloader partition and remove recovery.txt marker
|
||||
mkdir /bootloader
|
||||
mount vfat /dev/block/mmcblk0p1 /bootloader rw wait
|
||||
rm /bootloader/recovery.txt
|
||||
|
||||
service console /sbin/busybox sh
|
||||
class core
|
||||
|
|
Loading…
Reference in a new issue