# reboot and retry
/bin/sync
/sbin/reboot
- fi
+ fisp
}
# mount and umount partitions
fs_ready() {
-# data in microsd should be preserved.
+# data in microsd and usb(otg) storage should be preserved.
/bin/umount -lf ${OPT}/storage/sdcard
+ /bin/umount -lf ${OPT}/media/*
#for encryption. If encrypted, it is mounted one more time as encryptfs.
/bin/umount -lf ${OPT}/storage/sdcard
+ /bin/umount -lf ${OPT}/media/*
# modem binary images should be preserved.
/bin/umount -lf ${OPT}/modem
# phone usr partition should be reset