diskman.sh: typoes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user