diff options
author | Dees_Troy <dees_troy@teamw.in> | 2012-09-27 21:00:27 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2012-09-27 21:00:27 +0200 |
commit | 22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00 (patch) | |
tree | 05e71ad60192dc4d61a299562f6d189c4d8c360d /prebuilt/fs | |
parent | Update sdcard partitioning to C++ (diff) | |
download | android_bootable_recovery-22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00.tar android_bootable_recovery-22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00.tar.gz android_bootable_recovery-22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00.tar.bz2 android_bootable_recovery-22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00.tar.lz android_bootable_recovery-22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00.tar.xz android_bootable_recovery-22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00.tar.zst android_bootable_recovery-22ad2cc9f7d92f9a8b20f33e4082c3d6af4dcb00.zip |
Diffstat (limited to '')
-rw-r--r-- | prebuilt/fs | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/prebuilt/fs b/prebuilt/fs deleted file mode 100644 index 3092efe2a..000000000 --- a/prebuilt/fs +++ /dev/null @@ -1,46 +0,0 @@ -#!/sbin/sh - -um -if [ $? != "0" ]; then - echo "Unable to unmount!" - exit 1 -fi - - -case $1 in - repair) - if [ -e /dev/block/mmcblk0p2 ]; then - - e2fsck -yf /dev/block/mmcblk0p2 - else - echo "No ext partition found!" - exit 1 - fi - exit 0 - ;; - ext3) - if [ -e /dev/block/mmcblk0p2 ]; then - - e2fsck -yf /dev/block/mmcblk0p2 - tune2fs -c0 -i0 -j /dev/block/mmcblk0p2 - else - echo "No ext partition found!" - exit 1 - fi - exit 0 - ;; - ext4) - if [ -e /dev/block/mmcblk0p2 ]; then - - tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2 - e2fsck -fpDC0 /dev/block/mmcblk0p2 - else - echo "No ext partition found!" - exit 1 - fi - exit 0 - ;; - --) - exit 0 - ;; -esac |