diff options
author | soumenganguly | 2015-04-13 11:44:15 +0530 |
---|---|---|
committer | soumenganguly | 2015-04-13 11:44:15 +0530 |
commit | 44e300c231f890c39b63ab186ba6f4e6b46af758 (patch) | |
tree | c70fbc1a3f40206522115c0e1f93a7a902581aa0 | |
parent | 36d8912821052340d0e647fab0010d01a3bd315b (diff) | |
download | FOSSEE-netbook-tools-44e300c231f890c39b63ab186ba6f4e6b46af758.tar.gz FOSSEE-netbook-tools-44e300c231f890c39b63ab186ba6f4e6b46af758.tar.bz2 FOSSEE-netbook-tools-44e300c231f890c39b63ab186ba6f4e6b46af758.zip |
Uncommented the mounting of SD card part
-rw-r--r-- | backup-restore-tool/recovery.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/backup-restore-tool/recovery.sh b/backup-restore-tool/recovery.sh index 2131c95..618d753 100644 --- a/backup-restore-tool/recovery.sh +++ b/backup-restore-tool/recovery.sh @@ -11,7 +11,7 @@ ramdisk_image=/sd_card/initrd.img #This is the recovery script used to re-install or recover the FOSSEE-OS. -#This is initial function which is called, also this is the first screen that comes up in this process. +#This is the initial function which is called, also this is the first screen that comes up in this process. #Seq-1 image() { @@ -85,9 +85,10 @@ installation() echo -e "\t\tThe installation is underway, do not exit..." # exit 0 mkdir $ubuntu_dir - - mkdir /sd_card - mount /dev/mmcblk0p1 /sd_card + + # This part is taken care of in lib/debian-installer/menu file. + # mkdir /sd_card + # mount /dev/mmcblk0p1 /sd_card if [ $(echo $?) -eq 0 ]; then flash_erase $rootfs_part 0 0 > /dev/null @@ -136,8 +137,8 @@ echo "" echo "" echo -e "\t\tTrying to access previous installation" printf "\t\tMounting SD card" -mkdir /sd_card -mount /dev/mmcblk0p1 /sd_card +#mkdir /sd_card +#mount /dev/mmcblk0p1 /sd_card for i in `seq 1 2` do printf "." |