diskman.sh: typoes

This commit is contained in:
2022-01-27 20:13:18 +01:00
parent 94b45fde16
commit dece6d9c92

View File

@@ -65,7 +65,7 @@ mkparts()
local tmpfile=$(mktemp sfd.XXXX)
if [[ -n $1 ]]; then
# For each given size we make a partition
for $part in $@; then
for $part in $@; do
if [[ $part == 0 ]]; then
echo ",,L" >> $tmpfile
else
@@ -74,7 +74,7 @@ mkparts()
done
else
echo ",,L" >> $tmpfile
done
fi
echo "write" >> $tmpfile
sfdisk "/dev/$device" < $tmpfile
rm $tmpfile
@@ -89,13 +89,13 @@ mkparts()
# ------------------------------------------------------------------------------
conf_ext4()
{
# Todo
: # Todo
}
# ------------------------------------------------------------------------------
conf_xfs()
{
# todo
: # todo
}
# EOF