Fix sfdisk partition table restore.
This commit is contained in:
parent
7f2ed096d2
commit
0d7c185edc
@ -25,7 +25,7 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
echo;
|
echo;
|
||||||
echo "Restoring up partition table...";
|
echo "Restoring up partition table...";
|
||||||
sfdisk -d "/dev/$2" < "/mnt/tabls/$1.tbl";
|
sfdisk "/dev/$2" < "/mnt/tabls/$1.tbl";
|
||||||
rm -rf /tmp/a;
|
rm -rf /tmp/a;
|
||||||
echo "Finished!";
|
echo "Finished!";
|
||||||
exit 0;
|
exit 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user