add file fdisk_template
This commit is contained in:
parent
cc2a450c89
commit
6063a4d650
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user