add file fdisk_template

This commit is contained in:
Filippo Bedendo Bordon 2011-10-28 23:07:07 +02:00
parent cc2a450c89
commit 6063a4d650

View File

@ -22,7 +22,7 @@ inst_dev_umount()
#2 Crea la partizione
inst_new_part()
{
sudo fdisk $1 <./.fdisk_template
sudo fdisk $1 <./fdisk_template
}
#3 Formatta la partizione (e la monta)
@ -73,6 +73,7 @@ inst_dir_umount()
# So it attend up to umount return without errors
while [ 1 ] ; do
sleep 1
sudo umount ${1}1
if [ $? != 1 ]; then
break